Bug#284788: [eevans at sym-link.com: Re: 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
Fri Dec 31 18:40:27 UTC 2004


On Thu, Dec 30, 2004 at 11:08:09PM -0500, Todd Troxell muttered these words:
> For the record:

Thank you, and I apologize for not replying to the list, it was my
intention to do so.

> ----- Forwarded message from Eric Evans <eevans at sym-link.com> -----
> 
> 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
> 
> 
> 
> ----- End forwarded message -----
> 
> -- 
> [   Todd J. Troxell                                         ,''`.
>       Student, Debian GNU/Linux Developer, SysAdmin, Geek  : :' :
>       http://debian.org || http://rapidpacket.com/~xtat    `. `' 
>                                                              `-     ]



-- 
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/20041231/2c809b18/attachment.pgp 


More information about the Logcheck-devel mailing list