Bug 1616331
Summary: | SELinux prevents amanda from running normally | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Orion Poplawski <orion> |
Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 28 | CC: | dwalsh, joshua.bakerlepain, lvrabec, mgrepl, plautrba |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-3.14.1-44.fc28 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-09 03:09:21 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Orion Poplawski
2018-08-15 15:37:01 UTC
Near as I can tell, the dac_override denial is preventing the writing of /var/lib/amanda/gnutar-lists/fedsvn1.mry.nwra.com_var_backup_0.new. Running in permissive mode and disabling the dontaudit rules allows it to run and I don't see other avcs. selinux-policy-3.14.1-42.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-2d1b09d217 selinux-policy-3.14.1-42.fc28 has been pushed to the Fedora 28 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-2018-2d1b09d217 selinux-policy-3.14.1-42.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. With selinux-policy-3.14.1-42.fc28.noarch I'm still seeing: type=AVC msg=audit(1536640000.775:101053): avc: denied { dac_override } for pid=20705 comm="tar" capability=1 scontext=system_u:system_r:amanda_t:s0 tcontext=system_u:system_r:amanda_t:s0 tclass=capability permissive=0 which leads to: fedsvn1.mry.nwra.com /var/backup lev 0 FAILED [/usr/bin/tar exited with status 2: see /var/log/amanda/client/Data/amgtar.20180910204839000.debug] fedsvn1.mry.nwra.com /var/backup lev 0 FAILED [shm_ring cancelled] Mon Sep 10 20:48:39.105799929 2018: pid 18533: thd-0x5599a5fd7e00: amgtar: Spawning "/usr/bin/tar /usr/bin/tar --create --verbose --block-number --file - --directory /var/backup --no-check-device --listed-incremental /var/lib/amanda/gnutar-lists/fedsvn1.mry.nwra.com_var_backup_0.new --sparse --ignore-failed-read --totals --exclude-from /var/log/amanda/amgtar._var_backup.20180910204839.exclude ." in pipeline Mon Sep 10 20:48:39.106959947 2018: pid 18533: thd-0x5599a5fd7e00: amgtar: 0: strange(?): /usr/bin/tar: /var/lib/amanda/gnutar-lists/fedsvn1.mry.nwra.com_var_backup_0.new: Cannot open: Permission denied selinux-policy-3.14.1-44.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-5e18426088 selinux-policy-3.14.1-44.fc28 has been pushed to the Fedora 28 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-2018-5e18426088 selinux-policy-3.14.1-44.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. |