[systemd-bugs] [Bug 71578] status=217/USER for service with dash in USER

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 31 19:56:41 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=71578

--- Comment #5 from Zbigniew Jedrzejewski-Szmek <zbyszek at in.waw.pl> ---
(In reply to Sergey Zolotorev from comment #4)
> It looks like you can not create user "foo.bar" anymore... But now you (with
> systemd) you can not create use user "foo-bar" too. =)
For the sake of people who stumble upon this bug report:
tl;dr: There's no problem with using a user name with a dash.

When specified directly (e.g. User=test-user) there's no issue.

When specifying the name as the instance argument, User=%i must be used, and
User=%I does not work because dashes are "unescaped" to slashes (as was
explained in https://bugs.archlinux.org/task/37755).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150101/de840a8b/attachment.html>


More information about the systemd-bugs mailing list