[HEADS-UP] Moving /var/run and /var/lock to tmpfs in Rawhide

Lennart Poettering mzerqung at 0pointer.de
Wed Nov 24 14:53:50 UTC 2010


On Wed, 24.11.10 11:13, Paul Howarth (paul at city-fan.org) wrote:

> > Hmm, it has been suggested that we should make it possible to create
> > these dirs in the .spec files by invoking the systemd-tmpfiles tool
> > directly from the scriptlets. I guess we should add a nice interface for
> > that. In the meantime it should be sufficient to simply place th right
> > "mkdir -p -m ..." in the scriptlet. Of course it would be desirable if
> > we have a single place where the dirs to create are encoded.
> 
> Why not create the directories in the initscript/systemd equivalent?

Because it's cumbersome and you need at least three invocations to get
things right, to do mkdir, chown and restorecon.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the devel mailing list