/etc/rc.local not running contents on boot
Admin
admin at enabled.com
Mon Jul 20 06:01:32 UTC 2009
Rashkae wrote:
> Admin wrote:
>> Hi there,
>>
>> I am finding that the contents of /etc/rc.local are not getting executed
>> at reboot time. I am trying to figure out why. When I run
>> /etc/rc.local as root things run fine. What is going on here?
>>
>
> Is rc.local still in your start up sequence?
>
> if you run ls -l /etc/rc2.d
yup its there
# ls -l /etc/rc2.d/S99*
lrwxrwxrwx 1 root root 22 2009-06-05 00:57 /etc/rc2.d/S99acpi-support ->
../init.d/acpi-support
lrwxrwxrwx 1 root root 21 2009-06-05 00:57 /etc/rc2.d/S99laptop-mode ->
../init.d/laptop-mode
lrwxrwxrwx 1 root root 18 2009-06-05 00:57 /etc/rc2.d/S99ondemand ->
../init.d/ondemand
lrwxrwxrwx 1 root root 18 2009-06-05 00:57 /etc/rc2.d/S99rc.local ->
../init.d/rc.local
lrwxrwxrwx 1 root root 19 2009-06-05 00:57 /etc/rc2.d/S99rmnologin ->
../init.d/rmnologin
lrwxrwxrwx 1 root root 24 2009-06-05 00:57 /etc/rc2.d/S99stop-readahead
-> ../init.d/stop-readahead
>
> you should find a S99rc.local that points to /etc/init.d/rc.local
>
> You might also want to make sure that other start-up scripts aren't
> getting stuck, halting the entire boot-up process. I've noticed on one
> Jaunty notebook that it can take as much as 30 seconds from the time I
> was able to log in to gnome desktop successfully before the system start
> up even reaches the S99 scripts. (I haven't bothered to investigate
> which script between gdm and S99 is taking so long)
>
I'll take a Look into that.
More information about the ubuntu-users
mailing list