View Issue Details

IDProjectCategoryView StatusLast Update
0000132bareos-coreGeneralpublic2014-12-04 17:27
Reporterjoergs Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSanyOS Version3
Product Version12.4.2 
Fixed in Version14.4.0 
Summary0000132: "make install" installs System5 init scripts are always to /etc/init.d/
Description"make install" installs System5 init scripts are always to /etc/init.d. This causes problems, when creating binaries for separate directories, like $HOME/bareos/
Steps To Reproduce./configure --prefix=$HOME/bareos
make
make install

Init scripts ends up in /etc/init.d/bareos-*
Additional Information
Not sure, if there is a variable, that can be used instead.
SYSCONFDIR can't be used, because it is normally set to "/etc/bareos/".

The best approach might be to have an additional configure option like --with-sys5-init[=DIR]". There already exists "--with-systemd[=UNITDIR]".
If --with-sys5-init is not set, init scripts are not installed at all.
TagsNo tags attached.

Activities

maik

maik

2013-03-22 16:22

administrator   ~0000290

not important now
mvwieringen

mvwieringen

2014-12-03 17:51

developer   ~0001096

Fix committed to bareos master branch with changesetid 2417.

Related Changesets

bareos: master e812bb76

2014-11-28 16:58

joergs


Committer: mvwieringen

Ported: N/A

Details Diff
configure: distinguish sysconfdir and confdir

Before this patch, sysconfdir has been set to /etc/bareos.
However, there are files that reside at other paths inside /etc,
e.g. /etc/logrotate.d/bareos-dir.
This patch adds the configure option --with-confdir.
A typically of configure should be:
configure --sysconfdir=/etc --with-confdir=/etc/bareos.
Without these options, sysconfdir is $prefix/etc and confdir is $sysconfdir/bareos.

Fixes: 0000132 "make install" ignores prefix for some files
Affected Issues
0000132
mod - Makefile.in Diff File
mod - autoconf/Make.common.in Diff File
mod - autoconf/config.h.in Diff File
mod - autoconf/configure.in Diff File
mod - debian/bareos-bat.install.in Diff File
mod - debian/bareos-bconsole.install.in Diff File
mod - debian/bareos-director.bareos-dir.init.in Diff File
mod - debian/bareos-director.install.in Diff File
mod - debian/bareos-filedaemon.install.in Diff File
mod - debian/bareos-storage.install.in Diff File
mod - debian/bareos-traymonitor.install.in Diff File
mod - debian/rules Diff File
mod - platforms/bsdi/bareos-dir.in Diff File
mod - platforms/bsdi/bareos-fd.in Diff File
mod - platforms/bsdi/bareos-sd.in Diff File
mod - platforms/debian/Makefile.in Diff File
mod - platforms/freebsd/bareos-dir.in Diff File
mod - platforms/freebsd/bareos-fd.in Diff File
mod - platforms/freebsd/bareos-sd.in Diff File
mod - platforms/gentoo/bareos-dir.in Diff File
mod - platforms/gentoo/bareos-fd.in Diff File
mod - platforms/gentoo/bareos-init.in Diff File
mod - platforms/gentoo/bareos-sd.in Diff File
mod - platforms/gentoo/bareos.ebuild Diff File
mod - platforms/hurd/bareos-dir.in Diff File
mod - platforms/hurd/bareos-fd.in Diff File
mod - platforms/hurd/bareos-sd.in Diff File
mod - platforms/irix/bareos-dir.in Diff File
mod - platforms/irix/bareos-fd.in Diff File
mod - platforms/irix/bareos-sd.in Diff File
mod - platforms/mandrake/bareos-dir.in Diff File
mod - platforms/mandrake/bareos-fd.in Diff File
mod - platforms/mandrake/bareos-sd.in Diff File
mod - platforms/openbsd/bareos-dir.in Diff File
mod - platforms/openbsd/bareos-fd.in Diff File
mod - platforms/openbsd/bareos-sd.in Diff File
mod - platforms/packaging/bareos.spec Diff File
mod - platforms/redhat/Makefile.in Diff File
mod - platforms/redhat/bareos-dir.in Diff File
mod - platforms/redhat/bareos-fd.in Diff File
mod - platforms/redhat/bareos-sd.in Diff File
mod - platforms/slackware/functions.bareos.in Diff File
mod - platforms/solaris/bareos-dir.in Diff File
mod - platforms/solaris/bareos-fd.in Diff File
mod - platforms/solaris/bareos-sd.in Diff File
mod - platforms/suse/Makefile.in Diff File
rm - platforms/suse/bareos-dir-suse-sqlite.patch Diff File
mod - platforms/suse/bareos-dir.in Diff File
mod - platforms/suse/bareos-fd.in Diff File
mod - platforms/suse/bareos-sd.in Diff File
rm - platforms/suse/bareos.in Diff File
mod - platforms/systemd/bareos-dir.service.in Diff File
mod - platforms/systemd/bareos-fd.service.in Diff File
mod - platforms/systemd/bareos-sd.service.in Diff File
mod - platforms/win32/fillup.sed Diff File
mod - scripts/Makefile.in Diff File
mod - scripts/bareos-config-lib.sh.in Diff File
mod - scripts/bareos-ctl-dir.in Diff File
mod - scripts/bareos-ctl-fd.in Diff File
mod - scripts/bareos-ctl-sd.in Diff File
mod - scripts/bconsole.in Diff File
mod - scripts/defaultconfig Diff File
mod - scripts/mtx-changer.in Diff File
mod - src/cats/make_catalog_backup.pl.in Diff File
mod - src/console/Makefile.in Diff File
mod - src/defaultconfigs/diskonly/bareos-dir.conf.in Diff File
mod - src/defaultconfigs/legacy/bareos-dir.conf.in Diff File
mod - src/dird/Makefile.in Diff File
mod - src/filed/Makefile.in Diff File
mod - src/lib/parse_conf.c Diff File
mod - src/qt-console/bat.desktop.in Diff File
mod - src/qt-console/bat.pro.in Diff File
mod - src/qt-console/install_conf_file.in Diff File
mod - src/qt-tray-monitor/bareos-tray-monitor.desktop.in Diff File
mod - src/qt-tray-monitor/tray-monitor.pro.in Diff File
mod - src/stored/Makefile.in Diff File
mod - src/stored/backends/Makefile.in Diff File
mod - src/win32/qt-tray-monitor/tray-monitor.pro Diff File

Issue History

Date Modified Username Field Change
2013-03-20 14:33 joergs New Issue
2013-03-22 16:20 maik Status new => acknowledged
2013-03-22 16:22 maik Note Added: 0000290
2013-03-22 16:22 maik Status acknowledged => confirmed
2013-06-21 16:52 joergs Assigned To => joergs
2013-06-21 16:52 joergs Status confirmed => assigned
2014-12-03 17:51 mvwieringen Changeset attached => bareos master e812bb76
2014-12-03 17:51 mvwieringen Note Added: 0001096
2014-12-03 17:51 mvwieringen Assigned To joergs => mvwieringen
2014-12-03 17:51 mvwieringen Status assigned => resolved
2014-12-03 17:51 mvwieringen Resolution open => fixed
2014-12-04 17:27 joergs Status resolved => closed
2014-12-04 17:27 joergs Assigned To mvwieringen =>
2014-12-04 17:27 joergs Fixed in Version => 14.4.0