Your message dated Thu, 18 Jun 2009 04:17:18 +0000
with message-id <[email protected]>
and subject line Bug#528068: fixed in puppet 0.24.8-2
has caused the Debian Bug report #528068,
regarding purge fails, do not delete puppet group
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
528068: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528068
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: puppet
Version: 0.24.8-1
Severity: serious
Independently of #527381, the purge of puppet seems to fail (set -x
activated, and getent calls put in place):
lapse:/etc/puppet% sudo dpkg -P puppet
(Reading database ... 189333 files and directories currently installed.)
Removing puppet ...
Stopping puppet configuration management tool.
+ [ remove = purge ]
+ exit 0
Purging configuration files for puppet ...
+ rm -rf /var/lib/puppet
+ getent passwd puppet
puppet:x:112:119:Puppet configuration management
daemon,,,:/var/lib/puppet:/bin/false
+ getent group puppet
puppet:x:119:
+ deluser --system puppet
Removing user `puppet' ...
Warning: group `puppet' has no more members.
Done.
+ getent passwd puppet
+ :
+ getent group puppet
+ :
+ delgroup --system puppet
The group `puppet' does not exist.
dpkg: error processing puppet (--purge):
subprocess post-removal script returned error exit status 3
Processing triggers for man-db ...
Errors were encountered while processing:
puppet
It seems like `deluser --system puppet` deletes the group when it's
empty, but this causes delgroup to fail.
I think it would be best if the group (and user) weren't deleted at
all, as there may still be files owned by them on the system.
Also, for your information, some discussion about this on #d-d,
although I think not removing user or group is the best solution.
10 17:32 < madduck> is it normal that deluser --system username deletes the
user and the group?
10 17:33 < azeem> adduser adds the group as well, no?
10 17:33 < rleigh_> madduck: This bizzaro behaviour confused me a few weeks
back when I added a buildd user+group to the buildd package.
10 17:35 < rleigh_> adduser does add the group as well, but what if there are
other group members on removal. I tested a number of ways of addition and
removal, and
the observed behaviour seemed rather unclear and
under-specified.
10 17:35 < rleigh_> Sometimes it would keep the group around, and other times
not. This is with different combinations of --group and --system etc.
10 17:43 < madduck> rleigh_: :((
10 17:44 < madduck> rleigh_: it seems that deluser --system foo removes the
group foo is there are no more members
10 17:48 < rleigh_> madduck: That sucks. I went the the approach shown in
buildd.postinst and buildd.postrm at
http://git.debian.org/?p=buildd-tools/sbuild.git;a=tree;f=debian (based on
looking at the postgresql-common code)
10 17:49 < rleigh_> Here we just remove the user and assume that if the group
wasn't empty, deluser won't delete it (I'm slightly unsure if it's OK to
unilaterally
remove people from groups on package removal--I decided to
be convervative and leave them).
10 17:51 < madduck> rleigh_: can i quote you in a bug report?
10 17:52 < rleigh_> madduck: Sure.
10 17:56 < madduck> i am going to suggest not to remove user/group anyway,
since they might still own files.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-rc4-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages puppet depends on:
ii adduser 3.110 add and remove users and groups
ii facter 1.5.4-1 a library for retrieving facts fro
ii libopenssl-ruby 4.2 OpenSSL interface for Ruby
ii libruby [libxmlrpc-ruby] 4.2 Libraries necessary to run Ruby 1.
ii libshadow-ruby1.8 1.4.1-8 Interface of shadow password for R
ii libxmlrpc-ruby 4.2 transitional dummy package
ii lsb-base 3.2-22 Linux Standard Base 3.2 init scrip
ii ruby 4.2 An interpreter of object-oriented
Versions of packages puppet recommends:
ii libaugeas-ruby1.8 0.2.0-2 Augeas bindings for the Ruby langu
ii rdoc 4.2 Generate documentation from ruby s
puppet suggests no packages.
--
.''`. martin f. krafft <[email protected]> Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduck http://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)
--- End Message ---
--- Begin Message ---
Source: puppet
Source-Version: 0.24.8-2
We believe that the bug you reported is fixed in the latest version of
puppet, which is due to be installed in the Debian FTP archive:
puppet_0.24.8-2.diff.gz
to pool/main/p/puppet/puppet_0.24.8-2.diff.gz
puppet_0.24.8-2.dsc
to pool/main/p/puppet/puppet_0.24.8-2.dsc
puppet_0.24.8-2_all.deb
to pool/main/p/puppet/puppet_0.24.8-2_all.deb
puppetmaster_0.24.8-2_all.deb
to pool/main/p/puppet/puppetmaster_0.24.8-2_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrew Pollock <[email protected]> (supplier of updated puppet package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 16 Jun 2009 23:37:22 -0700
Source: puppet
Binary: puppet puppetmaster
Architecture: source all
Version: 0.24.8-2
Distribution: unstable
Urgency: high
Maintainer: Puppet Package Maintainers
<[email protected]>
Changed-By: Andrew Pollock <[email protected]>
Description:
puppet - centralised configuration management for networks
puppetmaster - centralised configuration management control daemon
Closes: 527381 528068 530752
Changes:
puppet (0.24.8-2) unstable; urgency=high
.
[ Micah Anderson ]
* Cherry-pick upstream versioncmp fix (redmine:#2110)
.
[ Andrew Pollock ]
* Enable waiting for certificates for the default value (upstream default
that was previously disabled or enabled with a 5 second value)
* Re-ship the vim syntax file in the correct location (it fell out after the
0.24.5-3 upload) (closes: #530752)
* Re-add the 0.24.5-3 changelog entry
* debian/puppet.postrm: don't delete the user or group (closes: #528068,
#527381)
* debian/puppet.{preinst,postinst}: Applied modified patch from Stig
Sandbeck Mathisen to call conditionally call adduser in the postinst, if
it's available
.
[ Nigel Kersten ]
* Switched to use install.rb, primarily to stop shebangs using /usr/bin/env
* Stopped using dh_movefiles, moved to dh_install
* debian/rules greatly cleaned up due to above two changes
.
[ Andrew Pollock ]
* debian/control: add rdoc, libopenssl-ruby and facter to build dependencies
* debian/control: depend on ruby1.8 instead of ruby to placate Lintian
* debian/puppet.install: brown paper bag release averted; install
/usr/lib/ruby/1.8
* debian/rules: ensure permissions on everything under /usr/lib/ruby/1.8 is
correct
Checksums-Sha1:
8b6e18517b1b1a1451b4ceb17eb6b1068020687e 1387 puppet_0.24.8-2.dsc
ff7f0dd2701d5b2685b5005a1e3bf6b37c9ba641 12446 puppet_0.24.8-2.diff.gz
fd78e74262d6298761eb03f2bca17c7faa838914 519198 puppet_0.24.8-2_all.deb
62ebddb1fc5e25bbeb15638c7651e40910de9d8a 46950 puppetmaster_0.24.8-2_all.deb
Checksums-Sha256:
a15da5b00f05296d3575645e30097aef97e4c6aba633a48783a9c501211e73d1 1387
puppet_0.24.8-2.dsc
3787a25d682afec6dfdbaf6adb425e524c004cc6f8966d5c7ccc76e628376bc2 12446
puppet_0.24.8-2.diff.gz
cf3b6617f8bd69417a091044c0045a4cd2f72523f4b93676786afbe6213a7072 519198
puppet_0.24.8-2_all.deb
fffacc3d27c5cf053f5a8dd4f72b7fca4f9f77839614263a572c032d7d528406 46950
puppetmaster_0.24.8-2_all.deb
Files:
e2e41356e405ef175bc72accaf6c4214 1387 admin optional puppet_0.24.8-2.dsc
c6ca251e1734b109be76f22232d4a129 12446 admin optional puppet_0.24.8-2.diff.gz
fe7f6588f10acdf775d845a0e17620b3 519198 admin optional puppet_0.24.8-2_all.deb
6c41cab136ac97c75bf29148263f01f2 46950 admin optional
puppetmaster_0.24.8-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAko5vhYACgkQIblXXKfZFgLZnACfW+avzBhUj6az8X7rnKBBetcx
4E8AnioUKskhVxefAZHHJ039tr+Y5dGV
=aM9T
-----END PGP SIGNATURE-----
--- End Message ---