Bug#284788: [Logcheck-devel] Bug#284788: logcheck: Installs cron.d file before creating user causing cron to complain
Eric Evans
eevans at sym-link.com
Thu Dec 30 04:20:44 UTC 2004
On Tue, Dec 28, 2004 at 03:42:21AM -0500, Todd Troxell muttered these words:
> On Wed, Dec 08, 2004 at 11:32:49AM -0800, Jefferson Cowart wrote:
> > After installing logcheck on my system last night I did not recieve any
> > reports. Upon checking the logs I found that the logcheck file had been
> > copied into /etc/cron.d before adduser had been run. Cron picked up the
> > new file and then complained that the user was invalid. Relevant log
> > lines below. I just restarted cron which I believe has fixed the issue.
> > Perhaps this can be fixed by copying the file in postinst after the user
> > has been created.
>
> Thanks for the report.
>
> The cron jobs are now commented by default, and postinst enables them. This
> should solve your problem.
>
> The fix is in CVS.
/etc/cron.d/logcheck is a conffile, are we allowed, (read: policy), to
modify it during post-install?
This seems similar to what happened with bugs #222240 and #226937, (now
archived), that requested the ability to select a cron interval via
debconf. I committed code to do just that before someone pointed out that
is was a conffile and shouldn't be modified by the maintainer scripts,
(we subsequently rolled it back out).
--
Eric Evans
eevans at sym-link.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20041229/16736c92/attachment.pgp
More information about the Logcheck-devel
mailing list