status_of_proc is returning incorrect error code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dovecot (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
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
ProcVersionSign
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
Changed in dovecot (Ubuntu): | |
status: | New → Invalid |
This is related to bug: /bugs.launchpad .net/ubuntu/ +source/ lsb/+bug/ 683640
https:/