Description of problem: Unable to start BackupPC on CentOS7, looks like same problem as bug #730053. Version-Release number of selected component (if applicable): BackupPC-3.3.1-1.el7.x86_64 How reproducible: always Steps to Reproduce: 1. systemctl restart backuppc.service 2. tail /var/log/BackupPC/LOG Actual results: 2015-07-06 08:21:14 Reading hosts file 2015-07-06 08:21:14 unix bind() failed: No such file or directory Expected results: runnnig backuppc process Additional info: Here is fix: [root@backup ~]# cat /etc/tmpfiles.d/BackupPC.conf D /var/run/BackupPC 0775 root backuppc -
Is the current BackupPC package actively maintained?
Unsatisfied with any workarounds, I created this script in /usr/local/bin/fixBackupPC > #!/bin/bash > mkdir /var/run/BackupPC > chown backuppc.backuppc /var/run/BackupPC > systemctl restart backuppc and then added '@reboot /usr/local/bin/fixBackupPC > /dev/null 2>&1' to root's crontab.
@Julian Tosh: that is an awfully ugly work-around, I recommend you use the one provided by in comment #1: # echo "D /var/run/BackupPC 0775 root backuppc -" > /etc/tmpfiles.d/BackupPC.conf
I was not aware of the tempfiles system, how it worked, and its use, therefore didn't recognize what was being suggested. Now, with your prodding, it is clear to me. Very cool. Thanks for making me learn something new.
BackupPC-3.3.1-4.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-8e3110a7ad
BackupPC-3.3.1-4.el7 has been pushed to the Fedora EPEL 7 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-EPEL-2016-8e3110a7ad
BackupPC-3.3.1-4.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days