`sudo /etc/init.d/couchdb stop` fails, doesn't kill couchdb
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
couchdb (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Easy to reproduce:
jderose@jgd-ws:~$ sudo apt-get install couchdb
.
.
jderose@jgd-ws:~$ sudo /etc/init.d/couchdb stop
* Stopping database server couchdb [fail]
jderose@jgd-ws:~$ ps -ef | grep couchdb
couchdb 28779 1 0 04:49 ? 00:00:00 /bin/sh -e /usr/bin/couchdb -a /etc/couchdb/
couchdb 28794 28779 0 04:49 ? 00:00:00 /bin/sh -e /usr/bin/couchdb -a /etc/couchdb/
couchdb 28795 28794 0 04:49 ? 00:00:00 /usr/lib/
couchdb 28811 28795 0 04:49 ? 00:00:00 heart -pid 28795 -ht 11
jderose 28893 14345 0 04:51 pts/1 00:00:00 grep --color=auto couchdb
It would be great to SRU a fix for this because if `/etc/init.
https:/
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: couchdb 1.0.1-0ubuntu18
ProcVersionSign
Uname: Linux 3.2.0-27-generic x86_64
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
Date: Sun Jul 15 04:42:25 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120122)
PackageArchitec
SourcePackage: couchdb
UpgradeStatus: No upgrade log present (probably fresh install)
Hmm, after digging into this further, this bug is very weird. "stop" is only broken immediately after the install. For example, this doesn't work:
sudo apt-get install couchdb
sudo /etc/init.d/couchdb stop
But this does work:
sudo apt-get install couchdb
<reboot>
sudo /etc/init.d/couchdb stop