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

2011-06-10 Thread Lars Wirzenius
I've just reviewed the discussion so far, here's my best attempt at a summary of the current status: * To create an user, a maintainer script should call adduser --system foo. It is not necessary to wrap this in a check for whether the user exists. * When the package is removed, the user

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

2011-06-10 Thread Roger Leigh
On Fri, Jun 10, 2011 at 10:12:20AM +0100, Lars Wirzenius wrote: I've just reviewed the discussion so far, here's my best attempt at a summary of the current status: * To create an user, a maintainer script should call adduser --system foo. It is not necessary to wrap this in a check for

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

2011-06-10 Thread Simon McVittie
On Fri, 10 Jun 2011 at 10:12:20 +0100, Lars Wirzenius wrote: * Should packages also remove the contents of the system account's home directory? Should this be done upon package remove or purge? I think packages should remove their state on remove/purge (as appropriate), just like they do now.

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

2011-06-10 Thread Bill Allombert
On Fri, Jun 10, 2011 at 10:12:20AM +0100, Lars Wirzenius wrote: I've just reviewed the discussion so far, here's my best attempt at a summary of the current status: * To create an user, a maintainer script should call adduser --system foo. It is not necessary to wrap this in a check for