View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000480 | bareos-core | file daemon | public | 2015-06-11 09:56 | 2017-09-21 16:11 |
Reporter | mpiejh | Assigned To | joergs | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Mac | OS | MacOS X | OS Version | 10 |
Product Version | 14.2.2 | ||||
Fixed in Version | 17.2.3 | ||||
Summary | 0000480: file daemon does not start due to missing /var/run/bareos/working | ||||
Description | Starting the file daemon on system startup doesn't work. The directory /var/run/bareos/working isn't existing and blocks the file daemon. /var/run is mounted as temporary file system on MacOS and therefore emptied on system shutdown or reboot. The file daemon should create the needed directories in /var/run on start. | ||||
Steps To Reproduce | restart the computer | ||||
Additional Information | error message: 11-Jun 09:02 osx-fd: ERROR TERMINATION at util.c:903 Working Directory: "/var/run/bareos/working" not found. Cannot continue. | ||||
Tags | No tags attached. | ||||
has duplicate | 0000665 | closed | bareos-fd service doesn'd start after restart |
Sebastian, can you take a look at this? | |
Same problem on Ubuntu 16.04 xenial, but this can be worked-around by adding the following snippet in /etc/init.d/bareos-fd and /etc/init.d/bareos-sd, (e.g. under the line ". /lib/lsb/init-functions") # XXXX HACK XXXXX if [ ! -d /var/run/bareos/ ]; then mkdir -p /var/run/bareos chown -R bareos:bareos /var/run/bareos fi |
|
anti I guess a prefered way would be to use tmpfiles.d mechanism | |
Fix committed to bareos bareos-17.2 branch with changesetid 7245. | |
bareos: bareos-17.2 9eea8c56 2017-09-02 17:33 Ported: N/A Details Diff |
MacOS X: make bareos-client package working again * cleanup the build process * building is now done via a mac specific configure script: platforms/osx/configure.sh make -C platforms/osx/ pkg * adapted pre- and postinstall scripts to current (>= MacOS 10.4) format * reuse "bareos-config deploy_config" to deploy configuration files * package configuration files are now stored at /usr/local/lib/bareos/defaultconfigs/ and deployed to /usr/local/etc/bareos/ if they do not already exists. This prevents that they get overwritten on package updates. Fixes 0000480: file daemon does not start due to missing /var/run/bareos/working |
Affected Issues 0000480 |
|
mod - autoconf/Make.common.in | Diff File | ||
mod - autoconf/configure.in | Diff File | ||
rm - platforms/darwin/Makefile.in | Diff File | ||
mod - platforms/osx/Makefile.in | Diff File | ||
mod - platforms/osx/README | Diff File | ||
add - platforms/osx/configure.sh | Diff File | ||
mod - platforms/osx/files/org.bareos.bareos-fd.plist.in | Diff File | ||
mod - platforms/osx/resources/ReadMe.html.in | Diff File | ||
rm - platforms/osx/resources/postflight.in | Diff File | ||
add - platforms/osx/resources/postinstall.in | Diff File | ||
add - platforms/osx/resources/preinstall.in | Diff File | ||
rm - platforms/osx/resources/preupgrade.in | Diff File | ||
mod - scripts/bareos-config-lib.sh.in | Diff File | ||
mod - src/console/Makefile.in | Diff File | ||
mod - src/dird/Makefile.in | Diff File | ||
mod - src/filed/Makefile.in | Diff File | ||
mod - src/stored/Makefile.in | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-06-11 09:56 | mpiejh | New Issue | |
2015-06-11 11:12 | joergs | Assigned To | => slederer |
2015-06-11 11:12 | joergs | Status | new => assigned |
2015-06-11 11:12 | joergs | Note Added: 0001767 | |
2016-07-19 15:15 | anti | Note Added: 0002325 | |
2016-09-04 18:10 | tigerfoot | Note Added: 0002346 | |
2017-09-02 13:53 | joergs | Relationship added | has duplicate 0000665 |
2017-09-02 15:00 | joergs | Assigned To | slederer => joergs |
2017-09-21 12:24 | joergs | Changeset attached | => bareos bareos-17.2 9eea8c56 |
2017-09-21 12:24 | joergs | Note Added: 0002743 | |
2017-09-21 12:24 | joergs | Status | assigned => resolved |
2017-09-21 12:24 | joergs | Resolution | open => fixed |
2017-09-21 16:11 | joergs | Status | resolved => closed |
2017-09-21 16:11 | joergs | Fixed in Version | => 17.2.3 |