LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-14-2010, 10:36 PM   #1
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 218

Rep: Reputation: 17
rc.local is not being executed until Nautilus is done loading: What is going on???


I thought the standard was that rc.local was executed before GDM and Nautilus loads. For some odd reason, my Lenny desktop is loading Nautilus before it decides to execute rc.local. This is causing me some serious problems.

Does anyone know how I can solve this?
What's going on?
Was this a recent change to the Debian system?
 
Old 02-15-2010, 03:07 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,577
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
On ubuntu 8.04 (may differ significantly from Lenny), rc.local includes this comment
Code:
# This script is executed at the end of each multiuser runlevel.
That would be after gdm (/etc/rc3.d/gdm) but not after nautilus which AFAIK is not started until a user logs on to the desktop.

What are the symptoms that suggest nautilus is started before rc.local runs?
 
Old 02-16-2010, 10:50 PM   #3
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 218

Original Poster
Rep: Reputation: 17
Because out of 20+ tries, rc.local does not load until nautilus is finished.
This may have to do with a network module: 8139too
When that module is not loaded, it seems that rc.local is loaded before nautilus.

*looks into the issue*

Hmm, this is funny.
It seems like someone had a non-related issue, but yet somehow related:
http://forum.soft32.com/linux/gentoo...ict324712.html

If I apply the logic from that thread, then I should modprobe the 8139too module inside of rc.local instead. This would allow rc.local to have the module, execute before nautilus, and so forth.

You know what?
I seem to have found a hack. Awesome.
Still there is some serious issue with this module.
 
  


Reply


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
Bash script does not behave the same when executed through /etc/rc.local bmpenev Linux - General 1 06-05-2009 12:46 PM
/etc/rc.local is not executed abd_bela Debian 1 02-08-2009 04:06 PM
[Deb4]rc.local not executed at system start xeross Linux - Newbie 4 12-15-2008 10:17 AM
rc.local isn't executed at boot time elvijs Slackware 3 06-24-2007 07:48 AM
Nautilus not loading automatically cydermaster Linux - Newbie 0 09-19-2004 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:43 PM.

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