Hello,
I'm trying to package virt-bootstrap [0], but various tests fail due to
SELinux. I know some selinux basics from redhat's selinux manual [1],
but am unsure about how to approach the issue.
For example, the following command - extracted from a failing test -
fails due to SELinux:
```
virt-sandbox -c qemu:///session --name=bootstrap_26639 -m
host-bind:/mnt=/tmp/tmps77ywg1n_bootstrap_dest -- /bin/tar xf
/tmp/tmp8gca1fzq_bootstrap_tarfiles/b52c708f02ff0ee783331f23f723ed9123dfc72994e19d1c33f3bd5db723007a.tar
-C /mnt --exclude "dev/*" --overwrite --absolute-names
```
```
type=AVC msg=audit(1525329618.892:19448): avc: denied { read } for pid=31860
comm="qemu-system-x86" name="config" dev="dm-3" ino=4589515
scontext=unconfined_u:unconfined_r:svirt_t:s0:c422,c725
tcontext=unconfined_u:object_r:gconf_home_t:s0 tclass=dir permissive=0
```
I also attached the related specfile to this email. I would appreciate
if someone could take a few minutes to redirect me.
[0]
https://github.com/virt-manager/virt-bootstrap
[1]
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/...
Thanks !
--
Timothée Floure