[systemd-devel] Failed at step RUNTIME_DIRECTORY spawning /usr/bin/true: File exists
Reindl Harald
h.reindl at thelounge.net
Mon Aug 10 06:14:42 PDT 2015
Am 10.08.2015 um 15:05 schrieb Ivan Shapovalov:
> On 2015-08-10 at 11:16 +0200, Reindl Harald wrote:
> Moreover,
>
>>
>> * "RuntimeDirectory" is a service configuration
>> * the daemon is started as unprivileged user
>> * "RuntimeDirectory" should be created long before
>> ExecStart / ExecStartPost
>
> This is wrong. The runtime directory "will be created <...> when
> the unit is started, and removed when the unit is stopped".
what is wrong?
"unit is started" is for me pretty clear the whole systemd-unit
> As can be seen from the code, the runtime directory creation is
> attempted on execution of each configured process, be it ExecStart= or
> ExecStartPost= (or whatever else)
and why in the world is the code written that way?
there is no logical reason that "RuntimeDirectory" created once would
disappear while starting the other processes as well as tempfiles.d
which get replaced by "RuntimeDirectory" isn't fired all the time
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150810/220a247b/attachment-0001.sig>
More information about the systemd-devel
mailing list