]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Add sg_scan filter to rootwrap
authorAvishay Traeger <avishay@il.ibm.com>
Sun, 22 Sep 2013 11:01:25 +0000 (14:01 +0300)
committerAvishay Traeger <avishay@il.ibm.com>
Sun, 22 Sep 2013 11:01:25 +0000 (14:01 +0300)
The sg_scan command was missing from rootwrap.

Change-Id: I549b51e30c53eb588b02dc0892c8e32d2c66c6bb
Closes-Bug: #1225102

etc/cinder/rootwrap.d/volume.filters

index 99f75ed6c5d945cc8d7271aa5e5fb20f3129a69d..1c3ff901c2d6e047e90b1b4b39a54487e9b8207b 100644 (file)
@@ -88,5 +88,8 @@ aoe-revalidate: CommandFilter, aoe-revalidate, root
 aoe-discover: CommandFilter, aoe-discover, root
 aoe-flush: CommandFilter, aoe-flush, root
 
+# cinder/brick/initiator/linuxscsi.py:
+sg_scan: CommandFilter, sg_scan, root
+
 #cinder/backup/services/tsm.py
 dsmc:CommandFilter,/usr/bin/dsmc,root