Public bug reported:

Binary package hint: anacron

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-13ubuntu2.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.

** Affects: anacron (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: anacron (Debian)
     Importance: Undecided
         Status: New

-- 
anacron prints spurious debug message
https://bugs.launchpad.net/bugs/124518
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to