#343 PR closed: do not use $SHARE_DIR in sesam startup script as it is not set which results in cl...

abbbi opened issue at 2013-12-09 10:15:

hi,

$SHARE_DIR is not set while startup scripts are executed (dhclient for example hardcodes the directory), this
makes the sesam client fail during startup. Simple fix attached which hardodes the directory here.

gdha commented at 2013-12-09 10:56:

Perhaps, it would be better that we write our main variables into /etc/rear/rescue.conf so that we can have a consistent behavior throughout our system-setup scripts

If we all agree then I'll add the following variables always to the rescue.conf file (this conf is sourced by setup-setup)

SHARE_DIR
CONFIG_DIR
VAR_DIR
LOG_DIR

schlomo commented at 2013-12-09 11:24:

@gdha, this is a great idea! Thanks!

On 9 December 2013 11:56, gdha notifications@github.com wrote:

Perhaps, it would be better that we write our main variables into
/etc/rear/rescue.conf so that we can have a consistent behavior
throughout our system-setup scripts

If we all agree then I'll add the following variables always to the
rescue.conf file (this conf is sourced by setup-setup)

SHARE_DIR
CONFIG_DIR
VAR_DIR
LOG_DIR


Reply to this email directly or view it on GitHubhttps://github.com/rear/rear/pull/343#issuecomment-30122535
.

gdha commented at 2013-12-09 16:01:

@abbbi if you use the latest github sources then your pull request is no longer necessary. It was good to bring this to our attention


[Export of Github issue for rear/rear.]