Re: Re: the audio group

2014-08-18 Thread Christian PERRIER
Quoting Joey Hess (jo...@debian.org): > user-setup-apply is run in finish-install, so it can check if systemd is > installed or not. Interesting suggestion, yes. > > The only downsides I see: > > * Still need to add the groups in non-systemd installations, eg freebsd, > so this will be an po

Re: Re: the audio group

2014-08-18 Thread Joey Hess
user-setup-apply is run in finish-install, so it can check if systemd is installed or not. The only downsides I see: * Still need to add the groups in non-systemd installations, eg freebsd, so this will be an point of difference that will need testing. * If a user chooses to remove systemd afte

Re: Re: the audio group

2014-08-18 Thread Christian PERRIER
Quoting Steve McIntyre (st...@einval.com): > On Mon, Aug 18, 2014 at 03:24:50PM +0200, Floris wrote: > >>which is fine. > >> > >>But what if people decide to later not use logind/systemd? In what > >>does it hurt that the first created user is *also* added to the audio > >>group? > > > >When a

Re: Re: the audio group

2014-08-18 Thread Hendrik Boom
On Mon, Aug 18, 2014 at 05:20:19PM +0200, Floris wrote: > > how about users who will login remotely? They also have full access to > all the audio devices, even when they don't able to hear the music, > because the speaker is on the other side of the world. Remote login might be from a computer t

Re: Re: the audio group

2014-08-18 Thread Floris
Op Mon, 18 Aug 2014 15:52:34 +0200 schreef Steve McIntyre : On Mon, Aug 18, 2014 at 03:24:50PM +0200, Floris wrote: which is fine. But what if people decide to later not use logind/systemd? In what does it hurt that the first created user is *also* added to the audio group? When a user

Re: Re: the audio group

2014-08-18 Thread Lennart Sorensen
On Mon, Aug 18, 2014 at 10:22:16AM -0400, Lennart Sorensen wrote: > That sure sounds likely. > > Perhaps there can be a README.multiseat in the systemd package that > explains what changes to make for such a setup. > > Just because systemd is default doesn't mean everything else should > stop wor

Re: Re: the audio group

2014-08-18 Thread Lennart Sorensen
On Mon, Aug 18, 2014 at 02:52:34PM +0100, Steve McIntyre wrote: > And if we ignore the multi-seat stuff (which is going to be used by a > *tiny* minority of users) there is no down-side. > > There are still likely going to be vastly more non-systemd users than > multi-seat users. That sure sounds

Re: Re: the audio group

2014-08-18 Thread Steve McIntyre
On Mon, Aug 18, 2014 at 03:24:50PM +0200, Floris wrote: >>which is fine. >> >>But what if people decide to later not use logind/systemd? In what >>does it hurt that the first created user is *also* added to the audio >>group? > >When a user is added to the audio group. He will always see all so

Re: Re: the audio group

2014-08-18 Thread Floris
which is fine. But what if people decide to later not use logind/systemd? In what does it hurt that the first created user is *also* added to the audio group? When a user is added to the audio group. He will always see all sound devices, even when logind tries to hide the device from the

Re: the audio group

2014-08-17 Thread Christian PERRIER
Quoting Floris (jkflo...@dds.nl): > The right permissions are set by logind through modifying the ACL. > > $ getfacl /dev/snd/controlC3 > # file: dev/snd/controlC3 > # owner: root > # group: audio > user::rw- > user:floris:rw- # This line makes sure I can access the device. > group::rw- > mask:

Re: Re: the audio group

2014-08-17 Thread Floris
Adding the first user to group audio shouldn't break any ACL management that is done by systemd-logind. logind hide/ show the audio device from the user trough the ACL. The audio group will always show all audio devices. I think these two settings are conflicting. floris -- To UNSUBSCRIBE, e

Re: the audio group

2014-08-17 Thread Floris
Op Sun, 17 Aug 2014 17:07:02 +0200 schreef Lennart Sorensen : On Fri, Aug 15, 2014 at 11:54:17PM +0200, Floris wrote: Can you explain what would break? Pulseaudio doesn't need/ works without the audio group. The pulseaudio mailing list [1] explains: I tend to have to kill pulseaudio to get so

Re: the audio group

2014-08-17 Thread Lennart Sorensen
On Fri, Aug 15, 2014 at 11:54:17PM +0200, Floris wrote: > Can you explain what would break? Pulseaudio doesn't need/ works > without the audio group. > The pulseaudio mailing list [1] explains: I tend to have to kill pulseaudio to get sound working. If my user isn't in the audio group, how do my

Re: Re: the audio group

2014-08-17 Thread Michael Biebl
Adding the first user to group audio shouldn't break any ACL management that is done by systemd-logind. It just means, the first user *always* has access to the audio device, no matter if his session is marked active for he is logged in locally. So he get's access even when e.g. logged in remotel

Re: the audio group

2014-08-16 Thread Floris
with systemd as the default init system. systemd/ logind sets the right permissions for the sound devices [1], so I think it is unnecessary to add somebody to the audio group. (And missing all the "fancy stuff" systemd brings to us.) I don't think you have explained why having the first user

Re: the audio group

2014-08-16 Thread Floris
Op Sun, 17 Aug 2014 00:45:15 +0200 schreef Cyril Brulebois : Floris (2014-08-17): Op Sat, 16 Aug 2014 08:55:27 +0200 schreef Christian PERRIER : > >In short, yes, the first created user (the only one created by D-I) is >added to the "audio" group, among a few others. > > with systemd as th

Re: the audio group

2014-08-16 Thread Cyril Brulebois
Floris (2014-08-17): > Op Sat, 16 Aug 2014 08:55:27 +0200 schreef Christian PERRIER > : > > > > >In short, yes, the first created user (the only one created by D-I) is > >added to the "audio" group, among a few others. > > > > > > with systemd as the default init system. systemd/ logind sets the

Re: the audio group

2014-08-16 Thread Floris
Op Sat, 16 Aug 2014 08:55:27 +0200 schreef Christian PERRIER : In short, yes, the first created user (the only one created by D-I) is added to the "audio" group, among a few others. with systemd as the default init system. systemd/ logind sets the right permissions for the sound devices [

Re: the audio group

2014-08-15 Thread Christian PERRIER
(no Cc: to answers, please) Quoting Floris (jkflo...@dds.nl): > Dear Debian installation system Maintainers, > > I was wondering if a user is still automatically added to the audio group? > Because it will break a systemd-pulseaudio-multiseat setup. From user-setup code (in user-setup-apply):

Re: the audio group

2014-08-15 Thread Floris
Op Fri, 15 Aug 2014 21:35:09 +0200 schreef Lennart Sorensen : On Fri, Aug 15, 2014 at 08:59:37PM +0200, Floris wrote: Dear Debian installation system Maintainers, I was wondering if a user is still automatically added to the audio group? Because it will break a systemd-pulseaudio-multisea

Re: the audio group

2014-08-15 Thread Lennart Sorensen
On Fri, Aug 15, 2014 at 08:59:37PM +0200, Floris wrote: > Dear Debian installation system Maintainers, > > I was wondering if a user is still automatically added to the audio group? > Because it will break a systemd-pulseaudio-multiseat setup. I thought it was still done. And not doing it seems