[Pkg-sysvinit-devel] Supporting tmpfs on /var/run

Thomas Hood jdthood at yahoo.co.uk
Fri Dec 23 17:04:36 UTC 2005


Currently some packages include a subdir of /var/run and assume that they
can use that subdir any time.

If we are to support /var/run being a tmpfs then obviously packages should
no longer include /var/run/foo/.  In that case I think that we should offer
a skeleton feature.  The package would include /etc/run/skeleton/foo/ and
then the initscript that mounts /var/run would immediately do

    cp -a /etc/run/skeleton/* /var/run

to create the directory skeleton.  This feature saves maintainer script code
in every package that uses /var/run/, prevents lost races and catches
namespace collisions.
-- 
Thomas



More information about the Pkg-sysvinit-devel mailing list