Feature changed by: Jiri Srain (jsrain)
Feature #303793, revision 72
Title: Mount /var/run as tmpfs
openSUSE-11.2: Rejected by Matthias Eckermann (mge1512)
reject date: 2009-07-16 11:42:53
reject reason: Rejected on request of Engineering.
openSUSE-11.3: Rejected by Andreas Jaeger (a_jaeger)
reject date: 2010-10-06 16:02:09
reject reason: not done.
Requested by: Kay Sievers (kay_sievers)
Technical Contact: Kay Sievers (kay_sievers)
Partner organization: openSUSE.org
/var/run should be mounted as tmpfs.
This would avoid the cleaning of stale files or sockets on bootup and
avoid atime updates of any mounted filesystems. This is required for eg
powermanagement, which currently wakes up the system from any idle
states for a socket operation.
Services must be modified not to depend on a preexisting content in
/var/run upon startup. RPMs must be modified to not place anything
Administration guide. RN
#2: Federico Lucifredi (flucifredi) (2008-07-08 19:30:23)
somehow SLES/SLED got out of sync here. Matching.
#4: Duncan Mac-Vicar (dmacvicar) (2008-07-14 15:30:03)
There are no resources for this feature. Please postpone, (as agreed
#5: Duncan Mac-Vicar (dmacvicar) (2008-07-14 15:46:55)
Just as a side note this feature will require an effort of aprox. 1
week, together with #303810 (they averlap about 95%)
#10: Arvin Schnell (aschnell) (2009-02-04 10:50:32)
Any requirements on the size for the tmpfs or should the default of
tmpfs be used?
#11: Arvin Schnell (aschnell) (2009-02-05 19:27:03) (reply to #10)
Kay replied by personal mail: Size doesn't matter. /var/lock should
also be on tmpfs.
#12: Duncan Mac-Vicar (dmacvicar) (2009-06-02 11:22:49)
Christoph, please reject with openSUSE 11.2, because disk encryption we
can't promise this feature for 11.2. It may get done as bonus if
encryption gets done earlier than expected, but we can't commit to it
(which is what rejection means, which does not mean we may work on it).
It is the next thing we will work on after encryption support.
#32: Dirk Mueller (dirkmueller) (2010-04-26 12:08:04)
rpmlint check implemented (badness 900)
#35: Duncan Mac-Vicar (dmacvicar) (2010-11-03 15:50:03)
Kay, is this still feature desired now with relatime as default? or can
be closed forever?
#36: Kay Sievers (kay_sievers) (2010-11-03 18:52:22) (reply to #35)
It is a good feature to have, because we don't want to cleanup the dir
Systemd has this mandatory and you can't even disable it.
#37: Andreas Jaeger (a_jaeger) (2010-11-04 09:24:36) (reply to #35)
This feature is done with using systemd. The scripts mount /var/run
already and packages get fixed. I don't think any changes in YaST are
needed, so I guess this can be marked as done. Duncan, please check for
YaST work - and if none is needed, mark as done.
#38: Arvin Schnell (aschnell) (2010-11-04 12:02:02) (reply to #37)
When systemd mounts it and no entry in fstab is desired the feature is
done from my side.
I'm sure the mounting happens after potentially mounting /var.
#39: Duncan Mac-Vicar (dmacvicar) (2013-03-05 11:29:23)
Jiri, assuming SLE12 uses systemd, this feature can be marked as done.
+ Release Notes: /run mounted as tmpfs
+ The directory /run, also sym-linked as /var/run, is mounted as tmpfs
+ and thus is not persistent across reboots. Anything stored in this
+ directory will be removed when the machine is shut down.