Skip to content

Add airplanes-feed to video group so vcgencmd reads /dev/vchiq#82

Merged
d4rken merged 1 commit into
devfrom
fix/airplanes-feed-video-group
May 14, 2026
Merged

Add airplanes-feed to video group so vcgencmd reads /dev/vchiq#82
d4rken merged 1 commit into
devfrom
fix/airplanes-feed-video-group

Conversation

@d4rken

@d4rken d4rken commented May 14, 2026

Copy link
Copy Markdown
Member

The airplanes-feed user runs airplanes-diagnostics.service, which calls vcgencmd get_throttled to populate the pi_health.throttle block in the diagnostics push. /dev/vchiq is owned root:video, so without supplementary group membership the call silently fails and the eight throttle keys come through null.

ensure_airplanes_feed_account now adds the user to the video group during account setup, gated on both vcgencmd being installed and the video group existing. The cascade and idempotence guards mirror the existing daemon-group repair path. No-op on hosts without raspi-utils.

airplanes-diagnostics.service runs as airplanes-feed and calls vcgencmd get_throttled to populate the pi_health.throttle keys. /dev/vchiq is root:video, so without supplementary membership the call silently fails and the keys come through null. Gate on vcgencmd presence + video group existence so the membership lands only where it will be used.
@d4rken d4rken merged commit 56d6787 into dev May 14, 2026
12 checks passed
@d4rken d4rken deleted the fix/airplanes-feed-video-group branch May 14, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant