[Pkg-sysvinit-devel] Bug#581704: Failing to run init script (or ordering problem) after upgrade from startpar to makefile

Josh Triplett josh at joshtriplett.org
Sat May 15 06:23:56 UTC 2010


Package: sysvinit
Version: 2.88dsf-4
Severity: normal

Petter Reinholdtsen wrote:
> [Josh Triplett]
> > I already used CONCURRENCY=startpar on my system, and it worked
> > quite well, but I didn't use CONCURRENCY=makefile because it
> > actually boots slower on my system.
> 
> Interesting.  I assume there are bugs in some combination of init.d
> scripts on your system.  I use CONCURRENCY=makefile on several
> systems, and it work for me. :)

It used to work for me too at one point; it just booted a few seconds
slower, so I used startpar instead.

> > After upgrading, when I rebooted to test the new mechanism, it seems
> > that some key init scripts (such as mounting the root filesystem
> > read-write and setting the hostname) either didn't run or didn't run
> > soon enough; I got a pile of errors about failures to write due to a
> > read-only filesystem, and the system stopped at some point and never
> > finished booting.  To recover, I had to boot into single-user mode,
> > remount the filesystem read-write, and set CONCURRENCY=none in
> > /etc/default/rcS.
> >
> > I've attached pictures taken of the messages shown when booting with
> > CONCURRENCY=startpar.
> 
> Can you provide the output from /usr/share/insserv/make-testsuite,

Attached as make-testsuite.log.

> and
> also the content of /var/log/boot after editing /etc/default/bootlogd
> to enable bootlogd and rebooting once to record all errors?

Bootlogd seems unlikely to work with a read-only root filesystem.
However, if it would help, I could boot without "quiet", and snap a
picture of the first screen of messages after /etc/init.d/rc says "Using
makefile-style concurrent boot in runlevel S".

> Also,
> please provide the output from 'ls /etc/rc?.d'.

~$ ls /etc/rc?.d
/etc/rc0.d:
K01alsa-utils    K01gdm3             K02sendsigs      K06ifupdown
K01anacron       K01network-manager  K03rsyslog       K07umountfs
K01avahi-daemon  K01openbsd-inetd    K04hwclock.sh    K08umountroot
K01bluetooth     K01qemu-kvm         K04umountnfs.sh  K09halt
K01fuse          K01urandom          K05networking    README

/etc/rc1.d:
K01anacron       K01cron  K01network-manager  K03rsyslog   S01killprocs
K01avahi-daemon  K01cups  K01openbsd-inetd    README       S02single
K01bluetooth     K01gdm3  K01qemu-kvm         S01bootlogs  S05bootchart

/etc/rc2.d:
README             S01sudo          S02openbsd-inetd    S04gdm3
S01bootlogs        S02anacron       S02rsync            S05bootchart
S01loadcpufreq     S02cpufrequtils  S03avahi-daemon     S05rc.local
S01nethack-common  S02cron          S03bluetooth        S05rmnologin
S01qemu-kvm        S02dbus          S03network-manager  S05stop-bootlogd
S01rsyslog         S02ntp           S04cups

/etc/rc3.d:
README             S01sudo          S02openbsd-inetd    S04gdm3
S01bootlogs        S02anacron       S02rsync            S05bootchart
S01loadcpufreq     S02cpufrequtils  S03avahi-daemon     S05rc.local
S01nethack-common  S02cron          S03bluetooth        S05rmnologin
S01qemu-kvm        S02dbus          S03network-manager  S05stop-bootlogd
S01rsyslog         S02ntp           S04cups

/etc/rc4.d:
README             S01sudo          S02openbsd-inetd    S04gdm3
S01bootlogs        S02anacron       S02rsync            S05bootchart
S01loadcpufreq     S02cpufrequtils  S03avahi-daemon     S05rc.local
S01nethack-common  S02cron          S03bluetooth        S05rmnologin
S01qemu-kvm        S02dbus          S03network-manager  S05stop-bootlogd
S01rsyslog         S02ntp           S04cups

/etc/rc5.d:
README             S01sudo          S02openbsd-inetd    S04gdm3
S01bootlogs        S02anacron       S02rsync            S05bootchart
S01loadcpufreq     S02cpufrequtils  S03avahi-daemon     S05rc.local
S01nethack-common  S02cron          S03bluetooth        S05rmnologin
S01qemu-kvm        S02dbus          S03network-manager  S05stop-bootlogd
S01rsyslog         S02ntp           S04cups

/etc/rc6.d:
K01alsa-utils    K01gdm3             K02sendsigs      K06ifupdown
K01anacron       K01network-manager  K03rsyslog       K07umountfs
K01avahi-daemon  K01openbsd-inetd    K04hwclock.sh    K08umountroot
K01bluetooth     K01qemu-kvm         K04umountnfs.sh  K09reboot
K01fuse          K01urandom          K05networking    README

/etc/rcS.d:
README                S08mtab.sh                S16mountnfs-bootclean.sh
S01mountkernfs.sh     S09checkfs.sh             S17kbd
S02udev               S10ifupdown               S18console-setup
S03mountdevsubfs.sh   S10mountall.sh            S19alsa-utils
S04bootlogd           S11mountall-bootclean.sh  S19bootmisc.sh
S05keyboard-setup     S12mountoverflowtmp       S19fuse
S06hostname.sh        S13pcmciautils            S19lm-sensors
S06hwclockfirst.sh    S13procps                 S19schroot
S07checkroot.sh       S13udev-mtab              S19screen-cleanup
S08hwclock.sh         S13x11-common             S19urandom
S08ifupdown-clean     S14networking             S20stop-bootlogd-single
S08module-init-tools  S15mountnfs.sh

- Josh Triplett

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

Kernel: Linux 2.6.33-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sysvinit depends on:
ii  initscripts                   2.88dsf-4  scripts for initializing and shutt
ii  libc6                         2.10.2-8   Embedded GNU C Library: Shared lib
ii  libselinux1                   2.0.94-1   SELinux runtime shared libraries
ii  libsepol1                     2.0.40-2   SELinux library for manipulating b
ii  sysv-rc                       2.88dsf-4  System-V-like runlevel change mech
ii  sysvinit-utils                2.88dsf-4  System-V-like utilities

sysvinit recommends no packages.

sysvinit suggests no packages.

-- no debconf information





More information about the Pkg-sysvinit-devel mailing list