Fixed sudoers so exec on aufs doesnt fail.
authorvimacs <vimacs@pndtest>
Sat, 26 Dec 2009 10:45:10 +0000 (11:45 +0100)
committervimacs <vimacs@pndtest>
Sat, 26 Dec 2009 10:45:10 +0000 (11:45 +0100)
modified:   testdata/sh/sudoers

testdata/sh/sudoers

index b45023c..be6fca2 100644 (file)
@@ -1,8 +1,9 @@
-ALL ALL=NOPASSWD: /etc/init.d/slim-init stop, /etc/init.d/slim-init start
+ALL ALL=NOPASSWD: /etc/init.d/slim-init stop, /etc/init.d/slim-init start, \
+       /bin/mount -t aufs -o exec\,dirs\=*/pandora/appdata/*\=rw+nolwh\:/mnt/pnd/*\=rr none /mnt/utmp/*, \
+       /bin/mount -t aufs -o exec\,noplink\,dirs\=*/pandora/appdata/*\=rw+nolwh\:/mnt/pnd/*\=rr none /mnt/utmp/*
+
 ALL ALL=NOPASSWD: NOEXEC: \
        /bin/mount /dev/loop* /mnt/pnd/*, \
-       /bin/mount -t aufs -o exec\,dirs\=*/pandora/appdata/*\=rw+nolwh\:/mnt/pnd/*\=rr none /mnt/utmp/*, \
-       /bin/mount -t aufs -o exec\,noplink\,dirs\=*/pandora/appdata/*\=rw+nolwh\:/mnt/pnd/*\=rr none /mnt/utmp/*, \
        /bin/mount --bind -o ro * /mnt/pnd/*, \
        /bin/mount -t squashfs * /mnt/pnd/*, \
        /bin/umount /mnt/pnd/*, \