Bug 1240170
| Summary: | Unable to start BackupPC due to missing /var/run/BackupPC | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Jan ONDREJ <ondrejj> |
| Component: | BackupPC | Assignee: | Benjamin Lefoul <lef> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel7 | CC: | bjohnson, lef, pim, redhat.com |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | BackupPC-3.3.1-4.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-18 18:49:55 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
Jan ONDREJ
2015-07-06 06:29:44 UTC
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 |