Comment 14 for bug 543506

Revision history for this message
Brian J. Murrell (brian-interlinx) wrote : Re: Upstart not starting jobs on boot

This continues to happen on more than one of my karmic->lucid upgrades, very consistently, so I can gather data if needed.

Teinit 2 doesn't help. That just runs the scripts in /etc/rc2.d but the ones in /etc/init are left un-run.

When the system has stopped starting jobs, here's what initctl list reports:

alsa-mixer-save stop/waiting
mountall-net stop/waiting
rc stop/waiting
rpc_pipefs stop/waiting
rsyslog stop/waiting
tty4 stop/waiting
udev start/running, process 455
upstart-udev-bridge start/running, process 429
ureadahead-other stop/waiting
apport stop/waiting
console-setup stop/waiting
hwclock-save stop/waiting
plymouth-log stop/waiting
tty5 stop/waiting
statd stop/waiting
dbus stop/waiting
failsafe-x stop/waiting
plymouth stop/waiting
portmap start/running, process 736
ssh stop/waiting
control-alt-delete stop/waiting
hwclock stop/waiting
module-init-tools stop/waiting
cron stop/waiting
mountall start/running, process 408
acpid stop/waiting
plymouth-stop stop/waiting
rcS stop/waiting
mounted-varrun stop/waiting
rc-sysinit stop/waiting
tty2 stop/waiting
udevtrigger stop/waiting
mounted-dev stop/waiting
tty3 stop/waiting
udev-finish stop/waiting
hostname stop/waiting
mountall-reboot stop/waiting
mysql stop/waiting
mythtv-backend stop/waiting
gssd stop/waiting
mountall-shell stop/waiting
mounted-tmp stop/waiting
network-interface (lo) start/running
network-interface (eth0) start/running
plymouth-splash stop/waiting
tty1 stop/waiting
udevmonitor stop/waiting
dmesg stop/waiting
network-interface-security start/running
networking stop/waiting
procps stop/waiting
tty6 stop/waiting
idmapd stop/waiting
ureadahead stop/waiting

And ps axf reports:

  PID TTY STAT TIME COMMAND
    2 ? S 0:00 [kthreadd]
    3 ? S 0:00 \_ [migration/0]
    4 ? S 0:00 \_ [ksoftirqd/0]
    5 ? S 0:00 \_ [watchdog/0]
    6 ? S 0:00 \_ [events/0]
    7 ? S 0:00 \_ [cpuset]
    8 ? S 0:00 \_ [khelper]
    9 ? S 0:00 \_ [netns]
   10 ? S 0:00 \_ [async/mgr]
   11 ? S 0:00 \_ [pm]
   12 ? S 0:00 \_ [sync_supers]
   13 ? S 0:00 \_ [bdi-default]
   14 ? S 0:00 \_ [kintegrityd/0]
   15 ? S 0:00 \_ [kblockd/0]
   16 ? S 0:00 \_ [kacpid]
   17 ? S 0:00 \_ [kacpi_notify]
   18 ? S 0:00 \_ [kacpi_hotplug]
   19 ? S 0:00 \_ [ata/0]
   20 ? S 0:00 \_ [ata_aux]
   21 ? S 0:00 \_ [ksuspend_usbd]
   22 ? S 0:00 \_ [khubd]
   23 ? S 0:00 \_ [kseriod]
   24 ? S 0:00 \_ [kmmcd]
   29 ? S 0:00 \_ [khungtaskd]
   30 ? S 0:00 \_ [kswapd0]
   31 ? SN 0:00 \_ [ksmd]
   32 ? S 0:00 \_ [aio/0]
   33 ? S 0:00 \_ [ecryptfs-kthrea]
   34 ? S 0:00 \_ [crypto/0]
   38 ? S 0:00 \_ [kstriped]
   39 ? S 0:00 \_ [kmpathd/0]
   40 ? S 0:00 \_ [kmpath_handlerd]
   41 ? S 0:00 \_ [ksnapd]
   42 ? S 0:00 \_ [kondemand/0]
   43 ? S 0:00 \_ [kconservative/0]
  250 ? S 0:00 \_ [scsi_eh_0]
  253 ? S 0:00 \_ [scsi_eh_1]
  254 ? S 0:00 \_ [scsi_eh_2]
  255 ? S 0:00 \_ [scsi_eh_3]
  256 ? S 0:00 \_ [scsi_eh_4]
  258 ? S 0:00 \_ [scsi_eh_5]
  260 ? S 0:00 \_ [scsi_eh_6]
  264 ? S 0:00 \_ [khpsbpkt]
  285 ? S 0:00 \_ [knodemgrd_0]
  298 ? S 0:00 \_ [kdmflush]
  302 ? S 0:00 \_ [kdmflush]
  304 ? S 0:00 \_ [kdmflush]
  306 ? S 0:00 \_ [kdmflush]
  308 ? S 0:00 \_ [kdmflush]
  309 ? S 0:00 \_ [ksnaphd]
  310 ? S 0:00 \_ [kcopyd]
  323 ? S 0:00 \_ [flush-1:0]
  324 ? S 0:00 \_ [flush-1:1]
  325 ? S 0:00 \_ [flush-1:2]
  326 ? S 0:00 \_ [flush-1:3]
  327 ? S 0:00 \_ [flush-1:4]
  328 ? S 0:00 \_ [flush-1:5]
  329 ? S 0:00 \_ [flush-1:6]
  330 ? S 0:00 \_ [flush-1:7]
  331 ? S 0:00 \_ [flush-1:8]
  332 ? S 0:00 \_ [flush-1:9]
  333 ? S 0:00 \_ [flush-1:10]
  334 ? S 0:00 \_ [flush-1:11]
  335 ? S 0:00 \_ [flush-1:12]
  336 ? S 0:00 \_ [flush-1:13]
  337 ? S 0:00 \_ [flush-1:14]
  338 ? S 0:00 \_ [flush-1:15]
  339 ? S 0:00 \_ [flush-8:0]
  340 ? S 0:00 \_ [flush-8:16]
  341 ? S 0:00 \_ [flush-8:32]
  342 ? S 0:00 \_ [flush-8:48]
  348 ? S 0:00 \_ [kdmflush]
  352 ? S 0:00 \_ [kdmflush]
  354 ? S 0:00 \_ [kdmflush]
  356 ? S 0:00 \_ [kdmflush]
  358 ? S 0:00 \_ [kdmflush]
  359 ? S 0:00 \_ [ksnaphd]
  360 ? S 0:00 \_ [kcopyd]
  376 ? S 0:00 \_ [kjournald]
  391 ? S 0:00 \_ [flush-252:6]
  392 ? S 0:00 \_ [flush-252:8]
  456 ? S 0:00 \_ [xfs_mru_cache]
  457 ? S 0:00 \_ [xfslogd/0]
  469 ? S 0:00 \_ [xfsdatad/0]
  472 ? S 0:00 \_ [xfsconvertd/0]
  475 ? S 0:00 \_ [xfsbufd]
  476 ? S 0:00 \_ [xfsaild]
  479 ? S 0:00 \_ [xfssyncd]
  483 ? S 0:00 \_ [jbd2/sdb-8]
  485 ? S 0:00 \_ [ext4-dio-unwrit]
  704 ? S 0:00 \_ [jbd2/sdd-8]
  705 ? S 0:00 \_ [ext4-dio-unwrit]
  770 ? S 0:00 \_ [flush-252:2]
  968 ? S 0:00 \_ [kjournald]
 1142 ? S 0:00 \_ [ivtv0]
 1151 ? S 0:00 \_ [msp34xx]
 1167 ? S 0:00 \_ [flush-7:0]
 1168 ? S 0:00 \_ [flush-7:1]
 1169 ? S 0:00 \_ [flush-7:2]
 1170 ? S 0:00 \_ [flush-7:3]
 1171 ? S 0:00 \_ [flush-7:4]
 1172 ? S 0:00 \_ [flush-7:5]
 1173 ? S 0:00 \_ [flush-7:6]
 1174 ? S 0:00 \_ [flush-7:7]
 1175 ? S 0:00 \_ [flush-252:7]
 1178 ? S 0:00 \_ [ivtv1]
 1202 ? S 0:00 \_ [ivtv2]
 1205 ? S 0:00 \_ [kdmflush]
 1207 ? S 0:00 \_ [kdmflush]
 1209 ? S 0:00 \_ [kdmflush]
 1211 ? S 0:00 \_ [kdmflush]
 1212 ? S 0:00 \_ [ksnaphd]
 1213 ? S 0:00 \_ [kcopyd]
 1309 ? S 0:00 \_ [kdmflush]
 1348 ? S 0:00 \_ [flush-252:11]
 1358 ? S 0:00 \_ [kjournald]
 1370 ? S 0:00 \_ [flush-252:14]
    1 ? S 0:00 /sbin/init
  394 tty12 Ss 0:00 /bin/bash
 1375 tty12 S+ 0:00 \_ /bin/bash
 1378 tty12 R+ 0:00 | \_ ps axf
 1376 tty12 D+ 0:00 \_ /bin/bash
  408 ? S 0:00 mountall --daemon
 1342 ? Z 0:00 \_ [fsck] <defunct>
  429 ? S 0:00 upstart-udev-bridge --daemon
  455 ? S<s 0:00 udevd --daemon
 1264 ? S< 0:00 \_ udevd --daemon
 1266 ? S< 0:00 \_ udevd --daemon
  736 ? Ss 0:00 portmap

Notice the zombie fsck there. That is perhaps related, or at indication at least that mountall is not functioning properly.

Also, at this point, some local filesystems are mounted (/, /usr, /var) but others are not (i.e. /home).

Can we please get some attention on this issue. It's making for some very painful upgrades.