command (no filter matched)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.rootwrap |
Expired
|
Undecided
|
Unassigned |
Bug Description
I need to run rsync command as a root using rootwrap:
Here is the config I have:
rootwrap.conf
[DEFAULT]
filters_
exec_dirs=
use_syslog=False
syslog_
syslog_
[xenapi]
xenapi_
xenapi_
xenapi_
in rootwrap.d I have:
rsync.filters
[Filters]
rsync: CommandFilter, rsync, root
rsync_path: CommandFilter, /usr/bin/rsync, root
When I try execute command:
Running command: '/var/lib/
/var/lib/
Appreciate any help with this issue.
Is rsync installed? I seem to recall seeing a bug where if the underlying command was missing it would raise a misleading "no filter matched" error.