rabbit creates new PAM session

Bug #913464 reported by Steve Kowalik
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
rabbitmq-server (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

rabbitmqctl creates a new PAM session by su'ing to the rabbitmq user. This actually causes a bug where you can't shut down due to having an open session on shutdown.

Tags: patch
Revision history for this message
Dave Walker (davewalker) wrote :

Thanks, I believe this might be a duplicate.

Changed in rabbitmq-server (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Thomas Herve (therve) wrote :

The attached debdiff fixes the problem for me: it uses start-stop-daemon, and avoid the script in /usr/sbin that uses su to change ID.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "rabbitmq-server_2.6.1-1ubuntu4.debdiff" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rabbitmq-server - 2.6.1-1ubuntu4

---------------
rabbitmq-server (2.6.1-1ubuntu4) precise; urgency=low

  * Use start-stop-daemon in the init script, removing usage of su
    (LP: #913464)
 -- Thomas Herve <email address hidden> Fri, 27 Jan 2012 14:58:19 +0100

Changed in rabbitmq-server (Ubuntu):
status: New → Fix Released
Revision history for this message
Thomas Herve (therve) wrote :

The new version 2.7 pushed in bug #922600 lost the patch applied by this bug, introducing the problem again.

Revision history for this message
Richard Merren (richard-merren) wrote :

I am seeing what I believe is this bug. I am unable to shutdown without first executing "sudo service rabbitmq-server stop" to shut down the rabbitmq server. Unless I do this, instead of shutting down I am just returned to the lightdm login screen over and over.

This happened both in 11.10 and in 12.04 beta. I am using rabbitmq-server package version 2.7.1-0ubuntu1.

Loïc Minier (lool)
Changed in rabbitmq-server (Ubuntu):
status: Fix Released → Confirmed
status: Confirmed → Fix Released
Revision history for this message
James Page (james-page) wrote :

This fix has now been restored in the latest upload to precise.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.