]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Add du to rootwrap filters
authorEric Harney <eharney@redhat.com>
Wed, 3 Apr 2013 19:31:49 +0000 (15:31 -0400)
committerEric Harney <eharney@redhat.com>
Wed, 3 Apr 2013 19:39:30 +0000 (15:39 -0400)
Setting "nfs_disk_util=du" or "glusterfs_disk_util=du" will use
du instead of df for space calculation, but du is not allowed by
rootwrap.

Change-Id: I35522d40f97ea14cacf2637603f06a15810a0b36

etc/cinder/rootwrap.d/volume.filters

index fdd63a8ef5f9bbbfdc6108c317f470932048050a..9aca2742bfb981a632219ee72099b9aac203ff33 100644 (file)
@@ -48,6 +48,7 @@ cat: CommandFilter, cat, root
 stat: CommandFilter, stat, root
 mount: CommandFilter, mount, root
 df: CommandFilter, df, root
+du: CommandFilter, du, root
 truncate: CommandFilter, truncate, root
 chmod: CommandFilter, chmod, root
 rm: CommandFilter, rm, root