missing LSB tags and overrides seem to cause loop in insserv

Bug #1404245 reported by Karl-Philipp Richter
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
refdb (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Invoking `sudo LANG=C apt-get remove refdb-server` prints

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be REMOVED:
      refdb-server
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 837 kB disk space will be freed.
    Do you want to continue? [Y/n] y
    bzr: warning: ?berspringe /etc/X11/core (Gr??er als add.maximum_file_size von 20000000 Bytes)
    /bin/sh: 1: /usr/bin/apt-listdifferences: not found
    Setting up initscripts (2.88dsf-41ubuntu18) ...
    insserv: script zfs-mount: service zfs already provided!
    insserv: warning: script 'refdb' missing LSB tags and overrides
    insserv: There is a loop between service wulf2html and refdb if stopped
    insserv: loop involving service refdb at depth 2
    insserv: loop involving service wulf2html at depth 1
    insserv: Stopping refdb depends on wulf2html and therefore on system facility `$all' which can not be true!
    insserv: exiting now without changing boot order!
    update-rc.d: error: insserv rejected the script header
    dpkg: error processing package initscripts (--configure):
     subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
     initscripts
    bzr: warning: ?berspringe /etc/X11/core (Gr??er als add.maximum_file_size von 20000000 Bytes)
    E: Sub-process /usr/bin/dpkg returned an error code (1)

which makes the configuration of init.d services with `rcconf` impossible (after reinstallation of `initscripts` its configuration is pending and the error message is caused by the configuration rather than the removal of refdb-server, but the missing specifications in the script cause the trouble anyway).

One can work around the issue by removing `/etc/inid.d/refdb` (or backing it up outside `/etc/init.d`), but it should not come to things, not to mention that the situation is impossible to handle intuitively.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: refdb-server 1.0.2-2
Uname: Linux 3.17.7-031707-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Dec 19 14:33:34 2014
SourcePackage: refdb
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Karl-Philipp Richter (krichter722) wrote :
description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in refdb (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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