diff options
author | Michael Still <mikal@stillhq.com> | 2017-06-08 09:34:02 +1000 |
---|---|---|
committer | Michael Still <mikal@stillhq.com> | 2017-09-08 03:07:57 +1000 |
commit | 0908d338c4f834d2f6ef24b7dc62649b6b7a7bc0 (patch) | |
tree | 4331a782913ad7eb663a72e56099ba2b1de41690 /etc | |
parent | c90f15ecd8d420f6b2c4d48b52511c41d2f647dd (diff) | |
download | nova-0908d338c4f834d2f6ef24b7dc62649b6b7a7bc0.tar.gz |
Move libvirt usages of chown to privsep.
A nice simple example of how to move things to privsep (and the new set
of helpers). In a few of these cases I think a more complicated re-write
is actually required, but I've put TODOs there are will do those in a
followup patch.
Change-Id: Ibb6ef001e3f2add459b0e37dfbd9f51c9eff2eb7
Diffstat (limited to 'etc')
-rw-r--r-- | etc/nova/rootwrap.d/compute.filters | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/etc/nova/rootwrap.d/compute.filters b/etc/nova/rootwrap.d/compute.filters index 8796050455..d412446286 100644 --- a/etc/nova/rootwrap.d/compute.filters +++ b/etc/nova/rootwrap.d/compute.filters @@ -41,12 +41,6 @@ blockdev: RegExpFilter, blockdev, root, blockdev, (--getsize64|--flushbufs), /de # nova/virt/libvirt/vif.py: utils.execute('tee', tee: CommandFilter, tee, root -# nova/virt/libvirt/utils.py: def chown(): execute('chown', owner, path, -# nova/virt/libvirt/driver.py: 'chown', os.getuid( console_log -# nova/virt/libvirt/driver.py: 'chown', os.getuid( console_log -# nova/virt/libvirt/driver.py: 'chown', 'root', basepath('disk') -chown: CommandFilter, chown, root - # nova/virt/libvirt/vif.py: 'ip', 'tuntap', 'add', dev, 'mode', 'tap' # nova/virt/libvirt/vif.py: 'ip', 'link', 'set', dev, 'up' # nova/virt/libvirt/vif.py: 'ip', 'link', 'delete', dev |