Sunday 12 August 2018

Re: Globally refreshing new group membership - would be needed after some package installations



On Fri, Aug 3, 2018 at 3:28 PM Robie Basak <robie.basak@ubuntu.com> wrote:
On Fri, Aug 03, 2018 at 12:13:15PM +0100, Robie Basak wrote:
> Yeah, so for example starting virt-manager from the desktop shell will
> continue to be a problem until the next login session.

Actually, now that I think about it, we could adjust the desktop file to
use a wrapper there also.

We will have a discussion on the sprint, but in some experiments I found why I think this is no (good) solution.

The reason is that the fix is not bound to the place of the issue.
Take the libvirt example which would make some users member of group libvirt on install.
- The trigger is in installing libvirt package
- But the fix would be in virt-manager, uvtool, ... how many more?
- People might wonder why one works but not the other

The lack of a better solution might make us use it in some places (Those that matter to users most) still, but I wanted to put words to my concerns :-)


--
Christian Ehrhardt
Software Engineer, Ubuntu Server
Canonical Ltd