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]> 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] > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm > an/listinfo/snapcraft >
-- Snapcraft mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
