Overview
Request 1183568 accepted
fix for bnc#1227092
- Created by computersalat
- In state accepted
- Package maintainers: computersalat and jengelh
Loading...
Request History
computersalat created request
fix for bnc#1227092
computersalat accepted request
fix for bnc#1227092
Does this work for you? Here it causes this:
While
/etc/sysconfig/boinc-client
hasBOINC_BOINC_DIR="/var/lib/boinc"
, the error indicates that systemd doesn't do any expansion. See also https://stackoverflow.com/questions/37864999/referencing-other-environment-variables-in-systemd.I don't think this will work. To solve boo#1227092, we can either hardcode the working directory, or replace
/usr/bin/boinccmd --quit
by something like/bin/sh -c "cd $BOIND_BOINC_DIR; /usr/bin/boinccmd --quit"
, because the shell will expand the environment variable.Or we get rid of this ancient
/etc/sysconfig/boinc-client
stuff and let users override the data directory by defining a drop-in configuration file that overridesWorkingDirectory=
. I think that without--dir
, the BOINC client will simply use the working directory.