[Pkg-utopia-maintainers] Bug#501662: hal: incorrect upgrade management for removal of runlevel links

Kel Modderman kel at otaku42.de
Thu Oct 9 11:08:16 UTC 2008


Package: hal
Version: 0.5.11-5
Severity: important
User: initscripts-ng-devel at lists.alioth.debian.org

The patch from #501310 applied to hal (0.5.11-5) does not take care to
manage existing runlevel links, therefore fails to have desired effect 
of removing script stop links in runlevel 0 and 6 on package upgrades.

Additionally, insserv warns about this discrepency:

Setting up hal (0.5.11-5) ...
Installing new version of config file /etc/init.d/hal ...
Reloading system message bus config...done.
insserv: warning: current stop runlevel(s) (0 1 6) of script `hal' overwrites defaults (1).
Starting Hardware abstraction layer: hald.

Petter Reinholdtsen has described how this can be best managed, and did so
in the hotkey-setup package early this year:
<URL: http://lists.debian.org/debian-devel/2008/01/msg00007.html>

Consider putting something like:
---
if dpkg --compare-versions "$2" lt "0.5.11-5"; then
	update-rc.d -f hal remove
fi
---
before the #DEBHELPER# token of the postinst script.

Thanks, Kel

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-5.slh.12-sidux-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hal depends on:
ii  adduser                     3.110        add and remove users and groups
ii  dbus                        1.2.1-3      simple interprocess messaging syst
ii  hal-info                    20081001-1   Hardware Abstraction Layer - fdi f
ii  libc6                       2.7-14       GNU C Library: Shared libraries
ii  libdbus-1-3                 1.2.1-3      simple interprocess messaging syst
ii  libdbus-glib-1-2            0.76-1       simple interprocess messaging syst
ii  libexpat1                   2.0.1-4      XML parsing C library - runtime li
ii  libgcc1                     1:4.3.2-1    GCC support library
ii  libglib2.0-0                2.16.6-1     The GLib library of C routines
ii  libhal-storage1             0.5.11-5     Hardware Abstraction Layer - share
ii  libhal1                     0.5.11-5     Hardware Abstraction Layer - share
ii  libsmbios2                  2.0.3.dfsg-1 Provide access to (SM)BIOS informa
ii  libstdc++6                  4.3.2-1      The GNU Standard C++ Library v3
ii  libusb-0.1-4                2:0.1.12-13  userspace USB programming library
ii  libvolume-id0               0.125-7      libvolume_id shared library
ii  lsb-base                    3.2-20       Linux Standard Base 3.2 init scrip
ii  mount                       2.13.1.1-1   Tools for mounting and manipulatin
ii  pciutils                    1:3.0.0-5    Linux PCI Utilities
ii  pm-utils                    1.1.2.4-1    utilities and scripts for power ma
ii  udev                        0.125-7      /dev/ and hotplug management daemo
ii  usbutils                    0.73-10      Linux USB utilities

Versions of packages hal recommends:
ii  eject                       2.1.5+deb1-4 ejects CDs and operates CD-Changer
pn  libsmbios-bin               <none>       (no description available)

Versions of packages hal suggests:
pn  gnome-device-manager          <none>     (no description available)

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list