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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
