Summary: | bacula console depends on libtermcap-compat / termcap , init script is not installed , and default mysql root password needs added to db creation scripts | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jacob M. McDonald <jacob> |
Component: | Current packages | Assignee: | Donny Davies (RETIRED) <woodchip> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | updated ebuilds for version 1.29-r1 1.30a and 1.31 |
Description
Jacob M. McDonald
2003-03-07 21:25:52 UTC
One more... the path to the .conf files (/etc/bacula) needs to be specified with the "-c" option in the init script: start() { ebegin "Starting bacula storage daemon" start-stop-daemon --start --quiet --exec /usr/sbin/bacula-sd -- -c /etc/ bacula/bacula-sd.conf result=$? ebegin "Starting bacula file daemon" start-stop-daemon --start --quiet --exec /usr/sbin/bacula-fd -- -c /etc/ bacula/bacula-fd.conf result=$(( $result + $? )) sleep 2 ebegin "Starting bacula director" start-stop-daemon --start --quiet --exec /usr/sbin/bacula-dir -- -c /etc /bacula/bacula-dir.conf result=$(( $result + $? )) eend $result } would be nice to add the line sh /etc/bacula/grant_mysql_privileges in the explanation lines: If this is a new install and you plan to use mysql for your * catalog database, then you should now create it by doing * these two commands: * sh /etc/bacula/create_mysql_database * sh /etc/bacula/make_mysql_tables * Then setup your configuration files in /etc/bacula and * start the daemons: * /etc/init.d/bacula start Furthermore: would be nice if you could adapt the ebuild to make it working with the latest bacula version. The term-cap dependency is listed already 3 month now and only requires changing the line RDEPEND="${DEPEND} sys-apps/mtx app-arch/mt-st" into RDEPEND="${DEPEND} sys-apps/mtx app-arch/mt-st sys-libs/libtermcap-compat" sorry i've just not had any time, thats all. if you go through the bacula issues, and submit a tarball containing all the fixes, i can see about dumping it in for you. please dont give me a mess though, give me a nice, clean set of updates. I'd like to help, but again, just been too busy. Working on this right now, I will send you modified ebuild files in a tar ball for the versions 1.29, 1.30a and 1.31 Regarding QUOTE And third, the default mysql root password (null) needs added to db creation scripts (/etc/bacula/create_mysql_database and /etc/bacula/make_mysql_tables): if $bindir/mysql -f <<END-OF-DATA should be changed to if $bindir/mysql -f --password= <<END-OF-DATA UNQUOTE These scripts are part of the Bacula code and should be changed by Bacula. Created attachment 12977 [details]
updated ebuilds for version 1.29-r1 1.30a and 1.31
Included the updated ebuilds for version 1.29-r1 1.30a and 1.31
For version 1.31 had to make a work-a-round in the ebuild (see the comment in
the ebuild)
The bug "default mysql root password" can not be solved with the ebuilds as it
is part of the bacula source an will have to be altered by the Bacula
developers
i've added bacula-1.31 which fixes these issues. thanks all. |