Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 05-03-2008, 11:06 AM   #1
Registered: Mar 2003
Location: USA
Distribution: Slackware-current
Posts: 155

Rep: Reputation: 30
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?

Old 05-03-2008, 12:44 PM   #2
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora, PCLinuxOS
Posts: 673

Rep: Reputation: 91
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.
Old 05-07-2008, 06:01 PM   #3
Registered: Dec 2007
Location: ON CA
Distribution: Xubuntu 8.04; Xubuntu 6.06.2
Posts: 64

Rep: Reputation: 15

Have you set the execute bit for rc.local?
Old 05-07-2008, 08:48 PM   #4
Senior Member
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
clamd upgradation in remote mach through local mac by script to be run on local mach Narayandutt Programming 3 11-29-2006 10:00 AM
always have to re-run rc.local calcon Slackware 4 04-02-2005 10:32 AM
fedora c2; rc.local didn't run??? GrumpyGnome Linux - Newbie 2 07-03-2004 08:44 PM
rc.local not being run gw1500se Mandriva 6 05-31-2004 02:49 PM
rc.local won't run at boot on 9.1 aus9 Slackware 24 04-22-2004 04:35 AM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration