[Bug 1582813] [NEW] service --status-all always reports upstart managed daemons as running
James Page
james.page at ubuntu.com
Tue May 17 16:52:47 UTC 2016
Public bug reported:
The change to lsb-base that landed into -updates on the 12th of May:
lsb (4.1+Debian11ubuntu6.1) trusty; urgency=medium
* Add 01-upstart-lsb from the upstart package and make
executing rc.d scripts no-op if there is an upstart
job for that script. (LP: #1273462)
-- Zhang Hua <joshua.zhang at canonical.com> Thu, 06 Aug 2015 11:11:16
-0500
changed the behaviour of init.d scripts to pass through to the
associated upstart configuration for process management, where packages
ship both an upstart configuration and an init.d configuration.
This has a rather nasty side effect on 'service --status-all', which
calls the 'status' method on all installed init.d scripts - this gets
translated into:
status <service-name>
for upstart scripts, which correctly identifies the process as not
running, but always returns a 0 return code. As a result, --status-all
incorrectly identifies upstart processes as running even when they are
not.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: lsb-base 4.1+Debian11ubuntu6.1
ProcVersionSignature: User Name 3.13.0-86.130-generic 3.13.11-ckt39
Uname: Linux 3.13.0-86-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
Date: Tue May 17 16:47:30 2016
Dependencies:
Ec2AMI: ami-0000015b
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small.osci
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
PackageArchitecture: all
SourcePackage: lsb
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: lsb (Ubuntu)
Importance: Undecided
Status: Confirmed
** Tags: amd64 apport-bug ec2-images regression-update trusty
** Description changed:
The change to lsb-base that landed into -updates on the 12th of May:
lsb (4.1+Debian11ubuntu6.1) trusty; urgency=medium
- * Add 01-upstart-lsb from the upstart package and make
- executing rc.d scripts no-op if there is an upstart
- job for that script. (LP: #1273462)
+ * Add 01-upstart-lsb from the upstart package and make
+ executing rc.d scripts no-op if there is an upstart
+ job for that script. (LP: #1273462)
- -- Zhang Hua <joshua.zhang at canonical.com> Thu, 06 Aug 2015 11:11:16
+ -- Zhang Hua <joshua.zhang at canonical.com> Thu, 06 Aug 2015 11:11:16
-0500
changed the behaviour of init.d scripts to pass through to the
associated upstart configuration for process management, where packages
ship both an upstart configuration and an init.d configuration.
This has a rather nasty side effect on 'service --status-all', which
calls the 'status' method on all installed init.d scripts - this gets
translated into:
- status <service-name>
+ status <service-name>
for upstart scripts, which correctly identifies the process as not
running, but always returns a 0 return code. As a result, --status-all
- incorrectly identifies upstart processes as actually running.
+ incorrectly identifies upstart processes as running even when they are
+ not.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: lsb-base 4.1+Debian11ubuntu6.1
ProcVersionSignature: User Name 3.13.0-86.130-generic 3.13.11-ckt39
Uname: Linux 3.13.0-86-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
Date: Tue May 17 16:47:30 2016
Dependencies:
-
+
Ec2AMI: ami-0000015b
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small.osci
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
PackageArchitecture: all
SourcePackage: lsb
UpgradeStatus: No upgrade log present (probably fresh install)
** Tags added: regression-update
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lsb in Ubuntu.
https://bugs.launchpad.net/bugs/1582813
Title:
service --status-all always reports upstart managed daemons as running
Status in lsb package in Ubuntu:
Confirmed
Bug description:
The change to lsb-base that landed into -updates on the 12th of May:
lsb (4.1+Debian11ubuntu6.1) trusty; urgency=medium
* Add 01-upstart-lsb from the upstart package and make
executing rc.d scripts no-op if there is an upstart
job for that script. (LP: #1273462)
-- Zhang Hua <joshua.zhang at canonical.com> Thu, 06 Aug 2015 11:11:16
-0500
changed the behaviour of init.d scripts to pass through to the
associated upstart configuration for process management, where
packages ship both an upstart configuration and an init.d
configuration.
This has a rather nasty side effect on 'service --status-all', which
calls the 'status' method on all installed init.d scripts - this gets
translated into:
status <service-name>
for upstart scripts, which correctly identifies the process as not
running, but always returns a 0 return code. As a result, --status-all
incorrectly identifies upstart processes as running even when they are
not.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: lsb-base 4.1+Debian11ubuntu6.1
ProcVersionSignature: User Name 3.13.0-86.130-generic 3.13.11-ckt39
Uname: Linux 3.13.0-86-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
Date: Tue May 17 16:47:30 2016
Dependencies:
Ec2AMI: ami-0000015b
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small.osci
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
PackageArchitecture: all
SourcePackage: lsb
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/1582813/+subscriptions
More information about the foundations-bugs
mailing list