summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMichael Still <mikal@stillhq.com>2017-09-27 06:53:15 +1000
committerMichael Still <mikal@stillhq.com>2017-10-18 17:52:58 +1100
commit7ad72b092201f87530674a245e2904c6401d567c (patch)
tree2ff75ee8fc88b4e8075760d62a33772364c04928 /etc
parent5e4c98a58f1afeaa903829f5e3f28cd6dc30bf4b (diff)
downloadnova-7ad72b092201f87530674a245e2904c6401d567c.tar.gz
Cleanup mount / umount and associated rmdir calls
Add a new filesytem mounting helper in privsep, and then start moving things across to it. This currently implements mount and unmount. We get to cleanup some rmdir calls while we're at it which is nice as well. I've added an upgrade note mentioning that we no longer ignore the value of stderr from mount calls, as requesed in code review. Change-Id: Ib5e585fa4bfb99617cd3ca983674114d323a3cce blueprint: hurrah-for-privsep
Diffstat (limited to 'etc')
-rw-r--r--etc/nova/rootwrap.d/compute.filters12
1 files changed, 0 insertions, 12 deletions
diff --git a/etc/nova/rootwrap.d/compute.filters b/etc/nova/rootwrap.d/compute.filters
index ae65a0101a..d950034ac6 100644
--- a/etc/nova/rootwrap.d/compute.filters
+++ b/etc/nova/rootwrap.d/compute.filters
@@ -10,18 +10,6 @@ kpartx: CommandFilter, kpartx, root
# nova/virt/xenapi/vm_utils.py: tune2fs, -j, partition_path
tune2fs: CommandFilter, tune2fs, root
-# nova/virt/disk/mount/api.py: 'mount', mapped_device
-# nova/virt/disk/api.py: 'mount', '-o', 'bind', src, target
-# nova/virt/xenapi/vm_utils.py: 'mount', '-t', 'ext2,ext3,ext4,reiserfs'..
-# nova/virt/configdrive.py: 'mount', device, mountdir
-mount: CommandFilter, mount, root
-
-# nova/virt/disk/mount/api.py: 'umount', mapped_device
-# nova/virt/disk/api.py: 'umount' target
-# nova/virt/xenapi/vm_utils.py: 'umount', dev_path
-# nova/virt/configdrive.py: 'umount', mountdir
-umount: CommandFilter, umount, root
-
# nova/virt/disk/mount/nbd.py: 'qemu-nbd', '-c', device, image
# nova/virt/disk/mount/nbd.py: 'qemu-nbd', '-d', device
qemu-nbd: CommandFilter, qemu-nbd, root