SOURCES (DEVEL): geninitrd-dmraid.patch - close security hole and ...
glen
glen at pld-linux.org
Sun Oct 23 13:35:08 CEST 2005
Author: glen Date: Sun Oct 23 11:35:08 2005 GMT
Module: SOURCES Tag: DEVEL
---- Log message:
- close security hole and cleanups
---- Files affected:
SOURCES:
geninitrd-dmraid.patch (1.1.2.1 -> 1.1.2.2)
---- Diffs:
================================================================
Index: SOURCES/geninitrd-dmraid.patch
diff -u SOURCES/geninitrd-dmraid.patch:1.1.2.1 SOURCES/geninitrd-dmraid.patch:1.1.2.2
--- SOURCES/geninitrd-dmraid.patch:1.1.2.1 Mon Oct 17 10:59:23 2005
+++ SOURCES/geninitrd-dmraid.patch Sun Oct 23 13:35:03 2005
@@ -1,5 +1,5 @@
---- geninitrd 2005-10-14 12:49:22.000000000 +0300
-+++ /tmp/geninitrd 2005-10-17 11:57:18.000000000 +0300
+--- ./geninitrd~ 2005-10-14 12:49:22.000000000 +0300
++++ ./geninitrd 2005-10-23 14:33:00.000000000 +0300
@@ -48,6 +48,10 @@
UDEV_TMPFS="yes"
. /etc/udev/udev.conf
@@ -74,13 +74,13 @@
+ fi
+
+ mkdir -p "$MNTIMAGE/sbin"
-+# mkdir -p "$MNTIMAGE/dev/mapper"
+ inst /sbin/dmraid-initrd $MNTIMAGE/sbin/dmraid
+cat <<-EOF >> "$s"
+ mount -t proc none /proc
+ mount -t sysfs none /sys
++ # 2 secs was enough for my system to initialize. but really this is udev issue?
+ usleep 2000000
-+ /sbin/dmraid -ay -i || sh
++ /sbin/dmraid -ay -i
+ umount /sys
+ umount /proc
+EOF
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/geninitrd-dmraid.patch?r1=1.1.2.1&r2=1.1.2.2&f=u
More information about the pld-cvs-commit
mailing list