[Pkg-puppet-devel] Bug#527381: Bug#527381: purge fails

Stig Sandbeck Mathisen ssm at debian.org
Sun May 10 14:27:44 UTC 2009


On Fri, May 08, 2009 at 03:08:15PM -0700, Russ Allbery wrote:
> Stig Sandbeck Mathisen <ssm at debian.org> writes:
> 
> >  * Moving adduser from Depends: to Pre-Depends
> 
> This requires debian-devel discussion and approval.

Red Tape Surprise. :)  Probably not without reasons.

> Why is puppet calling adduser in preinst anyway?  Usually this can be done in
> postinst.

From my tiny bit of testing, it seems to be working fine from postinst. I've
updated my patch to do the following:

* Moving adduser call from preinst to postinst

* adding "--quiet" to adduser, and removing redirection of output to /dev/null

* Running adduser only if the "puppet" account is not present

* Running deluser and delgroup only if the binaries are present on the system

-- 
Stig Sandbeck Mathisen <ssm at debian.org>
  Computers have feelings too!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: puppet_527381_2.diff
Type: text/x-diff
Size: 2002 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20090510/b98c34c8/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20090510/b98c34c8/attachment.pgp>


More information about the Pkg-puppet-devel mailing list