update-rc.d warns about mismatching LSB header information for "defaults"

Bug #1334596 reported by dino99
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
Fix Released
Low
Martin Pitt

Bug Description

Utopic i386 booted with 'systemd-boot' and logged with gnome-shell

From time to time i'm seeing such update-rc.d init-script not matching the standard default LSB.

Setting up udev (204-12ubuntu1) ...
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: default start runlevel arguments (2 3 4 5) do not match udev Default-Start values (S)
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match udev Default-Stop values (none)
update-rc.d: warning: default start runlevel arguments (2 3 4 5) do not match udev-finish Default-Start values (S)
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match udev-finish Default-Stop values (none)
update-rc.d: warning: default start runlevel arguments (2 3 4 5) do not match lvm2 Default-Start values (S)
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match lvm2 Default-Stop values (none)

As i've found an old report with the same subject, i'm reporting against sysvinit, but feel free to select an other package if more appropriate.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614895

note: such kind of warnings are seen since a long time now. If that does not matter, then close that report.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: sysvinit-utils 2.88dsf-41ubuntu16
ProcVersionSignature: Ubuntu 3.15.0-6.11-generic 3.15.0
Uname: Linux 3.15.0-6-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.14.3-0ubuntu2
Architecture: i386
CurrentDesktop: GNOME
Date: Thu Jun 26 12:14:10 2014
SourcePackage: sysvinit
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
dino99 (9d9) wrote :
tags: added: systemd-boot
Martin Pitt (pitti)
affects: sysvinit (Ubuntu) → systemd (Ubuntu)
Changed in systemd (Ubuntu):
importance: Undecided → Low
status: New → Triaged
tags: removed: systemd-boot
summary: - [systemd] update-rc.d: init-script not matching default LSB
+ [udev] update-rc.d: init-script not matching default LSB
Revision history for this message
Martin Pitt (pitti) wrote : Re: update-rc.d does not use LSB header information for "defaults"

Ah, this is because our update-rc.d still interprets "defaults" as "2345"/"016" instead of reading the LSB header. This needs a merged sysvinit.

summary: - [udev] update-rc.d: init-script not matching default LSB
+ update-rc.d does not use LSB header information for "default"
summary: - update-rc.d does not use LSB header information for "default"
+ update-rc.d does not use LSB header information for "defaults"
affects: systemd (Ubuntu) → sysvinit (Ubuntu)
summary: - update-rc.d does not use LSB header information for "defaults"
+ update-rc.d warns about mismatching LSB header information for
+ "defaults"
Revision history for this message
Martin Pitt (pitti) wrote :

Sorry, it it does use the LSB header information, it should just stop warning about the legacy defaults.

Revision history for this message
Martin Pitt (pitti) wrote :

Merge prepared in http://people.canonical.com/~pitti/tmp/sysvinit-merge/, now sent to Steve for review/ack.

Changed in sysvinit (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Martin Pitt (pitti)
Martin Pitt (pitti)
Changed in sysvinit (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-41ubuntu18

---------------
sysvinit (2.88dsf-41ubuntu18) utopic; urgency=medium

  Some cleanups and cherry-picks from current sysvinit, as uploading the full
  merge has been stalled for review for a long time.

  * Drop Cell support/SPU mountpoint handling, this platform hasn't been
    supported for some time.
  * Revert to most of Debian's initscripts Breaks: (except console-setup,
    ifupdown, and initramfs-tools) to avoid diff noise, they are harmless
    now.
  * Drop compat symlink from /usr/bin/service to /usr/sbin/service. According
    to codesearch, nothing is using the former any more.
  * Update to current syvinit update-rc.d. This handles "defaults" calls
    correctly wrt. LSB header information, drops the confusing warnings
    (LP: #1334596), and handles init.d scripts for systemd correctly.
 -- Martin Pitt <email address hidden> Tue, 26 Aug 2014 07:22:55 +0200

Changed in sysvinit (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.