On Tuesday 04 April 2006 22:37, Will McDonald wrote: > On 04/04/06, Kern Sibbald <[EMAIL PROTECTED]> wrote: > > > No, I haven't. This is a purely RPM install. I grabbed the SRPM > > > bacula-1.38.5-4.src.rpm and rebuilt it for CentOS4 (effectively > > > RHEL4). > > > > Did one of the binary rpms install the rescue directory? > > Yep. The bacula-client RPM on the client system. There are some > comments in the SPEC file changelog to the effect bacula-rescue was > added/removed a few times and searching through the SPEC it appears > bacula-rescue's obseleted by either bacula-client or bacula-mysql (and > sqlite and postgresql) depending which you require. > > [EMAIL PROTECTED] ~]# rpm -qf /etc/bacula/rescue/ > bacula-client-1.38.5-4 > [EMAIL PROTECTED] ~]# rpm -qil bacula-client | grep rescue > /etc/bacula/rescue > /etc/bacula/rescue/Makefile > /etc/bacula/rescue/Makefile.in > [snip] > /etc/bacula/rescue/linux/cdrom/bacula/bin/bacula-fd > > It's in the RPM seemingly! > > Aha! It's there on one of the other hosts, so I must've deleted it on > my initial test host by stupidly doing a "make clean" or something at > some stage. > > > If that is the case, then there is something wrong with the spec file > > when it builds the rescue code. It should do a configure and create the > > bin directory. > > I'm guessing the SPEC's fine, the first time it choked when I tried to > create the rescue environment because I wasn't doing it correctly. A > "make clean" to get me back to the starting point got me further back > than that by cleaning up the bacula/bin dir. > > > Hmmm. It looks like it also forgot to configure the rescue directory > > although that may not be totally necessary if it create the appropriate > > file in one of the subdirectories -- it is called something like > > "rpm-release". > > Yep, there's a 0 byte rpm_release in /etc/bacula/rescue/linux/cdrom. > > > Given the problems you were having I assumed you had loaded from source, > > but it looks like the rpm is broken. If I remember correctly, I made the > > 1.38.5 rpm or perhaps it was 1.38.4 -- I forget now. > > I think it may well have been me breaking a working rescue environment > with a careless "make clean". I'll remove and reinstall the RPM on my > test host and go from there. > > Thanks for the help!
OK, I'm pleased to see that the rpm works as it should. Building the Rescue CD is another problem -- hopefully it will work. I suspect CentOS is close enough to Fedora that it should. In any case, IMO it is well worth the effort if ever you have problems. -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users