upstart and /var/{lock,run} on tmpfs in Rawhide

Petr Lautrbach plautrba at
Mon Nov 29 15:13:29 UTC 2010


upstart (upstart-0.6.6-3.fc15) now includes tmpfiles job (/etc/init/tmpfiles.conf) which looks
for /var/{lock,run}/* directories configured via /etc/tmpfiles.d/* files and tries to create them
if they don't exist.

It allows to switch to upstart without tmpfs on /var/{lock,run} even if some packages were
already installed on system with systemd/tmpfs feature.

You can also use /var/{lock,run} on tmpfs in similar way as is configured with systemd. You will
only need to add following lines to /etc/fstab:
tmpfs      /var/run          tmpfs   rw,noexec,nosuid,nodev,mode=755               0 0
tmpfs      /var/lock         tmpfs   rw,noexec,nosuid,nodev,mode=775,gid=54        0 0

Petr Lautrbach, Red Hat, Inc.

More information about the devel mailing list