Comment 6 for bug 12535

Revision history for this message
66dny9r02 (66dny9r02) wrote :

(In reply to comment #5)
> There are a number of other packages which misbehave if you use tmpfs for
> /var/run; this isn't supported. Packages place directories there, and by using
> tmpfs, you are removing directories owned by the packaging system.

I'm aware that some packages don't support it at this moment, but most do (at
least all packages I have on my system).

I think it's a very clean solution to use a tmpfs on /var/run, because all
information in that directory is essentially for the current session only (apart
from empty directories). Using tmpfs, all such session specific information will
be removed on reboot to actually enforce this. It doesn't make sense e.g. to try
to kill a certain PID after a reboot. (The Filesystem Hierarchy Standard even
specifies that files under /var/run should be "cleared" at the beginning of the
boot process. I know that it doesn't specify that directories should be
cleared.) Shall I bring this to ubuntu-devel?