[Pkg-sysvinit-devel] Bug#575080: I'm seeing this bug too.

Chanoch (Ken) Bloom kbloom at gmail.com
Mon May 24 03:58:28 UTC 2010


I'm seeing this bug too. I upgraded a about a week ago with the command 
$ sudo aptitude install sysv-rc

(this upgrade was performed *after* sysv-rc switched to CONCURRENCY=makefile)

which performed the following upgrade (as shown in /var/log/aptitude)
Aptitude 0.6.2.1: log report
Tue, May 18 2010 12:05:07 -0500

IMPORTANT: this log only lists intended actions; actions which fail due to
dpkg problems may not be completed.

Will install 2 packages, and remove 1 packages.
401kB of disk space will be used
===============================================================================
[INSTALL, DEPENDENCIES] insserv
[REMOVE, DEPENDENCIES] file-rc
[INSTALL] sysv-rc
===============================================================================

Log complete.

This generated the corresponding dpkg log:

2010-05-18 12:05:08 startup packages remove
2010-05-18 12:05:08 status installed file-rc 0.8.12
2010-05-18 12:05:08 status installed file-rc 0.8.12
2010-05-18 12:05:08 status installed file-rc 0.8.12
2010-05-18 12:05:08 status installed file-rc 0.8.12
2010-05-18 12:05:08 status installed file-rc 0.8.12
2010-05-18 12:05:08 status installed file-rc 0.8.12
2010-05-18 12:05:08 status installed file-rc 0.8.12
2010-05-18 12:05:09 status installed file-rc 0.8.12
2010-05-18 12:05:09 status installed file-rc 0.8.12
2010-05-18 12:05:09 status installed file-rc 0.8.12
2010-05-18 12:05:09 status installed file-rc 0.8.12
2010-05-18 12:05:09 status installed file-rc 0.8.12
2010-05-18 12:05:09 status installed file-rc 0.8.12
2010-05-18 12:05:09 status installed file-rc 0.8.12
2010-05-18 12:05:09 status installed file-rc 0.8.12
2010-05-18 12:05:09 status installed file-rc 0.8.12
2010-05-18 12:05:10 remove file-rc 0.8.12 0.8.12
2010-05-18 12:05:10 status half-configured file-rc 0.8.12
2010-05-18 12:05:10 status half-installed file-rc 0.8.12
2010-05-18 12:05:10 status triggers-pending man-db 2.5.7-3
2010-05-18 12:05:10 status half-installed file-rc 0.8.12
2010-05-18 12:05:11 status config-files file-rc 0.8.12
2010-05-18 12:05:11 status config-files file-rc 0.8.12
2010-05-18 12:05:11 trigproc man-db 2.5.7-3 2.5.7-3
2010-05-18 12:05:11 status half-configured man-db 2.5.7-3
2010-05-18 12:05:12 status installed man-db 2.5.7-3
2010-05-18 12:05:13 startup archives unpack
2010-05-18 12:05:13 install insserv <none> 1.14.0-2
2010-05-18 12:05:13 status half-installed insserv 1.14.0-2
2010-05-18 12:05:13 status triggers-pending man-db 2.5.7-3
2010-05-18 12:05:13 status half-installed insserv 1.14.0-2
2010-05-18 12:05:14 status unpacked insserv 1.14.0-2
2010-05-18 12:05:15 status unpacked insserv 1.14.0-2
2010-05-18 12:05:15 trigproc man-db 2.5.7-3 2.5.7-3
2010-05-18 12:05:15 status half-configured man-db 2.5.7-3
2010-05-18 12:05:16 status installed man-db 2.5.7-3
2010-05-18 12:05:16 startup packages configure
2010-05-18 12:05:16 configure insserv 1.14.0-2 1.14.0-2
2010-05-18 12:05:16 status unpacked insserv 1.14.0-2
2010-05-18 12:05:17 status unpacked insserv 1.14.0-2
2010-05-18 12:05:17 status unpacked insserv 1.14.0-2
2010-05-18 12:05:17 status half-configured insserv 1.14.0-2
2010-05-18 12:05:17 status installed insserv 1.14.0-2
2010-05-18 12:05:18 startup archives unpack
2010-05-18 12:05:19 install sysv-rc <none> 2.88dsf-5
2010-05-18 12:05:19 status half-installed sysv-rc 2.88dsf-5
2010-05-18 12:05:19 status triggers-pending man-db 2.5.7-3
2010-05-18 12:05:19 status half-installed sysv-rc 2.88dsf-5
2010-05-18 12:05:20 status unpacked sysv-rc 2.88dsf-5
2010-05-18 12:05:20 status unpacked sysv-rc 2.88dsf-5
2010-05-18 12:05:20 trigproc man-db 2.5.7-3 2.5.7-3
2010-05-18 12:05:20 status half-configured man-db 2.5.7-3
2010-05-18 12:05:21 status installed man-db 2.5.7-3
2010-05-18 12:05:22 startup packages configure
2010-05-18 12:05:22 configure sysv-rc 2.88dsf-5 2.88dsf-5
2010-05-18 12:05:22 status unpacked sysv-rc 2.88dsf-5
2010-05-18 12:05:22 status half-configured sysv-rc 2.88dsf-5
2010-05-18 12:05:23 status installed sysv-rc 2.88dsf-5

The offending /etc/runlevel.conf is attached. I don't think I've
edited this file by hand, or otherwise fiddled with the init scripts
by hand (certainly not the ones in runlevels 0 or 6) since I installed
file-rc on this computer a year ago.

Symptoms: On this computer, with CONCURRENCY=makefile, the system
never runs /etc/init.d/halt on shutdown, so I have to power off the
computer myself.

Running
$ sudo touch /etc/init.d/.legacy-bootordering
$ sudo dpkg-reconfigure sysv-rc
fixes the problem.

I don't know how /etc/init.d/.legacy-bootordering is supposed to be
created, but it appears that something needs to create this file in
the process of switching from file-rc to sysv-rc, before the
sysv-rc postinst is run.

On the other hand, you probably want to be
careful not to create /etc/init.d/.legacy-bootordering in the event
that somebody switches now from concurrent sysv-rc/insserv to file-rc
and then back again, or you want to at least test that things still
work if you do create /etc/init.d/.legacy-bootordering in these
circumstances.

--Ken

-- 
Chanoch (Ken) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu/~kbloom1/
-------------- next part --------------
# This file was automatically generated by /usr/share/file-rc/rclink2file.sh.
# You can use your favourite editor or update-rc.d(8) to modify it.
# Read runlevel.conf(5) man page for more information about this file.
#
# Format:
# <sort> <off-> <on-levels>     <command>
01	0,1,6	-		/etc/init.d/kdm
01	0,1,6	-		/etc/init.d/timidity
01	0,1,6	-		/etc/init.d/gdm
02	-	S		/etc/init.d/hostname.sh
02	-	S		/etc/init.d/mountkernfs.sh
03	-	S		/etc/init.d/udev
04	-	S		/etc/init.d/mountdevsubfs.sh
05	-	1		/etc/init.d/single
05	-	S		/etc/init.d/bootlogd
05	-	S		/etc/init.d/keymap.sh
06	-	S		/etc/init.d/keyboard-setup
07	-	S		/etc/init.d/hdparm
08	-	S		/etc/init.d/hwclockfirst.sh
10	-	2,3,4,5		/etc/init.d/rsyslog
10	-	S		/etc/init.d/checkroot.sh
11	1	-		/etc/init.d/cron
11	0,1,6	-		/etc/init.d/atd
11	0,1,6	-		/etc/init.d/anacron
11	-	S		/etc/init.d/hwclock.sh
12	-	2,3,4,5		/etc/init.d/acpid
12	-	S		/etc/init.d/mtab.sh
12	-	2,3,4,5		/etc/init.d/dbus
14	-	2,3,4,5		/etc/init.d/avahi-daemon
14	0,1,6	-		/etc/init.d/mpd
15	0,1,6	-		/etc/init.d/fetchmail
16	-	2,3,4,5		/etc/init.d/ssh
16	1	-		/etc/init.d/hal
18	-	S		/etc/init.d/ifupdown-clean
19	0,1,6	-		/etc/init.d/aumix
19	-	2,3,4,5		/etc/init.d/spamassassin
19	-	2,3,4,5		/etc/init.d/mysql
20	-	0,6		/etc/init.d/sendsigs
20	-	S		/etc/init.d/module-init-tools
20	0,1,6	2,3,4,5		/etc/init.d/postfix
20	0,1,6	2,3,4,5		/etc/init.d/openbsd-inetd
20	0,1,6	2,3,4,5		/etc/init.d/boa
20	0,1,6	2,3,4,5		/etc/init.d/courier-authdaemon
20	-	2,3,4,5		/etc/init.d/cups
20	0,1,6	2,3,4,5		/etc/init.d/gpm
20	1	2,3,4,5		/etc/init.d/hotkey-setup
20	0,1,6	2,3,4,5		/etc/init.d/openntpd
20	0,1,6	2,3,4,5		/etc/init.d/saned
20	0,1,6	2,3,4,5		/etc/init.d/ddclient
20	0,1,6	2,3,4,5		/etc/init.d/lisa
20	0,1,6	2,3,4,5		/etc/init.d/courier-imap
20	0,1,6	2,3,4,5		/etc/init.d/courier-imap-ssl
20	0,1,6	2,3,4,5		/etc/init.d/apt-cacher-ng
20	0,1,6	2,3,4,5		/etc/init.d/smartmontools
20	1	-		/etc/init.d/acpi-support
21	-	1,2,3,4,5		/etc/init.d/aumix
21	0,1,6	-		/etc/init.d/spamassassin
21	0,1,6	-		/etc/init.d/mysql
24	-	2,3,4,5		/etc/init.d/hal
25	0,6	-		/etc/init.d/hwclock.sh
30	-	0,6		/etc/init.d/urandom
30	-	1		/etc/init.d/killprocs
30	-	S		/etc/init.d/checkfs.sh
30	-	S		/etc/init.d/procps
30	-	2,3,4,5		/etc/init.d/mpd
30	-	2,3,4,5		/etc/init.d/gdm
31	-	0,6		/etc/init.d/umountnfs.sh
32	-	0,6		/etc/init.d/portmap
34	-	S		/etc/init.d/fuse
35	-	0,6		/etc/init.d/networking
35	-	S		/etc/init.d/mountall.sh
36	-	0,6		/etc/init.d/ifupdown
36	-	S		/etc/init.d/mountall-bootclean.sh
36	-	S		/etc/init.d/udev-mtab
37	-	S		/etc/init.d/mountoverflowtmp
38	-	S		/etc/init.d/pppd-dns
38	-	S		/etc/init.d/resolvconf
39	-	S		/etc/init.d/ifupdown
39	-	S		/etc/init.d/dns-clean
40	-	0,6		/etc/init.d/umountfs
40	-	S		/etc/init.d/networking
41	0,6	-		/etc/init.d/fuse
43	-	S,2,3,4,5		/etc/init.d/portmap
45	-	S		/etc/init.d/mountnfs.sh
46	-	S		/etc/init.d/mountnfs-bootclean.sh
47	-	S		/etc/init.d/lm-sensors
48	-	S		/etc/init.d/console-screen.sh
49	-	S		/etc/init.d/console-setup
50	0,6	S		/etc/init.d/alsa-utils
50	0,1,6	2,3,4,5		/etc/init.d/pcscd
50	-	2,3,4,5		/etc/init.d/rsync
55	-	S		/etc/init.d/bootmisc.sh
55	-	S		/etc/init.d/urandom
60	-	0,6		/etc/init.d/umountroot
70	-	S		/etc/init.d/x11-common
70	-	S		/etc/init.d/nviboot
70	-	S		/etc/init.d/screen-cleanup
70	-	1,2,3,4,5		/etc/init.d/bootlogs
75	-	S		/etc/init.d/schroot
75	-	2,3,4,5		/etc/init.d/sudo
80	1	-		/etc/init.d/cups
81	1	-		/etc/init.d/portmap
84	1	-		/etc/init.d/ssh
86	0,1,6	-		/etc/init.d/avahi-daemon
88	1	-		/etc/init.d/acpid
88	1	-		/etc/init.d/dbus
89	-	2,3,4,5		/etc/init.d/cron
89	-	2,3,4,5		/etc/init.d/atd
89	-	2,3,4,5		/etc/init.d/anacron
89	0,6	-		/etc/init.d/resolvconf
90	0,1,6	-		/etc/init.d/rsyslog
90	-	0		/etc/init.d/halt
90	-	6		/etc/init.d/reboot
90	-	2,3,4,5		/etc/init.d/binfmt-support
99	-	2,3,4,5		/etc/init.d/rc.local
99	-	2,3,4,5		/etc/init.d/rmnologin
99	-	2,3,4,5		/etc/init.d/stop-bootlogd
99	-	S		/etc/init.d/stop-bootlogd-single
99	-	2,3,4,5		/etc/init.d/fetchmail
99	-	2,3,4,5		/etc/init.d/kdm
99	-	2,3,4,5		/etc/init.d/acpi-support
99	-	2,3,4,5		/etc/init.d/timidity
99	-	2,3,4,5		/etc/init.d/acpi-fakekey
# THE LAST LINE IS NEVER READ


More information about the Pkg-sysvinit-devel mailing list