On 04/19/2014 05:03 PM, Derrik Walker v2.0 wrote: > On 04/19/2014 04:47 PM, Les Mikesell wrote: >> On Sat, Apr 19, 2014 at 10:40 AM, Derrik Walker v2.0 <dwalker@xxxxxxxxx> wrote: >>> I've installed backuppc from the EPEL repository. It does backups just >>> fine, BUT, when the backups are done, the status on the web page says >>> there are no backups for any of my systems I'm backing up. >>> >>> To be sure, they are taking up disk space, but it's just not reporting >>> it correctly to the admin web interface. >>> >>> I'm thinking I'm missing some package I need, but am not sure exactly what. >>> >>> Any ideas? >> The web interface doesn't have access to the backuppc archive >> directory. Probably either selinux or you don't have the >> perl-suidperl package installed. >> > I figured it out. > > Initially I was thinking that I was missing a package, but it turned out > to be selinux. I actually figured that out right after I sent the email > by doing an setenforce 0, and it started working. > > So I installed setroubleshoot and figured out the problem is that I > moved the backup data directory from /var/lib/BackupPC to it's own > filesystem mounted on /data/backup, and since I did that, I had too: > > setsebool -P httpd_read_user_content 1 > > Which solved my problem. I guess it was seeing the archive files as > 'user_content' for some reason. In anycase, it works now, and enforcing > is back on. > > Thanks. > > - Derrik > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos The better solution would have been to label the data the same as it would be in BackupPC. # semanage fcontext -a -e /var/lib/BackupPC /data/backup # restorcon -R -v /data/backup _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos