When running amrecover (part of the amanda package) as root to restore some files, I find that the amanda cannot manipulate the tape changer to load the necessary tapes. I switched to permissive and retried; here are the logged AVCs: time->Wed Feb 24 16:18:53 2016 type=AVC msg=audit(1456352333.877:1085): avc: denied { read write } for pid=11898 comm="mtx" name="sg8" dev="devtmpfs" ino=12562 scontext=system_u:system_r:amanda_t:s0 tcontext=system_u:object_r:scsi_generic_device_t:s0 tclass=chr_file permissive=1 ---- time->Wed Feb 24 16:18:53 2016 type=AVC msg=audit(1456352333.877:1086): avc: denied { open } for pid=11898 comm="mtx" path="/dev/sg8" dev="devtmpfs" ino=12562 scontext=system_u:system_r:amanda_t:s0 tcontext=system_u:object_r:scsi_generic_device_t:s0 tclass=chr_file permissive=1 ---- time->Wed Feb 24 16:18:53 2016 type=AVC msg=audit(1456352333.877:1087): avc: denied { ioctl } for pid=11898 comm="mtx" path="/dev/sg8" dev="devtmpfs" ino=12562 ioctlcmd=2282 scontext=system_u:system_r:amanda_t:s0 tcontext=system_u:object_r:scsi_generic_device_t:s0 tclass=chr_file permissive=1 In enforcing mode, I just see the first AVC.
commit 98b375cdd6910c626c899581f12e3802632054da Author: Lukas Vrabec <lvrabec> Date: Thu Feb 25 16:37:17 2016 +0100 Allow amanda to manipulate the tape changer to load the necessary tapes. rhbz#1311759
selinux-policy-3.13.1-158.9.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ffbae3a870
selinux-policy-3.13.1-158.9.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ffbae3a870
selinux-policy-3.13.1-158.9.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.