[Lunar-commits] r18761 - in moonbase/trunk/filesys/e2fsprogs: . init.d

Auke Kok sofar at lunar-linux.org
Thu Feb 16 23:24:43 UTC 2006


Author: sofar
Date: 2006-02-16 23:24:39 +0000 (Thu, 16 Feb 2006)
New Revision: 18761

Modified:
   moonbase/trunk/filesys/e2fsprogs/DETAILS
   moonbase/trunk/filesys/e2fsprogs/init.d/mount
Log:
Urgent/Security fix: udev on tmpfs was mounted with default permissions to /dev - this needs to be passed explicitly with 'mode=0755'.


Modified: moonbase/trunk/filesys/e2fsprogs/DETAILS
===================================================================
--- moonbase/trunk/filesys/e2fsprogs/DETAILS	2006-02-16 21:55:32 UTC (rev 18760)
+++ moonbase/trunk/filesys/e2fsprogs/DETAILS	2006-02-16 23:24:39 UTC (rev 18761)
@@ -5,7 +5,7 @@
       SOURCE_VFY=sha1:aa8915fe43bc7cf5fba633df7041009ce9981551
         WEB_SITE=http://e2fsprogs.sourceforge.net
          ENTERED=20010922
-         UPDATED=20051127
+         UPDATED=20060215
            SHORT="Utilities for the EXT2 file system."
 cat << EOF
 e2fsprogs - The EXT2 file system utilities and libraries.  EXT2 stands
@@ -16,4 +16,7 @@
 contains essential ext2 filesystem utilities which consists of e2fsck,
 mke2fs, debugfs, dumpe2fs, tune2fs, and most of the other core ext2
 filesystem utilities.
+
+This module also provides the generic init.d mount script which is
+vital to your linux system.
 EOF

Modified: moonbase/trunk/filesys/e2fsprogs/init.d/mount
===================================================================
--- moonbase/trunk/filesys/e2fsprogs/init.d/mount	2006-02-16 21:55:32 UTC (rev 18760)
+++ moonbase/trunk/filesys/e2fsprogs/init.d/mount	2006-02-16 23:24:39 UTC (rev 18761)
@@ -197,7 +197,7 @@
 		run_with_msg " * Mounting /dev" "mount -n -t devfs devfs /dev"
 		run_with_msg "Starting devfsd" "devfsd /dev"
 	elif [ "$DEVNODES" = "udev" ]; then
-		run_with_msg " * Mounting /dev" "mount -n -t tmpfs tmpfs /dev -o size=4m"
+		run_with_msg " * Mounting /dev" "mount -n -t tmpfs tmpfs /dev -o size=4m,mode=0755"
 		run_with_msg "Setting /sbin/udevsend to manage hotplug events" "echo /sbin/udevsend > /proc/sys/kernel/hotplug"
 		run_with_msg "Creating udev device nodes on /dev" "/sbin/udevstart"
 		run_without_msg "mkdir -p /dev/{pts,shm}"



More information about the Lunar-commits mailing list