[Pkg-sysvinit-commits] r991 - in sysvinit/trunk/debian: .
initscripts
Petter Reinholdtsen
pere at costa.debian.org
Sat Sep 30 14:24:06 UTC 2006
Author: pere
Date: 2006-09-30 14:24:06 +0000 (Sat, 30 Sep 2006)
New Revision: 991
Modified:
sysvinit/trunk/debian/changelog
sysvinit/trunk/debian/initscripts/postinst
Log:
* Only try to create /var/run and /var/lock on the root file system
in non-chroot environments?
Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog 2006-09-30 14:23:39 UTC (rev 990)
+++ sysvinit/trunk/debian/changelog 2006-09-30 14:24:06 UTC (rev 991)
@@ -3,6 +3,8 @@
* Ignore problems with creating /var/run and /var/lock during
installation and upgrades. This should avoid installation problem
in vserver environments.
+ * Only try to create /var/run and /var/lock on the root file system
+ in non-chroot environments?
-- Petter Reinholdtsen <pere at debian.org> Sat, 30 Sep 2006 14:37:36 +0200
Modified: sysvinit/trunk/debian/initscripts/postinst
===================================================================
--- sysvinit/trunk/debian/initscripts/postinst 2006-09-30 14:23:39 UTC (rev 990)
+++ sysvinit/trunk/debian/initscripts/postinst 2006-09-30 14:24:06 UTC (rev 991)
@@ -167,7 +167,7 @@
# it. The admins enabling RAMRUN and RAMLOCK will have to create the
# directories themselves in this case.
#
-if dpkg --compare-versions "$PREV_VER" lt "2.86.ds1-22"
+if dpkg --compare-versions "$PREV_VER" lt "2.86.ds1-22" && ! chrooted
then
# We need to quickly bind / to another location so we can make them
# just in case /var is a mountpoint or a symlink to one.
More information about the Pkg-sysvinit-commits
mailing list