invoke-rc.d $foo stop prints "degraded"

Bug #1421058 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
Low
Martin Pitt
sysvinit (Ubuntu)
Fix Released
Low
Martin Pitt

Bug Description

During dist-upgrade I see a lot of
"
degraded
"

Lines.

It seems like systemd is leaking those through invoke-rc.d calls.

E.g. $ invoke-rc.d apport stop

Prints "degraded", note that my machine is systemd-booted and is currently in degraded state.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: sysv-rc 2.88dsf-53.2ubuntu8
ProcVersionSignature: Ubuntu 3.18.0-9.10-generic 3.18.2
Uname: Linux 3.18.0-9-generic x86_64
ApportVersion: 2.16.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Feb 12 03:52:47 2015
InstallationDate: Installed on 2013-08-29 (531 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130829)
PackageArchitecture: all
SourcePackage: sysvinit
UpgradeStatus: Upgraded to vivid on 2014-11-16 (87 days ago)

Revision history for this message
Dimitri John Ledkov (xnox) wrote :
tags: added: systemd-boot
Revision history for this message
Martin Pitt (pitti) wrote :

Right, this is visible with sh -x:

$ sh -x /usr/sbin/invoke-rc.d apport stop
+ systemctl is-system-running
degraded

That's my fault from the recent fix for avoiding deadlocks.

Changed in sysvinit (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

This also affects ​​​/lib/lsb/init-functions.d/40-systemd.

Changed in sysvinit (Ubuntu):
status: In Progress → Fix Committed
Changed in systemd (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :
Changed in systemd (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sysvinit - 2.88dsf-53.2ubuntu9

---------------
sysvinit (2.88dsf-53.2ubuntu9) vivid; urgency=medium

  * Call systemctl is-system-running with --quiet to avoid confusing output.
    (LP: #1421058)
 -- Martin Pitt <email address hidden> Sun, 15 Feb 2015 16:39:00 +0100

Changed in sysvinit (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 218-10ubuntu2

---------------
systemd (218-10ubuntu2) vivid; urgency=medium

  * Merge changes from experimental branch.

systemd (218-11) UNRELEASED; urgency=medium

  * /lib/lsb/init-functions.d/40-systemd: Call systemctl is-system-running
    with --quiet. (LP: #1421058)
  * debian/systemd.postrm: Clean <email address hidden> and remote-fs.target
    enablement symlinks on purge. (Closes: #778499)
  * Move all Debian specific units in the systemd package into
    debian/extra/units/ and simplify debian/systemd.install.
  * Enable timesyncd by default. Add a config drop-in to not start if ntp,
    openntpd, or chrony is installed. (Closes: #755722)
  * debian/systemd.links: Drop obsolete hwclockfirst.service mask link, this
    was dropped in wheezy's util-linux already.
 -- Martin Pitt <email address hidden> Mon, 16 Feb 2015 19:49:17 +0100

Changed in systemd (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.