[systemd-devel] binding tmpfiles.d to unit startup

Lennart Poettering lennart at poettering.net
Sun Mar 2 14:57:58 PST 2014


On Sat, 01.03.14 19:46, Colin Walters (walters at verbum.org) wrote:

> Certainly it magnifies the pain for the RPM world in that there's
> nothing that scans the build directory and says "hey you installed
> something that looks like a tmpfiles.d snippet, let me auto-generate
> some postinst shell script".

But that is fixable. RPM could do that. The same way it scans .so files
and creates deps from it.

> I think any postinsts like this are still pretty ugly though.  It
> means the directories are created when the daemon is *installed*,
> not when it's run.  Which is odd and against the generally dynamic
> nature of systemd.

Well, but /var and /etc are by their very nature non-volatile,
non-dynamic. We shouldnt set up more during runtime then we really have
to...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list