[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

logcheck: adduser in preinst?



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    `. `' 
                                                             `-     ]

Attachment: signature.asc
Description: Digital signature


Reply to: