[Bug 543506] Re: Upstart not starting jobs on boot
I'm also experiencing this problem on a fresh 10.04 desktop installation. Quite often non of my installed services (dropbear ssh, tightvncserver and sabnzbd) are started. This is very annoying to me because my Ubuntu box is running headless. -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 543506] Re: Upstart not starting jobs on boot
A long way back in this thread it was reported that the below message would appear in /var/log/messages when upstart had problems running /etc/rc.sysinit. Is anyone still seeing this? init: Failed to spawn rc-sysinit main process: unable to open console: Input/output error Wout On Mon, May 17, 2010 at 09:57, Pascal W. i...@p-development.nl wrote: I'm also experiencing this problem on a fresh 10.04 desktop installation. Quite often non of my installed services (dropbear ssh, tightvncserver and sabnzbd) are started. This is very annoying to me because my Ubuntu box is running headless. -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a direct subscriber of the bug. Status in “upstart” package in Ubuntu: New Bug description: Binary package hint: upstart On Lucid with: # apt-cache policy upstart upstart: Installed: 0.6.5-4 Candidate: 0.6.5-4 Version table: *** 0.6.5-4 0 500 http://apt.interlinx.bc.ca lucid/main Packages 100 /var/lib/dpkg/status during boot, upstart just seems to stop starting jobs. A number of jobs are started but all of the jobs that should be started never gets complete. I end up (though having a job that starts a shell on a tty) having to manually: # service ssh start # service rc-sysinit start (at least) to get the system up into a semblance of a multi-user run-level. I'd be happy to provide more information but I'm at a bit of a loss as to how to debug this situation. FWIW, my debug shell job which gives me a shell that I can debug upstart from is: description Start a debug shell start on startup expect fork script exec /root/open -c 12 /bin/bash end script I have no doubt it's probably not 100% correct as I'm really only just cribbing it up from what I can see in other jobs. Hopefully I have not exacerbated the problem with that job. To unsubscribe from this bug, go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/543506/+subscribe -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
Thanks for the reports. Could everybody who is affected by this bug confirm that when they have missing services, runlevel *always* returns unknown and never N 2 -- if you see N 2 you may have a different problem, so please shout out Please also attach /var/log/boot.log ** Changed in: upstart (Ubuntu) Status: New = Incomplete ** Changed in: upstart (Ubuntu) Importance: Medium = High -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
Booting up apache2 failed to start. $ runlevel unknown /var/log/boot.log is attached ** Attachment added: boot.log http://launchpadlibrarian.net/48599387/boot.log -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 543506] Re: Upstart not starting jobs on boot
On Mon, 2010-05-17 at 12:00 +, Ash wrote: Booting up apache2 failed to start. $ runlevel unknown /var/log/boot.log is attached Thanks, could you (and evyerone else) also attach the output of initctl list after the failed boot Scott -- Scott James Remnant sc...@ubuntu.com -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
This is from a different boot but same symptoms... $ cat /var/log/boot.log fsck from util-linux-ng 2.17.2 /dev/sda1: clean, 217843/45604864 files, 93960226/182391961 blocks init: ureadahead-other main process (769) terminated with status 4 $ initctl list alsa-mixer-save stop/waiting mountall-net stop/waiting nmbd start/running, process 1094 rc stop/waiting rpc_pipefs start/running rsyslog start/running, process 804 tty4 stop/waiting udev start/running, process 396 upstart-udev-bridge start/running, process 393 ureadahead-other stop/waiting apport stop/waiting console-setup stop/waiting hwclock-save stop/waiting irqbalance stop/waiting plymouth-log stop/waiting smbd start/running, process 789 tty5 stop/waiting statd start/running, process 753 atd stop/waiting dbus start/running, process 811 failsafe-x stop/waiting plymouth stop/waiting portmap start/running, process 701 ssh start/running, process 806 control-alt-delete stop/waiting hwclock stop/waiting network-manager start/running, process 814 usplash stop/waiting module-init-tools stop/waiting cron stop/waiting gdm start/running, process 882 mountall stop/waiting acpid stop/waiting plymouth-stop stop/waiting rcS stop/waiting ufw start/running 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 start/running, process 794 mythtv-backend start/running, process 1372 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 start/running, process 902 ureadahead stop/waiting -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
Same problem for me on fresh 10.04 install. For me the boot job that is problematic is CUPSD. Sometime cups starts at bootime, sometimes it doesn't. There's a cups specific boot job bug report here: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/554172?comments=all -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
I've seen cups fail to start on my father's machine. I'm also noticing issues with LCDd and yesterday lirc didn't start, so it's definitely affecting several different boot scripts. -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
Same problem as comment #16, with apache2 not starting, but on a fresh 10.04 install. initctl list alsa-mixer-save stop/waiting avahi-daemon start/running, process 744 mountall-net stop/waiting rc stop/waiting rsyslog start/running, process 725 tty4 stop/waiting udev start/running, process 307 upstart-udev-bridge start/running, process 305 ureadahead-other stop/waiting apport stop/waiting console-setup stop/waiting hwclock-save stop/waiting irqbalance stop/waiting plymouth-log stop/waiting tty5 stop/waiting atd stop/waiting dbus start/running, process 731 failsafe-x stop/waiting plymouth stop/waiting control-alt-delete stop/waiting hwclock stop/waiting network-manager start/running, process 741 module-init-tools stop/waiting cron stop/waiting gdm start/running, process 740 mountall stop/waiting acpid stop/waiting plymouth-stop stop/waiting rcS stop/waiting ufw start/running mounted-varrun stop/waiting rc-sysinit stop/waiting anacron start/running, process 1288 tty2 stop/waiting udevtrigger stop/waiting mounted-dev stop/waiting tty3 stop/waiting udev-finish stop/waiting hostname stop/waiting mountall-reboot stop/waiting mountall-shell stop/waiting mounted-tmp stop/waiting network-interface (lo) start/running network-interface (eth0) start/running network-interface (wlan0) 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 ureadahead stop/waiting -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
I'm having intermittent problems with some services not starting on boot. From what I can tell, when it doesn't work, anything run as a result of the upstart rc-sysinit job doesn't happen. When the problem happens, I get the following symptoms: runlevel 'unknown' (from running `runlevel`) cron not started apache2 not started When the problem hasn't happened, these services do start and runlevel is 'N 2'. The last time this happened was after a kernel update (maybe this makes a race condition happen?). Restarting fixed the problem. The system is running MythTV so only gets restarted when required for updates. -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
Another data point. As mentioned above, I'm running mythtv. The backend service for mythtv has the following in /etc/init/myth-backend.conf: start on (local-filesystems and net-device-up IFACE=lo) This service gets started even when none of the runlevel 2 services get started. -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
I am experiencing the exact same problem (well different services, but the same symptoms). some of the services in rc2 is starting, sometimes all of them sometimes just a few. Runlevel outputs: runlevel 'unknown' If I change to runlevel 2 by issuing init 2, the services starts. Both tried an updated karmic to lucid and then re-installed with a fresh install from minimal 10.04. -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
I'm seeing the same problem after doing a mythbuntu 9.10 to 10.04 upgrade. apache2 sometimes starts at boot other times it doesn't. -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] 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 \_
[Bug 543506] Re: Upstart not starting jobs on boot
Seems I'm affected by this bug too... Sometimes (not always) sound and printing (Cups) is missing, also I can shutdown only by pressing the Power button. Output: initctl list alsa-mixer-save stop/waiting avahi-daemon start/running, process 751 mountall-net stop/waiting rc stop/waiting rsyslog start/running, process 725 tty4 start/running, process 811 udev start/running, process 372 upstart-udev-bridge start/running, process 369 ureadahead-other stop/waiting apport stop/waiting console-setup stop/waiting hwclock-save stop/waiting irqbalance stop/waiting plymouth-log stop/waiting tty5 start/running, process 814 atd start/running, process 839 dbus start/running, process 736 failsafe-x stop/waiting plymouth stop/waiting control-alt-delete stop/waiting hwclock stop/waiting network-manager start/running, process 744 module-init-tools stop/waiting cron start/running, process 838 gdm start/running, process 873 mountall stop/waiting acpid start/running, process 826 plymouth-stop stop/waiting rcS stop/waiting ufw start/running mounted-varrun stop/waiting rc-sysinit stop/waiting anacron stop/waiting tty2 start/running, process 819 udevtrigger stop/waiting mounted-dev stop/waiting tty3 start/running, process 820 udev-finish stop/waiting hostname stop/waiting mountall-reboot stop/waiting mountall-shell stop/waiting mounted-tmp stop/waiting network-interface (lo) start/running network-interface (eth0) start/running network-interface (wlan0) start/running plymouth-splash stop/waiting tty1 start/running, process 1281 udevmonitor stop/waiting dmesg stop/waiting network-interface-security start/running networking stop/waiting procps stop/waiting tty6 start/running, process 822 ureadahead stop/waiting -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
Me too. Upstart is not starting all processes. My box has been running since last night without a firewall! runlevel returns unknown, and it seems to have forgotten a lot of scripts even exist r...@swift:/etc/rc2.d# initctl list | grep postfix r...@swift:/etc/rc2.d# initctl list | grep cyrus How do I set my default runlevel? Where is the upstart configuration? If I create an inittab will upstart read it? -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
running: telinit 2 and then rebooting seems to have resolved the problem. -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
It look as though upstart couldn't figure out what the previous runlevel was (or maybe it was trying to use 6?). My last log says the system crashed, but I don't think it did, maybe upstart/reboot failed to write to utmp properly? My last log. runlevel (to lvl 2) 2.6.32-22-generi Tue May 11 14:33 - 14:56 (00:22) reboot system boot 2.6.32-22-generi Tue May 11 14:33 - 14:56 (00:22) shutdown system down 2.6.32-22-generi Tue May 11 14:32 - 14:33 (00:00) shutdown system down 2.6.32-22-generi Tue May 11 14:32 - 14:32 (00:00) runlevel (to lvl 6) 2.6.32-22-generi Tue May 11 14:32 - 14:32 (00:00) runlevel (to lvl 2) 2.6.32-22-generi Tue May 11 14:31 - 14:32 (00:01) reboot system boot 2.6.32-22-generi Tue May 11 14:31 - 14:32 (00:01) myth tty7 :0 Tue May 11 13:59 - crash (00:32) shutdown system down 2.6.32-22-generi Tue May 11 13:58 - 14:31 (00:33) shutdown system down 2.6.32-22-generi Tue May 11 13:58 - 13:58 (00:00) runlevel (to lvl 6) 2.6.32-22-generi Tue May 11 13:58 - 13:58 (00:00) reboot system boot 2.6.32-22-generi Tue May 11 13:58 - 13:58 (00:00) myth pts/0:0.0 Mon May 10 20:48 - 23:26 (02:37) myth tty7 :0 Mon May 10 20:48 - crash (17:10) shutdown system down 2.6.32-22-generi Mon May 10 20:47 - 13:58 (17:11) shutdown system down 2.6.32-22-generi Mon May 10 20:47 - 20:47 (00:00) runlevel (to lvl 6) 2.6.32-22-generi Mon May 10 20:47 - 20:47 (00:00) myth tty7 :0 Sun May 9 19:58 - down (1+00:48) runlevel (to lvl 2) 2.6.32-22-generi Sun May 9 19:58 - 20:47 (1+00:49) reboot system boot 2.6.32-22-generi Sun May 9 19:58 - 20:47 (1+00:49) shutdown system down 2.6.32-21-generi Sun May 9 19:57 - 19:58 (00:00) -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
** Changed in: upstart (Ubuntu) Status: Invalid = New -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
Reopening this. I am seeing this problem, very consistently on a Karmic-Lucid upgrade I did today. I will include the previously requested information. Before I do however I want to note that I can consistently have this machine hang on startup after filesystems are mounted by simply booting the default kernel arguments. However! I can consistently get this machine to boot to full multi- users/desktop by simply adding init=/bin/bash to the kernel command line and then when the kernel boots and starts bash, simply exec(1)ing /sbin/init as such: # exec /sbin/init [ upstart starts and boots up normally ] So to further clarify, something about starting the kernel and having it start bash as it's init and then starting upstart from that bash, makes it all boot just fine. Here's initctl list when the boot has mounted filesystems but hung there: alsa-mixer-save stop/waiting avahi-daemon stop/waiting mountall-net stop/waiting qemu-kvm stop/waiting rc stop/waiting rpc_pipefs start/running tty4 stop/waiting udev start/running, process 639 upstart-udev-bridge start/running, process 621 ureadahead-other stop/waiting apport stop/waiting console-setup stop/waiting hwclock-save stop/waiting irqbalance stop/waiting plymouth-log stop/waiting tty5 stop/waiting debug_shell start/running, process 589 statd start/running, process 1583 atd stop/waiting dbus stop/waiting failsafe-x stop/waiting plymouth start/running, process 590 portmap start/running, process 1429 ssh stop/waiting autofs stop/waiting control-alt-delete stop/waiting hwclock stop/waiting network-manager stop/waiting usplash stop/waiting module-init-tools stop/waiting bridge-network-interface (lo) start/running bridge-network-interface (eth0) start/running cron stop/waiting gdm stop/waiting mountall start/running, process 594 acpid stop/waiting plymouth-stop stop/waiting rcS stop/waiting ufw start/running mounted-varrun stop/waiting rc-sysinit stop/waiting anacron 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 mythtv-backend stop/waiting gssd start/running, process 1579 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 network-interface-security start/running networking stop/waiting procps stop/waiting tty6 stop/waiting bootchart start/running, process 87 idmapd stop/waiting ureadahead stop/waiting Here's the boot output with --verbose on the kernel command line: Begin: Running /scripts/local-bottom ... Done. Done. Begin: Running /scripts/init-bottom ... Done. udevd-work[98]: inotify_add_watch(6, /dev/md0, 10) failed: No such file or directory init: Handling startup event init: debug_shell goal changed from stop to start init: debug_shell state changed from waiting to starting init: mountall goal changed from stop to start init: mountall state changed from waiting to starting init: hostname goal changed from stop to start init: hostname state changed from waiting to starting init: Handling starting event init: debug_shell state changed from starting to pre-start init: debug_shell state changed from pre-start to spawned init: debug_shell main process (584) init: Handling starting event init: plymouth goal changed from stop to start init: plymouth state changed from waiting to starting init: hwclock goal changed from stop to start init: hwclock state changed from waiting to starting init: ureadahead goal changed from stop to start init: ureadahead state changed from waiting to starting init: Handling starting event init: hostname state changed from starting to pre-start init: hostname state changed from pre-start to spawned init: hostname main process (585) init: hostname state changed from spawned to post-start init: hostname state changed from post-start to running init: Handling starting event init: plymouth state changed from starting to pre-start init: plymouth state changed from pre-start to spawned init: plymouth main process (586) init: Handling starting event init: hwclock state changed from starting to pre-start init: hwclock state changed from pre-start to spawned init: hwclock main process (587) init: hwclock state changed from spawned to post-start init: hwclock state changed from post-start to running init: Handling starting event init: ureadahead state changed from starting to pre-start init: ureadahead state changed from pre-start to spawned init: ureadahead main process (588) init: Handling started event init: Handling started event init: debug_shell main process (584) became new process (589) init: debug_shell state changed from spawned to post-start init: debug_shell state changed from post-start to running init: Handling started event init: ureadahead main process (588) exited normally init: ureadahead goal changed from start to stop init: ureadahead state
[Bug 543506] Re: Upstart not starting jobs on boot
I've just installed Lucid and I have the feeling that my problem is related to this bug. Sometimes, when Ubuntu starts I get this message: dev/sda2: clean, 2312/231242 files, 213123/2311434 blocks (check in 4 mounts) init: Failed to spawn rc-sysinit main process: unable to open console: Input/output error The only way to fix it is by disabling Plymouth removing the options quiet splash from the starting params. For the record: I've installed Lucid from the Minimal CD Image and I'm using Slim as the login manager. Should I open a new bug report? -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 543506] Re: Upstart not starting jobs on boot
Thanks for the message! I have the same spawn rc message in my logs. I see that in /etc/init/rc.conf it mentions 'console output' which makes upstart try to open the console. That fails. Probably a race condition. Possibly /dev/console is not yet available when upstart wants to start rc? I see you have a ticket open for this so no need for me to add anything (a relief seeing how hostile Ubuntu appears to be to bug reporting). Kind regards, Wout On Sun, Apr 25, 2010 at 19:29, David dogg...@gmx.de wrote: I've encountered the same problem with Mythbuntu 10.04 with all updates installed. I recognized it because lirc sometimes started and sometimes not. After some investigation I saw the following line in my syslog: init: Failed to spawn rc main process: unable to open console: Input/output error apt-cache policy upstart upstart: Installiert: 0.6.5-6 Kandidat: 0.6.5-6 Versions-Tabelle: *** 0.6.5-6 0 500 http://de.archive.ubuntu.com/ubuntu/ lucid/main Packages 100 /var/lib/dpkg/status -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a direct subscriber of the bug. Status in “upstart” package in Ubuntu: New Bug description: Binary package hint: upstart On Lucid with: # apt-cache policy upstart upstart: Installed: 0.6.5-4 Candidate: 0.6.5-4 Version table: *** 0.6.5-4 0 500 http://apt.interlinx.bc.ca lucid/main Packages 100 /var/lib/dpkg/status during boot, upstart just seems to stop starting jobs. A number of jobs are started but all of the jobs that should be started never gets complete. I end up (though having a job that starts a shell on a tty) having to manually: # service ssh start # service rc-sysinit start (at least) to get the system up into a semblance of a multi-user run-level. I'd be happy to provide more information but I'm at a bit of a loss as to how to debug this situation. FWIW, my debug shell job which gives me a shell that I can debug upstart from is: description Start a debug shell start on startup expect fork script exec /root/open -c 12 /bin/bash end script I have no doubt it's probably not 100% correct as I'm really only just cribbing it up from what I can see in other jobs. Hopefully I have not exacerbated the problem with that job. To unsubscribe from this bug, go to: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/543506/+subscribe -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
I've encountered the same problem with Mythbuntu 10.04 with all updates installed. I recognized it because lirc sometimes started and sometimes not. After some investigation I saw the following line in my syslog: init: Failed to spawn rc main process: unable to open console: Input/output error apt-cache policy upstart upstart: Installiert: 0.6.5-6 Kandidat: 0.6.5-6 Versions-Tabelle: *** 0.6.5-6 0 500 http://de.archive.ubuntu.com/ubuntu/ lucid/main Packages 100 /var/lib/dpkg/status -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 543506] Re: Upstart not starting jobs on boot
On Sat, 2010-04-24 at 09:15 +, Wout wrote: This is on 10.04 with all available updates installed. Running non standard kernel (2.6.33-020633-generic) for hardware support. ** Changed in: upstart (Ubuntu) Status: Invalid = New Please do not repoen bugs if you are not the original reporter; it's quite likely that you are experiencing a different problem. I'm closing this bug again - if you are having problems, please file a *NEW* bug. status invalid Scott -- Scott James Remnant sc...@ubuntu.com ** Changed in: upstart (Ubuntu) Status: New = Invalid -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
This is on 10.04 with all available updates installed. Running non standard kernel (2.6.33-020633-generic) for hardware support. ** Changed in: upstart (Ubuntu) Status: Invalid = New -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
Boot scripts under /etc/rc2.d seem to be run sometimes and other times not. I found this problem as /etc/rc2.d/S99rc.local was not executed. To verify I added a logger statement (logger Running rc.local) as the first command in rc.local some weeks ago (I should have filed this bug earlier but applications like apport and launchpad make this a very frustrating experience). Checking /var/log/syslog I find the log entry from rc.local for some boots but not for others. It is not only rc.local that is not executed. The /etc/rc2.d /S20virtualbox-ose script is also not always run. This becomes blatantly obvious as VirtualBox can't run VMs in those cases and I have to run the virtualbox-ose script manually. These cases seem to coincide (so both virtualbox-ose and rc.local are either both run or both not run). This morning rc.local and virtualbox-ose were not run. I ran virtualbox-ose manually later. This is the output of 'initctl list' after about 5 hours of uptime: alsa-mixer-save stop/waiting avahi-daemon start/running, process 3403 mountall-net stop/waiting rc stop/waiting rpc_pipefs stop/waiting rsyslog start/running, process 3286 tty4 start/running, process 3506 udev start/running, process 2903 upstart-udev-bridge start/running, process 2883 ureadahead-other stop/waiting apport stop/waiting console-setup stop/waiting hwclock-save stop/waiting irqbalance stop/waiting plymouth-log stop/waiting tty5 start/running, process 3509 statd start/running, process 3454 atd start/running, process 3526 dbus start/running, process 3375 failsafe-x stop/waiting plymouth stop/waiting portmap start/running, process 3415 ssh start/running, process 3313 control-alt-delete stop/waiting hwclock stop/waiting network-manager start/running, process 3453 module-init-tools stop/waiting bridge-network-interface (vboxnet0) start/running bridge-network-interface (lo) start/running bridge-network-interface (eth0) start/running bridge-network-interface (wlan0) start/running cron start/running, process 3527 gdm start/running, process 3579 mountall stop/waiting acpid start/running, process 3522 plymouth-stop start/running rcS stop/waiting ufw start/running mounted-varrun stop/waiting rc-sysinit stop/waiting anacron stop/waiting tty2 start/running, process 3515 udevtrigger stop/waiting mounted-dev stop/waiting tty3 start/running, process 3516 udev-finish stop/waiting hostname stop/waiting mountall-reboot stop/waiting gssd stop/waiting mountall-shell stop/waiting mounted-tmp stop/waiting network-interface (vboxnet0) start/running network-interface (lo) start/running network-interface (eth0) start/running network-interface (wlan0) start/running plymouth-splash stop/waiting tty1 start/running, process 3920 udevmonitor stop/waiting dmesg stop/waiting network-interface-security start/running networking stop/waiting procps stop/waiting tty6 start/running, process 3518 idmapd stop/waiting ureadahead stop/waiting Let me know if you need more info. -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
(Un)fortunately (for the sake of hunting this bug down) this does not seem to be occurring any more. I guess we can just close this bug and I will reopen if I see it again. -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 543506] Re: Upstart not starting jobs on boot
Thanks, please do! ** Changed in: upstart (Ubuntu) Status: Incomplete = Invalid -- Upstart not starting jobs on boot https://bugs.launchpad.net/bugs/543506 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs