On Thu, Apr 24, 2025 at 02:13:30PM -0000, Martin Gansser wrote: > is it possible for the user “%{vdr_user}” to be a member of the group audio, > cdrom and dialout ? > > # Create a sysusers.d config file > cat >vdr.sysusers.conf <<EOF > #Type Name ID GECOS Home directory > Shell > u %{vdr_user} 500-1000 "Video Disk Recorder" /sbin/nologin > /var/lib/vdr audio cdrom dialout
This one is tricky. Somehow I missed this package when doing the mass conversion. I now filed https://src.fedoraproject.org/rpms/vdr/pull-request/1 with a sysusers file and another cleanup. For anyone interested, the correct for here is: u vdr -:%{vdr_group} 'Video Disk Recorder' %{vardir} - m vdr audio m vdr cdrom m vdr dialout The group specification in this form makes systemd-sysusers not create a group for the user ('vdr'), but instead require a preexisting %{vdr_group}. %{vdr_group} evaluates to 'video', and 'video','cdrom','audio', and 'dialout' are created by filesystem.rpm. Zbyszek -- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue