[Pkg-sysvinit-devel] Bug#676463: sysv-rc: complains incorrectly(?) about obsolete init.d scripts for fuse and others

Paul Menzel pm.debian at googlemail.com
Thu Jun 7 20:50:47 UTC 2012


Am Donnerstag, den 07.06.2012, 18:57 +0100 schrieb Roger Leigh:
> severity 676463 serious
> severity 676520 serious
> forcemerge 676463 676520
> thanks
> 
> On Thu, Jun 07, 2012 at 09:09:55AM +0200, Paul Menzel wrote:
> > in contrast to earlier versions, with this version installation of
> > `sysv-rc` fails when migration to dependency based boot fails.
> > Additionally it complains about obsolete init.d scripts of packages
> > which were never a problem before and whose init.d scripts do not seem
> > to be obsolete.
> 
> Previously, sysv-rc gave you two options: legacy bootordering or
> dependency based bootordering.  You could keep the broken scripts
> and remain with legacy, or you could clean up the scripts and
> enable dependency bootordering.
> 
> The change here is that we now require you to migrate to
> dependency based bootordering, because we will no longer support
> legacy static ordering.  Please have a read through the details
> in NEWS.Debian:
> 
> +sysv-rc (2.88dsf-23) experimental; urgency=low
> +
> +  Dependency based boot ordering is now required.
> +
> +  Most systems will already be using dependency based boot ordering.
> +  This includes all squeeze and later releases, unless you have taken
> +  deliberate action to disable it.  Installations upgraded from etch,
> +  lenny or earlier releases will have enabled dependency based booting
> +  when upgrading to squeeze and later releases.  However, it was
> +  previously possible to opt out of migrating to dependency based
> +  booting and retain static boot ordering.  This is no longer the case.
> +
> +  If your system is still using static boot ordering, migrating to
> +  dependency based boot ordering will be performed when sysv-rc is
> +  configured.  If this is not possible for any reason, you will have to
> +  correct the problem before upgrading can continue.  It will not be
> +  possible to complete the upgrade until insserv is configured.
> +
> +  The most commonly encountered problem preventing migration is the
> +  presence of obsolete init scripts from removed (but unpurged)
> +  packages.  If this is the case, you will be prompted with
> +  instructions detailing how to purge these old packages.
> +
> +  If you have custom init scripts, please ensure that these have the
> +  correct dependency information in an LSB header so that they will be
> +  run at the correct point in the boot sequence.
> +
> + -- Roger Leigh <rleigh at debian.org>  Wed, 18 Apr 2012 23:30:37 +0100
> 
> >         sysv-rc (2.88dsf-26) wird eingerichtet ...
> >         info: Checking if it is safe to convert to dependency based boot.
> > 
> >         error: Unable to migrate to dependency based boot sequencing.
> >         error: Problems detected: package fuse left obsolete init.d script behind, package initscripts left obsolete init.d script behind, package initscripts left obsolete init.d script behind, package initscripts left obsolete init.d script behind, package libchipcard-tools left obsolete init.d script behind, package smartmontools left obsolete init.d script behind,  , package gdm removed but not purged
> > 
> >         If this is due to the presence of unpurged obsolete initscripts,
> >         it is suggested that the following is run to remove them:
> >           dpkg --purge fuse initscripts initscripts initscripts libchipcard-tools smartmontools
> 
> This is wrong; we shouldn't be purging initscripts.  Could you possibly
> let me know which specific files were left behind which were causing
> problems?  We should be able to correct this during the upgrade.
> 
> > Also the other init.d scripts are packaged properly.
> 
> Yes.  The ones causing problems aren't current ones, they are
> obsolete ones left by removed (but not purged) packages.  Purging
> the packages will remove them, allowing you to continue.

As David pointed out in this replies too, the assumptions that the
listed packages were removed is incorrect.

        $ LANG=C aptitude show fuse
        Package: fuse
        New: yes
        State: installed
        Automatically installed: yes
        Version: 2.9.0-1
        Priority: optional
        Section: utils
        Maintainer: Daniel Baumann <daniel.baumann at progress-technologies.net>
        Architecture: i386
        Uncompressed Size: 177 k
        Depends: libc6 (>= 2.4), libfuse2 (= 2.9.0-1), adduser, mount (>= 2.19.1), sed (>= 4), udev | makedev
        Conflicts: fuse-utils (< 2.8.5-2~)
        Breaks: loop-aes-utils (< 2.16.2-3~)
        Replaces: fuse-utils
        Description: Filesystem in Userspace
         Filesystem in Userspace (FUSE) is a simple interface for userspace programs to export a virtual filesystem to the Linux kernel. It also
         aims to provide a secure method for non privileged users to create and mount their own filesystem implementations.
        Homepage: http://fuse.sourceforge.net/

This is also true for `initscripts`, `libchipcard-tools` and
`smartmontools`.

> Ideally, we could do this automatically.  I intend to look into
> whether we can just enable it even though the old scripts are
> still present.  If it's safe, it will make this much less painful.


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20120607/358fbc45/attachment-0001.pgp>


More information about the Pkg-sysvinit-devel mailing list