Our general thinking is that we will maintain a standard list of those, and approve user creation for specific snaps. Would you be willing to go with _avahi and _lp and _lpadmin? Backward-looking names might get grandfathered, but we'd prefer newer software to use a qualifier like _ to disambiguate such system users from end users.
Mark On 02/02/17 08:36, Simon Fels wrote: > Hey Till, > > That is (as far as I know) not possible today. Those groups and users > have to exist beforehand. A similar problem also exists for LXD. There > is a bug at https://bugs.launchpad.net/snappy/+bug/1606510 which has a > few more details. > > regards, > Simon > > On Wed, Feb 1, 2017 at 9:56 PM, Till Kamppeter > <[email protected] <mailto:[email protected]>> wrote: > > Hi, > > I want to snap CUPS and for that also to snap avahi-daemon. > > A problem I am running into is that these services use special > system users and groups. avahi-daemon uses the user "avahi" and > CUPS uses the user "lp", and the groups "lp" and "lpadmin". > > How can I make my snap create such users and groups on install and > remove them on uninstall? > > Till > > -- > Snapcraft mailing list > [email protected] <mailto:[email protected]> > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/snapcraft > <https://lists.ubuntu.com/mailman/listinfo/snapcraft> > > > >
-- Snapcraft mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
