summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2009-02-19 14:08:34 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2009-02-19 14:08:34 +0000
commit65aa6e20de16a850b45db181ee2f80a7efea855c (patch)
tree7426c86dd7eb321d5b6207162ab05b117d2138fc /sys-fs
parentVersion bump (diff)
downloadhistorical-65aa6e20de16a850b45db181ee2f80a7efea855c.tar.gz
historical-65aa6e20de16a850b45db181ee2f80a7efea855c.tar.bz2
historical-65aa6e20de16a850b45db181ee2f80a7efea855c.zip
Set permission bits correct for seeding dev. Also create /dev/kmsg before running udevd so it can write messages to dmesg.
Package-Manager: portage-2.1.6.7/cvs/Linux i686
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/udev/ChangeLog7
-rw-r--r--sys-fs/udev/Manifest10
-rwxr-xr-xsys-fs/udev/files/136/udev-mount.initd11
3 files changed, 18 insertions, 10 deletions
diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog
index 20b85c4fc986..f1bced7aa08a 100644
--- a/sys-fs/udev/ChangeLog
+++ b/sys-fs/udev/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/udev
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.448 2009/02/19 08:41:34 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.449 2009/02/19 14:08:34 zzam Exp $
+
+ 19 Feb 2009; Matthias Schwarzott <zzam@gentoo.org>
+ files/136/udev-mount.initd:
+ Set permission bits correct for seeding dev. Also create /dev/kmsg before
+ running udevd so it can write messages to dmesg.
*udev-138 (19 Feb 2009)
diff --git a/sys-fs/udev/Manifest b/sys-fs/udev/Manifest
index a7b69f099061..ce662a98084b 100644
--- a/sys-fs/udev/Manifest
+++ b/sys-fs/udev/Manifest
@@ -4,7 +4,7 @@ Hash: SHA1
AUX 136/shell-compat-KV.sh 1012 RMD160 5bc85047b4237d502f7b0ccc7181f9974c2b0898 SHA1 bbc58d6181f3fc8d623de1537eddcc1ede919202 SHA256 2393918bc65c69e1c19d7712292c945a4adfe45ce02b88ae7663167b8745cf8b
AUX 136/shell-compat-addon.sh 930 RMD160 c96a77a2085698e4ca3636994d1b6d07326e4b5f SHA1 d696a1ff942d31b493d385cff27bc9cbacd3fa47 SHA256 94b1fe1f5ba892c82798cec6f15b5c5c76e1902ef2d13701ddfbb54f19079af9
AUX 136/udev-dev-tarball.initd 2579 RMD160 b7feb34f854a3eb08d1203f1faabf9cecee3101c SHA1 10ecda997314851d86a175db8cbfcc6a343e9bb2 SHA256 a829fa3efb9d6aadb137cb8879b8bc2660ef6500b2dbb8d55db8edf52f332d60
-AUX 136/udev-mount.initd 2523 RMD160 1b98e1bf8bead67ff6ce2a0077324755c43b6a60 SHA1 344bfa006a8e0625bd61be8e7668960e44048418 SHA256 63737bd5d35c7c68e718661ff5335750405631bfa25621c74fa4c6d750637f44
+AUX 136/udev-mount.initd 2649 RMD160 edfe760b5416e0bb59ed80d477a3bfcdd9fba050 SHA1 40dc1b7d85364b212c4e5cb361d50b8df94499b0 SHA256 f336dd330edd811ea0ac18117df221fce4cad473c8ff62e5f9d40110dbf01e0f
AUX 136/udev-postmount.initd 505 RMD160 42a08fa97d7a8672249647e82369eb81abd88f1f SHA1 2ea973b6c6aea0b17a57586e55eac94f09dd9e1e SHA256 bae9074358b36706a69cbc9006d53f19a257613f6de00431273ebdbb234e038f
AUX 136/udev-start.sh 1345 RMD160 c1b4aac1a52da1eac79f3b6a2ccb6e7036a81fdf SHA1 a8d889f3a1ed216d64affa79a99446611899b16d SHA256 5a56cb63ab5fec4f5393eca944d734bab1373bc2a75dcee6b202f86570541414
AUX 136/udev-stop.sh 237 RMD160 dea1f6d7525e792484c3d2c31d36e8b4d78ebda8 SHA1 72174a2e5e6be2133b2e5f68e477d0fa342b46ce SHA256 1dbdaa45b9f1e54faba9d153a93c0043aabe5b51270c233d3a5e48a6c1d20a1d
@@ -85,12 +85,12 @@ EBUILD udev-135-r4.ebuild 11331 RMD160 e7e9cb82b09bcd1c9e590182973eaffe4da8e5a4
EBUILD udev-135.ebuild 12079 RMD160 88554ff3379d6d74c0537a0848b71e346e5a6108 SHA1 1d2375e4eb0516e4015b534ac4ecb848e8ed5df9 SHA256 8cd73c178e60d06862bbe99f02e86cf0d517edcad6faa5dd0ffe57863355bdb9
EBUILD udev-138.ebuild 12247 RMD160 6f419cdc60571ed69b9832101d9dd38b067e15a1 SHA1 0374fc0a03163255f7bf347c47212327815d196b SHA256 cd34e393b78ff4003d5c1691f82bc4731d474682c9f6930fe2445be995b504f0
EBUILD udev-9999.ebuild 12114 RMD160 52b7f751a55e51e66792422961b97385f35b8493 SHA1 90d823370d8207cca8c8d95e9ec70399f5f55d73 SHA256 091c4ebc9904ed2924ecce928fc739abc2375835f8b763502a5f6ed82af18828
-MISC ChangeLog 92520 RMD160 7df741d3728b3bed136e96d4c14e07d7fa1aced1 SHA1 35936e981ed641f31d0f887ebb9523a88bb73b20 SHA256 be59086c958e6268ec368776cb9433307c4753538c5c536911c0e47ddfa7195a
+MISC ChangeLog 92731 RMD160 1f1280ebe87bf6f74f75a4d509d13e10d5a6e828 SHA1 ef5280d7f19d18530f6f51faf4fcc33f530b50ef SHA256 5d209e08bfa034a5ec87efe4d448656fbb2d41e8a129e8d45803871f62446c9c
MISC metadata.xml 225 RMD160 9459d2b2027607874431067a9100c48a0a128ffa SHA1 d9fad1caa18dd065595932b9e5d6c18098f3dfad SHA256 dd3c55c5a5c97678030df2554192894d849cdd4845d6fec1c8259d7bf263cd46
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
-iEYEARECAAYFAkmdG0QACgkQt2vP6XvVdOe+XwCgwOKGzddwLx9HudyO8gA0whye
-om0Ani1RyguxN/oE9y+XWsPgkEZZMwRW
-=4PhT
+iEYEARECAAYFAkmdZ+cACgkQt2vP6XvVdOdQ3QCbBxBCVrmIQdExo9w1VewVS5FS
+sgQAoJfCMVjGq9zBNIOsw4LWCpKpY578
+=Sgay
-----END PGP SIGNATURE-----
diff --git a/sys-fs/udev/files/136/udev-mount.initd b/sys-fs/udev/files/136/udev-mount.initd
index c41fa0781a4c..55ab40d9e94d 100755
--- a/sys-fs/udev/files/136/udev-mount.initd
+++ b/sys-fs/udev/files/136/udev-mount.initd
@@ -44,13 +44,16 @@ seed_dev()
# creating /dev/console, /dev/tty and /dev/tty1 to be able to write
# to $CONSOLE with/without bootsplash before udevd creates it
- [ -c /dev/console ] || mknod /dev/console c 5 1
- [ -c /dev/tty1 ] || mknod /dev/tty1 c 4 1
- [ -c /dev/tty ] || mknod /dev/tty c 5 0
+ [ -c /dev/console ] || mknod -m 600 /dev/console c 5 1
+ [ -c /dev/tty1 ] || mknod -m 620 /dev/tty1 c 4 1
+ [ -c /dev/tty ] || mknod -m 666 /dev/tty c 5 0
# udevd will dup its stdin/stdout/stderr to /dev/null
# and we do not want a file which gets buffered in ram
- [ -c /dev/null ] || mknod /dev/null c 1 3
+ [ -c /dev/null ] || mknod -m 666 /dev/null c 1 3
+
+ # so udev can add its start-message to dmesg
+ [ -c /dev/kmsg ] || mknod -m 660 /dev/kmsg c 1 11
# copy over any persistant things
if [ -d /lib/udev/devices ]; then