[systemd-bugs] [Bug 69097] systemctl start should run "systemd-tmpfiles --create" automatically

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 9 10:26:36 PDT 2013


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

Lennart Poettering <lennart at poettering.net> changed:

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

--- Comment #1 from Lennart Poettering <lennart at poettering.net> ---
Similar atomicity concerns apply here as for
https://bugs.freedesktop.org/show_bug.cgi?id=69096 (especailly as --create can
be destructive by truncating files).

Note that tmpfiles is designed to be run at boot-up (and possibly package
installation time), but not each time a service is started (this is for
security reasons as creating fixed name dirs in /tmp is only safe if it is done
before the first user logs in).

Also, there is currently no explicit connection between tmpfiles snippets in
unit files.

We generally recommend packagers to invoke tmpfiles in the postinst scripts of
the package. For RPM we even provide a spec file snippet for that in
%tmpfiles_create.

-- 
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/20130909/1f529900/attachment.html>


More information about the systemd-bugs mailing list