[dracut/f14/master] - removed umask Resolves: rhbz#655345 rhbz#655472 rhbz#654935
Harald Hoyer
harald at fedoraproject.org
Mon Nov 22 09:10:09 UTC 2010
commit d8a508866880fced0f9d7cc16f9d4eb34d9bf662
Author: Harald Hoyer <harald at redhat.com>
Date: Mon Nov 22 10:10:42 2010 +0100
- removed umask
Resolves: rhbz#655345 rhbz#655472 rhbz#654935
0011-base-init-do-not-set-umask.patch | 27 +++++++++++++++++++++++++++
dracut.spec | 8 +++++++-
2 files changed, 34 insertions(+), 1 deletions(-)
---
diff --git a/0011-base-init-do-not-set-umask.patch b/0011-base-init-do-not-set-umask.patch
new file mode 100644
index 0000000..f3cda9a
--- /dev/null
+++ b/0011-base-init-do-not-set-umask.patch
@@ -0,0 +1,27 @@
+From c9fc9b8290e66435b2721d33146583f35db6bfca Mon Sep 17 00:00:00 2001
+From: Harald Hoyer <harald at redhat.com>
+Date: Wed, 17 Nov 2010 17:37:22 +0100
+Subject: [PATCH 11/11] base/init: do not set umask
+
+somehow /dev/dri gets created with the wrong permissions
+https://bugzilla.redhat.com/show_bug.cgi?id=626559
+---
+ modules.d/99base/init | 2 --
+ 1 files changed, 0 insertions(+), 2 deletions(-)
+
+diff --git a/modules.d/99base/init b/modules.d/99base/init
+index 8938dfb..2f884c3 100755
+--- a/modules.d/99base/init
++++ b/modules.d/99base/init
+@@ -62,8 +62,6 @@ export TERM=linux
+ NEWROOT="/sysroot"
+
+ trap "emergency_shell Signal caught!" 0
+-# set umask
+-umask 0007
+
+ RDDEBUG=""
+ . /lib/dracut-lib.sh
+--
+1.7.3.1
+
diff --git a/dracut.spec b/dracut.spec
index 6f18c12..7e3f6ca 100644
--- a/dracut.spec
+++ b/dracut.spec
@@ -20,7 +20,7 @@
Name: dracut
Version: 006
-Release: 4%{?rdist}
+Release: 5%{?rdist}
Summary: Initramfs generator using udev
Group: System Environment/Base
License: GPLv2+
@@ -39,6 +39,7 @@ Patch7: 0007-Write-rules-for-symlinks-to-dev-.udev-rules.d-for-la.patch
Patch8: 0008-dracut-functions-set-LANG-C-for-ldd-output-parsing.patch
Patch9: 0009-dracut-functions-use-LC_ALL-C-rather-than-LANG-C.patch
Patch10: 0010-mknod-with-mode-and-set-umask-for-the-rest.patch
+Patch11: 0011-base-init-do-not-set-umask.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -148,6 +149,7 @@ This package contains tools to assemble the local initrd and host configuration.
%patch8 -p1 -b .git8
%patch9 -p1 -b .git9
%patch10 -p1 -b .git10
+%patch11 -p1 -b .git11
%build
make WITH_SWITCH_ROOT=0%{?with_switch_root}
@@ -252,6 +254,10 @@ rm -rf $RPM_BUILD_ROOT
%dir /var/lib/dracut/overlay
%changelog
+* Mon Nov 22 2010 Harald Hoyer <harald at redhat.com> 006-5
+- removed umask
+Resolves: rhbz#655345 rhbz#655472 rhbz#654935
+
* Thu Nov 18 2010 Harald Hoyer <harald at redhat.com> 006-4
- fix /dev/systty
Resolves: rhbz#654935
More information about the scm-commits
mailing list