Add suid,dev to unionfs mount opts
authorAndrew Gaffney <agaffney@gentoo.org>
Thu, 13 Nov 2008 23:12:12 +0000 (17:12 -0600)
committerAndrew Gaffney <agaffney@gentoo.org>
Thu, 13 Nov 2008 23:12:12 +0000 (17:12 -0600)
ChangeLog
defaults/initrd.scripts

index 13661b8fb405fa0d28313c8b9958923da736bf78..9e410ab85055d328476b2270a3c6566e8b461edb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney
 # Distributed under the GPL v2
 
+  13 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/initrd.scripts:
+  Add suid,dev to unionfs mount opts
+
   13 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/initrd.scripts:
   Remove allow_root mount opt, since it conflicts with allow_other
 
index 066c2e93a901dde4ac302ee80973c8e9d7be7f9a..a73b642f54f4662ab9ffa385c1aed68aeb62b7c9 100644 (file)
@@ -1011,7 +1011,7 @@ setup_unionfs() {
                mkdir -p ${UNION}
                mkdir -p $CHANGES
 #              mount -t unionfs -o dirs=$CHANGES=rw unionfs ${UNION}
-               unionfs -o allow_other,cow,noinitgroups ${rw_dir}=RW:${ro_dir} ${UNION}
+               unionfs -o allow_other,cow,noinitgroups,suid,dev ${rw_dir}=RW:${ro_dir} ${UNION}
                ret=$?
                if [ "${ret}" -ne 0 ]
                then