Comment 40 for bug 606491

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 606491] Re: start: Job is already running: anacron

On Tue, Jun 10, 2014 at 02:42:23AM -0000, Daniel Richard G. wrote:
> If anacron sending out e-mail under such circumstances is a desired
> behavior, could you at least make the message more intelligible, with a
> mention of the likelihood that a previously-started cron job has hung?

> Even nicer would be some shell magic that greps the process table for
> children of the existing anacron process, so that the message can
> actually name what specific job is at fault---and users can file bugs
> against the appropriate package(s) instead of coming here.

I wouldn't block someone from making such a change, but again, this is
fixing secondary symptoms instead of the real bug. anacron should not
block indefinitely and fail to run again due to misbehaving cron jobs; and
the misbehaving cronjob that we know about should be fixed so that it
doesn't misbehave. Making the error mails clearer is, to put it bluntly,
polishing a turd.