On Sun, Aug 25, 2019 at 9:10 AM The Bit Pit <[email protected]> wrote:
>
>
> On 8/24/19 5:11 PM, Mike Gilbert wrote:
> > On Sat, Aug 24, 2019 at 5:28 PM The Bit Pit <[email protected]> wrote:
> >> Group is not needed.  mythtv uses the video group.  This is already in my 
> >> pull request #12763 to bump to version 30.0 patch.  I added myself as 
> >> proxy maintainer to acct-user/mythtv
> > I assume it is in the video group so that it can access device nodes in 
> > /dev?
> That is correct.
>
> mythtv also creates and displays many video files shared with other
> applications.  I thought the "video" group was a way to permit that. Is
> there a  better way than putting them in the "video" group?

The video group is primarily used by udev to grant access to graphics
hardware. Using the video group to control access to video recording
files seems wrong to me.

If you need a common group to allow access to files shared among
several applications, you should probably create a separate group for
that.

> >
> > It might be a nice idea to give it its own primary group id, This
> > ensures that files it creates will not be automatically exposed to any
> > other random users that are members of the "video" group. You can add
> > it to as many supplementary groups as you need.
> >
> >> I need you to create a acct-group/uucp as it is not in the tree yet.
> > Please note that recent versions of udev/systemd use the "dialout"
> > group for serial devices instead of the old "uucp" group. You might
> > want to just switch over to that.
> >
> >
> I agree and withdraw my request for "uucp" group.  It is in out of date
> mythtv documentation and the previous ebuild.
>
> Should I check the use flags for flags enabling support for devices
> needing "dialout" group and modify the installed mythtv user rather than
> including group "dialout"  in the "acct-user/mythtv" package?

I'm not sure it would be appropriate to modify the group membership of
the mythtv user within the media-tv/mythtv ebuild.

Maybe you could add USE flags to control group membership in the
acct-user/mythtv ebuild. You could then depend on these USE flags
withing the media-tv/mythtv ebuild as needed.

Or maybe I'm over-complicating this; opinions welcome.

Reply via email to