Creating system users and system groups

Simon Fels simon.fels at canonical.com
Thu Feb 2 08:36:09 UTC 2017


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 <till.kamppeter at gmail.com>
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
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/snapcraft
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170202/2d03457d/attachment.html>


More information about the Snapcraft mailing list