LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   rc.local doesn't run in Hardy (https://www.linuxquestions.org/questions/ubuntu-63/rc-local-doesnt-run-in-hardy-639619/)

rignes 05-03-2008 11:06 AM

rc.local doesn't run in Hardy
 
I've seen it mentioned elsewhere on the net that rc.local doesn't run on boot up in the recently released Hardy. I've not seen anything about a solution in my adventures though. Has anyone else run into a solution that I may have missed?

Thanks. ;)

KenJackson 05-03-2008 12:44 PM

That happened to me a while ago on a different distro. It turned out that one of the service was failing, so startup never actually completed. That is, one of the executable scripts in /etc/init.d/ would fail and hang. The X server worked, so it wasn't totally obvious there was a problem.

I tracked it down by closely watching the screen during boot to see that last thing displayed before X took over, looking at the logs in /var/log/, and disabling services one by one until startup completed.

hex1a4 05-07-2008 06:01 PM

Hi,

Have you set the execute bit for rc.local?

fragos 05-07-2008 08:48 PM

I run Hardy and have no such problem. By default it's only command is "exit 0". I changed mine to get my Palm E2 recognized and it always runs successfuly. Ken Jackson's suggestion is a good one.


All times are GMT -5. The time now is 08:06 PM.