Hi Henry

Quoting "Henry Bremridge" <[email protected]>:

Ola

Aghhhhhh... :)

1/      Keeping MAILON="always"
        Commenting out EXITON line

Just commenting it out do not help as exit on error is the default. You need
to set it to something else, but I do not remember right now the correct value.

        IF there is an error in the sources.list then cron-apt does not try
        and upgrade

        If all lines in sources.list work, then cron-apt works like a dream

:-)

2/      All entries are going to syslog
        There are no files under /var/log/cron-apt

Ok.

Config file (to avoid doubt) that generated those logfiles was as follows

APTCOMMAND=/usr/bin/aptitude
RUNSLEEP=3600
MINTMPDIRSIZE=10
ACTIONDIR="/etc/cron-apt/action.d"
NOLOCKWARN=""
ERROR="/var/log/cron-apt/error"
TEMP="/var/log/cron-apt/temp"
LOG="/var/log/cron-apt/log"
MAIL="/var/log/cron-apt/mail"
MAILTO="root"
MAILON="always"
SYSLOGON="output"
DEBUG="output"
OPTIONS="-o quiet=1"
DIFFIGNORE="^\(Get:[[:digit:]]\+\|Hit\|Ign\|Del\|Fetched\|Freed\|Reading\)[[:space:]]"


Many thanks for your help

You are perfectly welcome

// Ola

--
Henry

On Thu, May 07, 2009 at 08:12:12AM +0200, Ola Lundqvist wrote:
Hi Henry

I have checked your log file now and that explains what happens.

You have the following settings enabled:
 MAILON=error
 EXITON=error

This means that an email is sent when an error occurs (check your mail
settings if you have not got such) and that it should also exit on
errors.

So this is actually how it should work.

I'm closing this bug now.

Thanks a lot for the report and the help to collect information. It is
always good to refresh the knowledge if my own software. :-)

Best regards,

// Ola





--
 --- Inguza Technology AB --- MSc in Information Technology ----
/  [email protected]                    Annebergsslingan 37        \
|  [email protected]                   654 65 KARLSTAD            |
|  http://inguza.com/                Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------



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

Reply via email to