Package: anacron
Version: 2.3-13.1
Severity: minor

I assume that when anacron is run from the command line and there are no
problems encountered then it should produce no output. However, if
there's a @monthly entry in the anacrontab, then anacron prints a
message like:

  Checking against 0 with 30

This looks a lot like a debug message and should probably be removed.

The offending line of code is introduced by
anacron_2.3-13.1.diff.gz into anacron-2.3/lock.c:consider_job()
and looks like:

  printf ("Checking against %d with %d\n", day_delta, period);

I'm running with this option:

 -d Don't fork to the background. In this mode, Anacron will output
    informational messages to standard error, as well as to syslog.
    The output of jobs is mailed as usual.

(among others), which only mentions output to stderr, not stdout.

However, in this case the message is confusing because the user has no
real idea of its context, so it probably should not be made to go
to stderr but should probably be removed altogether.

I thought I had reported this previously, but can't find it anywhere.
:-(

peace & happiness,
martin

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages anacron depends on:
ii  debianutils                   2.28.4     Miscellaneous utilities specific t
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  lsb-base                      3.1-24     Linux Standard Base 3.1 init scrip

Versions of packages anacron recommends:
ii  cron                          3.0pl1-104 management of regular background p
ii  postfix [mail-transport-agent 2.5.1-1    High-performance mail transport ag
ii  sysklogd [system-log-daemon]  1.5-2      System Logging Daemon



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

Reply via email to