Hello, We have got a rare race condition in logcheck in which a cron job can attempt to run during the install but before postinst, where the adduser happens. This was reported[1] in #284788. Moving the adduser to preinst would close this bug, but I've heard it's sometimes naughty to adduser in preinst. :> What do you think about this case? Also, would this really require a pre-depends even though adduser is in base? Cheers, -Todd [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=284788 -- [ Todd J. Troxell ,''`. Student, Debian GNU/Linux Developer, SysAdmin, Geek : :' : http://debian.org || http://rapidpacket.com/~xtat `. `' `- ] -------------- 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/20041230/d3fe21a9/attachment.pgp
Op do, 30-12-2004 te 22:21 -0800, schreef Don Armstrong:> On Thu, 30 Dec 2004, Todd Troxell wrote: > > What do you think about this case? > > Why not just touch the crontab right after creating the user ifThat's probably impossible; the crontab is a cron.d-style script that is unpacked with the rest of the files. -- EARTH smog | bricks AIR -- mud -- FIRE soda water | tequila WATER -- with thanks to fortune
On Thu, Dec 30, 2004 at 10:21:57PM -0800, Don Armstrong wrote:> Why not just touch the crontab right after creating the user ifThis works, Thanks. I am just wondering if this is a policy violation. 10.7.3 says preserve local changes, and I would not consider the file preserved if the mtime is changed. This does seem like the best solution, however I thought I'd see what you [-devel] think about modifying timestamps. -- [ Todd J. Troxell ,''`. Student, Debian GNU/Linux Developer, SysAdmin, Geek : :' : http://debian.org || http://rapidpacket.com/~xtat `. `' `- ] -------------- 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/20050103/d9a6ef77/attachment.pgp