Bug 719499
Summary: | Socket file should be in /var/run/BackupPC/ instead of /var/log/ | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | frenchja | ||||
Component: | BackupPC | Assignee: | Bernard Johnson <bjohnson> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 15 | CC: | bjohnson, drjohnson1, frenchja, uckelman | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | BackupPC-3.2.1-1.el5 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-08-09 01:38:01 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
frenchja
2011-07-07 04:23:23 UTC
Selinux errors: type=AVC msg=audit(1310010051.679:7595): avc: denied { write } for pid=27938 comm="BackupPC_Admin." name="BackupPC.sock" dev=dm-1 ino=861241 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=sock_file type=AVC msg=audit(1310010052.607:7596): avc: denied { write } for pid=27939 comm="BackupPC_Admin." name="BackupPC.sock" dev=dm-1 ino=861241 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=sock_file type=AVC msg=audit(1310010050.827:7594): avc: denied { write } for pid=27935 comm="BackupPC_Admin." name="BackupPC.sock" dev=dm-1 ino=861241 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=sock_file type=AVC msg=audit(1310010367.335:7756): avc: denied { write } for pid=28259 comm="BackupPC_Admin." name="BackupPC.sock" dev=dm-1 ino=861241 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=sock_file type=AVC msg=audit(1310010586.395:8055): avc: denied { write } for pid=28739 comm="BackupPC_Admin." name="BackupPC.sock" dev=dm-1 ino=861241 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=sock_file type=AVC msg=audit(1310010623.249:8057): avc: denied { write } for pid=28778 comm="BackupPC_Admin." name="BackupPC.sock" dev=dm-1 ino=861241 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=sock_file type=AVC msg=audit(1310010622.330:8056): avc: denied { write } for pid=28775 comm="BackupPC_Admin." name="BackupPC.sock" dev=dm-1 ino=861241 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=sock_file type=AVC msg=audit(1310010631.767:8058): avc: denied { write } for pid=28788 comm="BackupPC_Admin." name="BackupPC.sock" dev=dm-1 ino=861241 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=sock_file With this: su -c 'semanage fcontext -a -t httpd_var_run_t "/var/log/BackupPC/.*"; restorecon -Rv /var/log/BackupPC; service backuppc restart; service httpd restart' should temporarily work-around the problem. Tempfiles from packages should use /run/ for sockets. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers BackupPC-3.2.1-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/BackupPC-3.2.1-1.fc14 BackupPC-3.2.1-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/BackupPC-3.2.1-1.fc15 BackupPC-3.2.1-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/BackupPC-3.2.1-1.el5 BackupPC-3.2.1-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/BackupPC-3.2.1-1.el6 Package BackupPC-3.2.1-1.el5: * should fix your issue, * was pushed to the Fedora EPEL 5 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing BackupPC-3.2.1-1.el5' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/BackupPC-3.2.1-1.el5 then log in and leave karma (feedback). BackupPC-3.2.1-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. BackupPC-3.2.1-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. BackupPC-3.2.1-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. BackupPC-3.2.1-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. BackupPC.sock is back in /var/log/BackupPC in Fedora 17. This needs to be fixed once again. Ack. Ignore that. I was seeing a stale BackupPC.sock. The actuall problem is something else with SELinux. |