From af029aebbb5353121ecef88fe25c8ed70c53d597 Mon Sep 17 00:00:00 2001 From: vimacs Date: Thu, 18 Feb 2010 22:17:36 +0100 Subject: [PATCH] moved umount union to section without noexec, noexec prevents aufs from working modified: testdata/sh/sudoers --- testdata/sh/sudoers | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/testdata/sh/sudoers b/testdata/sh/sudoers index 36dff89..e02152a 100644 --- a/testdata/sh/sudoers +++ b/testdata/sh/sudoers @@ -1,14 +1,13 @@ 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/* - + /bin/mount -t aufs -o exec\,noplink\,dirs\=*/pandora/appdata/*\=rw+nolwh\:/mnt/pnd/*\=rr none /mnt/utmp/*, \ + /bin/umount /mnt/utmp/* ALL ALL=NOPASSWD: NOEXEC: \ /bin/mount /dev/loop* /mnt/pnd/*, \ /bin/mount --bind -o ro * /mnt/pnd/*, \ /bin/mount -t squashfs * /mnt/pnd/*, \ /bin/umount /mnt/pnd/*, \ - /bin/umount /mnt/utmp/*, \ /bin/mkdir -p /mnt/pnd/*, \ /bin/mkdir -p /mnt/utmp/*, \ /bin/mkdir -p */pandora/appdata/*, \ -- 2.39.2