Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 17059
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Donny Davies (RETIRED) <woodchip@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jacob M. McDonald <jacob@jacobmcdonald.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
bacula.ebuild.tar.gz updated ebuilds for version 1.29-r1 1.30a and 1.31 application/x-tgz smouge 2003-06-09 03:42 0000 3.60 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 17059 depends on: Show dependency tree
Bug 17059 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-03-07 21:25 0000
Bacula's Console component depends on sys-libs/libtermcap-compat to compile
successfully, but this dependency is not part of the ebuild.

Second, the init script (/usr/portage/app-admin/bacula/files/bacula-init) is not
installed into /etc/init.d/ during the merge.

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

After that, this ebuild seems pretty stable. I'm already using it successfully.
Thanks for making such a great backup system available for us!

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Jacob M. McDonald 2003-03-09 21:45:12 0000 -------
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
}

------- Comment #2 From smouge 2003-06-01 15:52:09 0000 -------
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" 
 
 
 
 
 
 

------- Comment #3 From Donny Davies (RETIRED) 2003-06-02 19:42:36 0000 -------
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.

------- Comment #4 From smouge 2003-06-07 16:27:14 0000 -------
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. 

------- Comment #5 From smouge 2003-06-09 03:42:57 0000 -------
Created an attachment (id=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

------- Comment #6 From Donny Davies (RETIRED) 2003-06-11 20:57:23 0000 -------
i've added bacula-1.31 which fixes these issues.

thanks all.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug