LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   rc.local is not being executed until Nautilus is done loading: What is going on??? (https://www.linuxquestions.org/questions/debian-26/rc-local-is-not-being-executed-until-nautilus-is-done-loading-what-is-going-on-789126/)

Cyberman 02-14-2010 09:36 PM

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?

catkin 02-15-2010 02:07 AM

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?

Cyberman 02-16-2010 09:50 PM

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.


All times are GMT -5. The time now is 03:50 AM.