Description of problem: Version-Release number of selected component (if applicable): How reproducible: EveryTime Steps to Reproduce: 1. Install Backuppc, start it and HTTP 2. Create user 3. Call http://localhost/BackupPC , log in Actual results: Error: Unable to connect to BackupPC server Jun 8 01:32:47 fedora-backup kernel: audit(1181259167.619:4): avc: denied { write } for pid=2588 comm="perl5.8.8" name="BackupPC.sock" dev=dm-0 ino=1831713 scontext=root:system_r:httpd_t:s0 tcontext=root:object_r:var_log_t:s0 tclass=sock_file Expected results: Should work Additional info:
Created attachment 156639 [details] full troubleshoot
For now I would just add that policy to your system, and I think we need to add a policy for BackupPC. Executing the following two lines should allow http to communicate with the backuppc server. # grep http /var/log/audit/audit.log | audit2allow -M mybackuppc # semodule -i mybackuppc.pp
Why has this been closed as a WONTFIX? Thanks :)
Someone has to write a policy for BackupPC in order to fix this, for everyone. I have given you a workaround. We do not ship BackupPC so I don't see how we can fix this. If someone writes a policy for backuppc we will pick it up.
Thank you for your clarification. Does that mean that Fedora 8 won't ship with BackupPC anymore? (It is shipped with Fedora 7)
No I will reassign as a bug to BackupPC to add a policy,
I'm currently workin ont he 3.0.0 integration, and SELinux issues are always present. I'll try to write the right policy file...
Johan, many thanks for caring of BackupPC now. I was in fear that it would disappear from the Fedora archives, which would not have been great as it is very usable for me. I also tried to package 3.0 myself, but I failed (I am a RPM packaing beginner ;))
BackupPC-3.0.0-3.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
BackupPC-3.0.0-3.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.