Module Name:    src
Committed By:   haad
Date:           Sat Jan  8 16:16:52 UTC 2011

Modified Files:
        src/etc/rc.d: mountcritlocal

Log Message:
Use /rescue/chown not chown from /usr/sbin which might not be available in
time of running this script.

XXX. Why is chown in /usr/sbin ? it should be moved to /sbin


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/etc/rc.d/mountcritlocal

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/rc.d/mountcritlocal
diff -u src/etc/rc.d/mountcritlocal:1.11 src/etc/rc.d/mountcritlocal:1.12
--- src/etc/rc.d/mountcritlocal:1.11	Wed Jan  5 14:57:29 2011
+++ src/etc/rc.d/mountcritlocal	Sat Jan  8 16:16:51 2011
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: mountcritlocal,v 1.11 2011/01/05 14:57:29 haad Exp $
+# $NetBSD: mountcritlocal,v 1.12 2011/01/08 16:16:51 haad Exp $
 #
 
 # PROVIDE: mountcritlocal
@@ -29,7 +29,7 @@
 	#	group and has parmissions to allow lock file creation.
 	#
 	mkdir /var/run/lvm
-	chown root:operator /var/run/lvm
+	/rescue/chown root:operator /var/run/lvm
 	chmod 770 /var/run/lvm
 }
 

Reply via email to