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

Bug#621833: System user handling in packages: status of discussion



On Fri, Jun 10, 2011 at 06:33:04PM +0200, Julien Cristau wrote:
> On Fri, Jun 10, 2011 at 11:00:14 +0100, Roger Leigh wrote:
> 
> > Would "lockuser" need to be in the adduser package?  Given that
> > adduser is only priority:important, it's not guaranteed to be present
> > when postrm is run, so the operation could fail.  Maybe passwd is a
> > better place for it, given that it contains useradd etc., and is
> > priority:required.
> > 
> Wouldn't lockuser be called on package removal, instead of purge?  In
> which case a dependency on adduser would cover it?

I guess since you're not removing the user after any files they owned
are purged (which necessitates doing it in at purge) then doing it in
at remove time is just fine.  If the depends on adduser is still
valid at remove time (I'm certain it is), then I agree it lockuser
could be in the adduser package.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature


Reply to: