On May 19, 2001, Olivier Nicole <[EMAIL PROTECTED]> wrote:

> I have upgraded to tar 1.13.19 but when I try to activate amanda on a
> client machine, I get disk off line error:

> FAILURE AND STRANGE DUMP SUMMARY:
>   oak        /home/fidji lev 0 FAILED [disk /home/fidji offline on oak?]
>   oak        /home/hawai lev 0 FAILED [disk /home/hawai offline on oak?]

Is this on Solaris?

It seems that the environment clean-up that sendsize does before
running runtar is getting Solaris/x86' start-up code somewhat
confused.  At least, I'm getting crashes very early in the program
execution, before ld.so gets to open librt.so (the first shared
library tar depends on).  This appears to be a bug that triggers in a
very particular condition: when the environment is empty.  It doesn't
trigger with 1.12 because it just doesn't depend on librt.so.

Anyway, I've managed to work around the bug by wrapping the tar
1.13.19 executable with a script that exports an environment variable
set to an empty string:

#! /bin/sh
X=; export X
exec $0.exe ${1+"$@"}

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Reply via email to