<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
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.<br>
<br>
Mark<br>
<br>
On 02/02/17 08:36, Simon Fels wrote:<br>
</div>
<blockquote
cite="mid:CAC8NrMzd8tfZStb43-RgqkcBeD52X9ZXU7oFKARQrH7mOQj2Jw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hey Till,</div>
<div><br>
</div>
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 <a moz-do-not-send="true"
href="https://bugs.launchpad.net/snappy/+bug/1606510">https://bugs.launchpad.net/snappy/+bug/1606510</a>
which has a few more details.
<div><br>
</div>
<div>regards,</div>
<div>Simon</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Feb 1, 2017 at 9:56 PM, Till
Kamppeter <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:till.kamppeter@gmail.com" target="_blank">till.kamppeter@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I want to snap CUPS and for that also to snap avahi-daemon.<br>
<br>
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".<br>
<br>
How can I make my snap create such users and groups on
install and remove them on uninstall?<span class="HOEnZb"><font
color="#888888"><br>
<br>
Till<br>
<br>
-- <br>
Snapcraft mailing list<br>
<a moz-do-not-send="true"
href="mailto:Snapcraft@lists.snapcraft.io"
target="_blank">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a
moz-do-not-send="true"
href="https://lists.ubuntu.com/mailman/listinfo/snapcraft"
rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailm<wbr>an/listinfo/snapcraft</a><br>
</font></span></blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<p><br>
</p>
</body>
</html>