[Bug 433863] [NEW] image-store-proxy reports failure to start while it starts correctly
Thierry Carrez
thierry.carrez at ubuntu.com
Mon Sep 21 09:36:46 BST 2009
Public bug reported:
python-image-store-proxy 0.9.1-0ubuntu1
Sometimes the image-store-proxy will report failure to start, while it
is indeed started:
$ sudo service image-store-proxy start
* Starting Image Store Proxy image-store-proxy [fail]
$ sudo service image-store-proxy status
* Checking status of Image Store Proxy image-store-proxy [ OK ]
This comes from the way STARTTIME is used in /etc/init.d/image-store-
proxy.
If STARTTIME is undefined (or equal to 0) then its a race between the
init script and the pidfile creation in the backgrounded process, which
the shell sometimes wins.
This should be changed to either:
- always report success if STARTTIME is undefined and start-stop-daemon succeeded (no pidfile check)
- set STARTTIME to at least 1 second to have the race won by python most of the time
** Affects: image-store-proxy (Ubuntu)
Importance: Low
Status: Triaged
** Changed in: image-store-proxy (Ubuntu)
Importance: Undecided => Low
** Changed in: image-store-proxy (Ubuntu)
Status: New => Triaged
--
image-store-proxy reports failure to start while it starts correctly
https://bugs.launchpad.net/bugs/433863
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to image-store-proxy in ubuntu.
More information about the Ubuntu-server-bugs
mailing list