Kern Sibbald wrote:
On Tuesday 04 July 2006 18:17, Niels Huylebroeck wrote:
  
I thought the whole point about 2.6 was that all the /lib/tls
dependencies were gone cause they were compiled inside kernel ?
    

Yes, I think you are right.  However, RedHat kept /lib/tls around even with 
2.6 kernels through FC4.  /lib/tls still exists in FC5, but it is empty.

After thinking about it, I would recommend that you just change the name 
to /lib/broken-tls and see what happens.  That is what I did here with 2.4 
kernels and it resolved all the problems.  

I never saw any of the /lib/tls problems with Fedora systems FC4 or FC5 where 
the kernel was 2.6 by default.
  
My backups finally ran last night. The LD_ASSUME_... environment did the trick.
Does activating this variable have any negative performance on the backup ?

Otherwise I'd suggest you change the detection (which is still present in RedHat SysV init scripts supplied in the bacula tarball)
to not filter on the specific kernel version, but always use the environment variable when /lib/tls exists and /etc/redhat-release exists.

Might be a bit harsh but it should prevent further cases like this.

Here's the part in the SysV init scripts :
# if /lib/tls exists, force Bacula to use the glibc pthreads instead
if [ -d "/lib/tls" -a $OS = "Linux" -a `uname -r | cut -c1-3` = "2.4" ] ; then
     export LD_ASSUME_KERNEL=2.4.19
fi

I'd change the if statement to
if [ -d "/lib/tls" -a $OS = "Linux" -f "/etc/redhat-release" ] ; then

I'll try the environment fix and let you know tomorrow how it went.
    
You might've guessed, the backup finally ran automatically. Thanks for all your support.
-- 
Vriendelijke groeten,          ^ Bubbles IT
                               ^ Oude Heerweg 175
Niels Huylebroeck              ^ 9160 Lokeren, Belgie
Systeembeheerder, Programmeur  ^ Tel: +32(0)9/355 13 31
[EMAIL PROTECTED]            ^ Fax: +32(0)9/355 13 41

.. Key         : http://www.bubbles-it.be/pgp/niels.asc            ..
.. Fingerprint : 3885 CC0B C7A4 78CC 47DE 47AF 896A 6C40 80FA AF0F ..
.. Keyserver   : http://pgp.mit.edu            Key-ID : 0x80FAAF0F ..

A diplomat is a person who can tell you to go to hell in such a way
that you actually look forward to the trip.
  Caskie Stinnett, "Out of the Red"
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to