Your message dated Tue, 08 May 2012 14:05:35 +0100
with message-id <[email protected]>
and subject line Re: rabbitmq-server: fails to purge: `userdel rabbitmq' 
returned error code 8
has caused the Debian Bug report #646175,
regarding rabbitmq-server: fails to purge: `userdel rabbitmq' returned error 
code 8
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.)


-- 
646175: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646175
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rabbitmq-server
Version: 2.6.1-1
Severity: important

# apt-get --purge remove rabbitmq-server
Reading package lists... Done
Building dependency tree
...
Stopping rabbitmq-server: rabbitmq-server.
Purging configuration files for rabbitmq-server ...
Removing user `rabbitmq' ...
Warning: group `rabbitmq' has no more members.
userdel: user rabbitmq is currently logged in
/usr/sbin/deluser: `/usr/sbin/userdel rabbitmq' returned error code 8.
Exiting.
dpkg: error processing rabbitmq-server (--purge):
 subprocess installed post-removal script returned error exit status 1
Processing triggers for man-db ...
configured to not write apport reports
                                      Errors were encountered while
processing:
 rabbitmq-server
E: Sub-process /usr/bin/dpkg returned an error code (1)


I think that the issues is that the 'beam' program is not stopping soon
enough or at all.

I'm able to avoid the failure with this:
# diff -u info/rabbitmq-server.postrm.dist info/rabbitmq-server.postrm
--- info/rabbitmq-server.postrm.dist    2011-09-27 16:35:50.000000000
+0000
+++ info/rabbitmq-server.postrm 2011-10-21 21:22:22.000000000 +0000
@@ -39,6 +39,7 @@
         if getent passwd rabbitmq >/dev/null; then
                 # Stop epmd if run by the rabbitmq user
                 pkill -u rabbitmq epmd || :
+                pkill -u rabbitmq beam || :
 
                 deluser rabbitmq
         fi


This is ubuntu bug 878597.



-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric'), (100, 'oneiric-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-12-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



--- End Message ---
--- Begin Message ---
Package: rabbitmq-server
Version: 2.8.2-1

This bug was fixed in 2.8.2-1 (by not invoking 'userdel').

http://lists.rabbitmq.com/pipermail/rabbitmq-announce/attachments/20120430/7c32a896/attachment.txt



--- End Message ---

Reply via email to