[Pkg-sysvinit-devel] Bug#721149: sysvinit-utils: Service script misses some scripts which implement a status option

Steven Ayre steveayre at gmail.com
Wed Aug 28 13:52:59 UTC 2013


Package: sysvinit-utils
Version: 2.88dsf-41
Severity: normal

Dear Maintainer,

The current service script detects services as running, not running or unknown.

Unknown is when scripts do not implement the 'service' option. This is detected by searching the init.d script for "\(^\|\W\)status)", however this misses several scripts which do implement a usable service option.

Example 1:
mysql's init.d quotes its options in the case statement. The service script misses the 'status') string.

Example 2:
This will miss any status that is not the last in the list. A 3rd-party init.d script was seen to use the status|running) string.


-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sysvinit-utils depends on:
ii  libc6        2.13-38
ii  libselinux1  2.1.9-5

sysvinit-utils recommends no packages.

Versions of packages sysvinit-utils suggests:
ii  bootlogd  2.88dsf-41
pn  sash      <none>

-- no debconf information



More information about the Pkg-sysvinit-devel mailing list