cdbkup is a nice application that is stable from a long time. HOwever, from some time I see in my logs that the backups done with cdbkup give the following warning: /bin/tar: Semantics of -l option will change in the future releases. /bin/tar: Please use --one-file-system option instead. It is sufficient (at least I think) to change three lines to fix the problem and future screams of horror, here I present the patch. #################### --- cdbkup 2005-03-29 16:08:10.000000000 +0200 +++ cdbkup.old 2005-03-29 16:04:26.000000000 +0200 @@ -298,10 +298,10 @@ } $tarcmd = "cd ".esc_shell($dumpdir)." && $rgnutar -f - -cS"; -$tarcmd .= " --one-file-system " unless ($crossmp); +$tarcmd .= "l" unless ($crossmp); unless( $ziphere) { - $tarcmd .= " -z" if( $compress eq 'gz'); - $tarcmd .= " -j" if( $compress eq 'bz2'); + $tarcmd .= "z" if( $compress eq 'gz'); + $tarcmd .= "j" if( $compress eq 'bz2'); } $tarcmd .= " --listed-incremental=$listed". ########################## I realize this should go upstream, but in the meanwhile I am posting here.
It seems fixed now upstream, at least in gentoo 1.0-r1 is now ok.
Forgot to resolve the bug