]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Add commands used by NFS volume driver to rootwrap
authorCarlos Goncalves <cgoncalves@av.it.pt>
Thu, 6 Dec 2012 14:50:29 +0000 (14:50 +0000)
committerCarlos Goncalves <cgoncalves@av.it.pt>
Mon, 10 Dec 2012 00:36:31 +0000 (00:36 +0000)
Fixes bug 1087282

Change-Id: Ib873c334633b4d586c2e53bac5d1cae0dcf65be7

etc/cinder/rootwrap.d/volume.filters

index a36649d2b1cd3c243443a137d17252d273d907dc..45a1e29cda35edda127d0b8cd8747e1997b41ff3 100644 (file)
@@ -37,3 +37,11 @@ dmsetup_usr: CommandFilter, /usr/sbin/dmsetup, root
 ln: CommandFilter, /bin/ln, root
 qemu-img: CommandFilter, /usr/bin/qemu-img, root
 env: CommandFilter, /usr/bin/env, root
+
+# cinder/volume/nfs.py
+stat: CommandFilter, /usr/bin/stat, root
+mount: CommandFilter, /bin/mount, root
+df: CommandFilter, /bin/df, root
+truncate: CommandFilter, /usr/bin/truncate, root
+chmod: CommandFilter, /bin/chmod, root
+rm: CommandFilter, /bin/rm, root