From: Carlos Goncalves Date: Thu, 6 Dec 2012 14:50:29 +0000 (+0000) Subject: Add commands used by NFS volume driver to rootwrap X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=65b3421f4b66b1e26be54f4bcb93fd3f6c7fb6f8;p=openstack-build%2Fcinder-build.git Add commands used by NFS volume driver to rootwrap Fixes bug 1087282 Change-Id: Ib873c334633b4d586c2e53bac5d1cae0dcf65be7 --- diff --git a/etc/cinder/rootwrap.d/volume.filters b/etc/cinder/rootwrap.d/volume.filters index a36649d2b..45a1e29cd 100644 --- a/etc/cinder/rootwrap.d/volume.filters +++ b/etc/cinder/rootwrap.d/volume.filters @@ -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