base/init: do not set umask
somehow /dev/dri gets created with the wrong permissions https://bugzilla.redhat.com/show_bug.cgi?id=626559master
parent
7a8a33b6cd
commit
2eea164db7
|
|
@ -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 || {
|
||||
|
|
|
|||
Loading…
Reference in New Issue