CVS: initscripts/rc.d rc.sysinit,1.4,1.5
Jasper Huysmans
jasper at lunar-linux.org
Tue Nov 4 12:16:16 GMT 2003
Update of /var/cvs/lunar/initscripts/rc.d
In directory dbguin.lunar-linux.org:/tmp/cvs-serv15649
Modified Files:
rc.sysinit
Log Message:
Make sure /var/lock/subsys exists. /var/lock may be mounted on tmpfs.
Index: rc.sysinit
===================================================================
RCS file: /var/cvs/lunar/initscripts/rc.d/rc.sysinit,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- rc.sysinit 31 Oct 2003 12:06:07 -0000 1.4
+++ rc.sysinit 4 Nov 2003 12:16:14 -0000 1.5
@@ -635,6 +635,11 @@
done
rm -f /var/lib/rpm/__db*
+# Make sure /var/lock/subsys exists before we start any services
+# /var/lock may be mounted on tmpfs
+mkdir -p /var/lock/subsys
+
+
# Reset pam_console permissions
[ -x /sbin/pam_console_apply ] && /sbin/pam_console_apply -r
More information about the Lunar-commits
mailing list