anacron prints spurious debug message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
anacron (Debian) |
Fix Released
|
Unknown
|
|||
anacron (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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_
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
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.
Related branches
Changed in anacron: | |
status: | New → Incomplete |
Changed in anacron: | |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in anacron: | |
status: | Unknown → New |
Changed in anacron (Debian): | |
status: | New → Fix Committed |
Changed in anacron (Debian): | |
status: | Fix Committed → Fix Released |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thank you for taking the time to report this bug and helping to make
Ubuntu better. You reported this bug a while ago and there hasn't been
any activity in it recently. We were wondering is this still an issue
for you? Can you try with latest Ubuntu release? Thanks in advance.
status incomplete
subscribe
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org
t6uMACgkQ06FgkP ZwicSsAgCgkI25q 3SE59BKf3jQf1mD wFDf PZM2JNL7bu9Zrin cb
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAki
HHcAnA7QXkyZKXW
=LMeY
-----END PGP SIGNATURE-----