[systemd-bugs] [Bug 66641] PID file /var/run/program.pid not readable (yet?) after start. PIDFile + User&Group

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jul 6 05:42:35 PDT 2013


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

Zbigniew Jedrzejewski-Szmek <zbyszek at in.waw.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #1 from Zbigniew Jedrzejewski-Szmek <zbyszek at in.waw.pl> ---
If running a program as unprivileged user, you need to make sure that it has
access to all the resources it needs.

Try sticking:
d /run/programd2 0755 programd2 programd2 - -
in /etc/tmpfiles.d/programd2.conf

and changing the unit file to have:
PIDFile=/run/programd2/programd2.pid
and updating the configuration for the program to actually write there.

-- 
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/20130706/4c50d7e9/attachment.html>


More information about the systemd-bugs mailing list