[Bug 683650] [NEW] status_of_proc is returning incorrect error code

Psi-Jack erenfro at gmail.com
Wed Dec 1 13:47:30 GMT 2010


Public bug reported:

Executing /etc/init.d/dovecot fails with error code 4 when service is
not started.

As per lsb-init compliance:
If the status action is requested, the init script will return the following exit status codes.

0	program is running or service is OK
1	program is dead and /var/run pid file exists
2	program is dead and /var/lock lock file exists
3	program is not running
4	program or service status is unknown
5-99	reserved for future LSB use
100-149	reserved for distribution use
150-199	reserved for application use
200-254	reserved

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: dovecot-common 1:1.2.9-1ubuntu6.1
ProcVersionSignature: Ubuntu 2.6.32-26.48-server 2.6.32.24+drm33.11
Uname: Linux 2.6.32-26-server x86_64
Architecture: amd64
Date: Wed Dec  1 08:40:03 2010
InstallationMedia: Ubuntu-Server 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.2)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: dovecot

** Affects: dovecot (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
status_of_proc is returning incorrect error code
https://bugs.launchpad.net/bugs/683650
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dovecot in ubuntu.



More information about the Ubuntu-server-bugs mailing list