base/init: do not set umask

somehow /dev/dri gets created with the wrong permissions
https://bugzilla.redhat.com/show_bug.cgi?id=626559
master
Harald Hoyer 2010-11-17 17:37:22 +01:00
parent 7a8a33b6cd
commit 2eea164db7
1 changed files with 0 additions and 4 deletions

View File

@ -66,9 +66,6 @@ export PATH=/sbin:/bin:/usr/sbin:/usr/bin
NEWROOT="/sysroot"

trap "emergency_shell Signal caught!" 0
# set umask
OLD_UMASK=$(umask)
umask 0007

RDDEBUG=""
. /lib/dracut-lib.sh
@ -326,7 +323,6 @@ info "Switching root"

wait_for_loginit

umask $OLD_UMASK
export PATH="$OLD_PATH"

exec /sbin/switch_root "$NEWROOT" "$INIT" $initargs || {