tags 385269 + confirmed
tags 385269 + upstream
thanks


Thomas Parmelan wrote:
On the first cron.daily run after installing backup-manager I received
the following error :

/etc/cron.daily/backup-manager:
/usr/share/backup-manager/files.sh: line 318: /tmp/bm-list.I29365: No such file 
or directory

Indeed, that bug appeared in last development versions of BM, it's reported upstream:

http://bugzilla.backup-manager.org/cgi-bin/show_bug.cgi?id=120

I think the problem lies in the clean_directory() function in
/usr/share/backup-manager/files.sh: the temporary file ($list) is never
created if no file is found. Touching it should fix the problem, as in
the following patch (untested) :

--- files.sh    2006-08-04 14:04:19.000000000 +0200
+++ /tmp/files.sh       2006-08-30 10:38:21.000000000 +0200
@@ -327,6 +327,7 @@
# First list all the files to process
     list=$(mktemp /tmp/bm-list.XXXXXX)
+    touch $list
     for file in $directory/*
     do
         if [ ! -e $file ]; then


Indeed, but as you can see in the upstream bug report, that bug triggered a question: does the purging system needs to be recursive or not (as archives are stored in the top-level directory)?

The fix to that bug will depend on the answer to that question.

Thanks for the report,

        Alexis.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to