[systemd-bugs] [Bug 78390] New: PermissionsStartOnly doesn't run ExecStartPre if the User specified in the unit doesn't exist
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed May 7 06:10:07 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=78390
Priority: medium
Bug ID: 78390
Assignee: systemd-bugs at lists.freedesktop.org
Summary: PermissionsStartOnly doesn't run ExecStartPre if the
User specified in the unit doesn't exist
QA Contact: systemd-bugs at lists.freedesktop.org
Severity: enhancement
Classification: Unclassified
OS: All
Reporter: bogdan_radulescu99 at yahoo.com
Hardware: All
Status: NEW
Version: unspecified
Component: general
Product: systemd
It is not possible to add a user when starting a unit file with
ExecStartPre=/usr/sbin/useradd testuser
even if PermissionsStartOnly=true is used because the unit doesn't seem to
execute anything unless the User exists.
I think it would be more flexible if before checking for the user it executed
ExecStartPre when PermissionsStartOnly=true is present.
--
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/20140507/f73490e6/attachment.html>
More information about the systemd-bugs
mailing list