[Bug 878600] [NEW] 'service start rabbitmq-server' does not fully detach from parent

Scott Moser smoser at canonical.com
Thu Oct 20 00:52:39 UTC 2011


Public bug reported:

$ ssh SOMEHOST "sh -c '{ sudo apt-get install -y rabbitmq-server; echo FINISHED; } | tee my.log'"
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  rabbitmq-server
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 0 B/1,036 kB of archives.
After this operation, 1,790 kB of additional disk space will be used.
Selecting previously deselected package rabbitmq-server.
(Reading database ... 28934 files and directories currently installed.)
Unpacking rabbitmq-server (from .../rabbitmq-server_2.5.0-1ubuntu2_all.deb) ...
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Processing triggers for ureadahead ...
Setting up rabbitmq-server (2.5.0-1ubuntu2) ...
Starting rabbitmq-server: SUCCESS
rabbitmq-server.
FINISHED

After 'FINISHED' is written (indicating that obviously the apt-get
finished) the ssh connection and 'tee' stay around.

you can then 'apt-get --purge remove rabbitmq-server' and see bug 878597
and then reproduce it.

While the connection and tee are hung, you can then run the following to
stop the server, which will result in the ssh command finishing.

$ sudo service rabbitmq-server stop
Stopping rabbitmq-server: rabbitmq-server.


This was found when launching devstack (devstack.org) from an ssh connection.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: rabbitmq-server 2.5.0-1ubuntu2
ProcVersionSignature: User Name 3.0.0-12.20-virtual 3.0.4
Uname: Linux 3.0.0-12-virtual x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Thu Oct 20 00:45:58 2011
Ec2AMI: ami-87bb74ee
Ec2AMIManifest: ubuntu-images-testing-us/ubuntu-oneiric-daily-amd64-server-20111019.manifest.xml
Ec2AvailabilityZone: us-east-1c
Ec2InstanceType: m1.large
Ec2Kernel: aki-825ea7eb
Ec2Ramdisk: unavailable
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: rabbitmq-server
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: rabbitmq-server (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug ec2-images oneiric

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to rabbitmq-server in Ubuntu.
https://bugs.launchpad.net/bugs/878600

Title:
  'service start rabbitmq-server' does not fully detach from parent

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/878600/+subscriptions



More information about the Ubuntu-server-bugs mailing list