Le 31/10/2013 14:47, Boris Pek a écrit :
Hi Barry,

Package: awffull
Version: 3.10.2-4
Severity: important
Tags: patch

I get the following error message:

/etc/cron.daily/awffull:
Use of "Really Quiet (-Q)" has been deprecated.
Initially processed default config file: /etc/awffull/awffull.conf
awffull 3.10.2 (Linux 3.11-1-amd64) English
Error: Can't open log file 0
ERROR: Running awffull, exit status: 1

obviously /etc/cron.daily/awffull is not updated to the current command line
parameters

...

As I see in debian/changelog you have already fixed this problem (see #496968).
Could you look at new bug report?

Another update for /etc/cron.daily/awffull is to fix how the configuration file 
is used using:
  -c, --config=FILE          Use configuration file 'FILE'

You should not use "${AWFFULL} ${i}" because ${i} will be used as the log file 
not as the configuration file.
So you will get the error:
Cannot recognise log format. Manually configure "LogType" in the config file.
ERROR: Running awffull, exit status: 1


Use "${AWFFULL} --config=${i}" instead.


A complete patch could be:
--- debian/awffull.cron.daily   2013-10-18 19:35:33.000000000 +0200
+++ /etc/cron.daily/awffull     2015-04-30 15:17:23.514272321 +0200
@@ -30,7 +30,7 @@
   [ -w ${OUTDIR} ] || { echo "ERROR: OutputDir not writable: ${OUTDIR}"; 
continue; };
# Run Really quietly, exit with status code if !0
-  ${AWFFULL} -v 0 ${i} -Q || { echo "ERROR: Running awffull, exit status: $?"; 
continue; };
+  ${AWFFULL} --config=${i} || { echo "ERROR: Running awffull, exit status: 
$?"; continue; };
   RET=$?;
# Non rotated log file
@@ -43,7 +43,7 @@
     # readable ?
     [ -r "${NLOGFILE}" ] || { echo "WARNING: Non-rotated LogFile is not readable: 
${NLOGFILE}"; continue; };
- ${AWFFULL} -v 0 ${i} -Q ${NLOGFILE};
+    ${AWFFULL} --config=${i} ${NLOGFILE};
     RET=$?;
   fi;
 done;

--
Dr. Ludovic Rousseau


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to