public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] rc.local init order
@ 2001-08-08 20:34 Thread
  2001-08-08 23:43 ` Gontran
  2001-08-09  5:56 ` Parag Mehta
  0 siblings, 2 replies; 4+ messages in thread
From: Thread @ 2001-08-08 20:34 UTC (permalink / raw
  To: gentoo-dev

Interesting, I added my spoofy little perl app to fire off on boot to my
/etc/rc.d/init.d/local. Problem: the script attempts to connect to my mysql
database first thing, and fails because the mysqld init script doesn't fire off
till later. I always thought that the local init was the last to execute, guess
I was wrong. What's the most elegant way around this quirk?

tia

Thread




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] rc.local init order
  2001-08-08 20:34 [gentoo-dev] rc.local init order Thread
@ 2001-08-08 23:43 ` Gontran
  2001-08-09  5:56 ` Parag Mehta
  1 sibling, 0 replies; 4+ messages in thread
From: Gontran @ 2001-08-08 23:43 UTC (permalink / raw
  To: gentoo-dev

* Thread (thread@threadbox.net) wrote:
> 
> Interesting, I added my spoofy little perl app to fire off on boot to my
> /etc/rc.d/init.d/local. Problem: the script attempts to connect to my mysql
> database first thing, and fails because the mysqld init script doesn't fire off
> till later. I always thought that the local init was the last to execute, guess
> I was wrong. What's the most elegant way around this quirk?
> 

Thread,

Maybe add a 'sleep 5'?  You know, sometimes mysql takes a few seconds to
load ...

Gontran



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] rc.local init order
  2001-08-08 20:34 [gentoo-dev] rc.local init order Thread
  2001-08-08 23:43 ` Gontran
@ 2001-08-09  5:56 ` Parag Mehta
  2001-08-09  6:07   ` Thread
  1 sibling, 1 reply; 4+ messages in thread
From: Parag Mehta @ 2001-08-09  5:56 UTC (permalink / raw
  To: gentoo-dev

Hi Thread!

Try adding ur script in /etc/rc.d/rc.local this is the file which fires the last in any linux system.

* Thread assembled some ascibets to say:
Thread >
Thread >Interesting, I added my spoofy little perl app to fire off on boot to my
Thread >/etc/rc.d/init.d/local. Problem: the script attempts to connect to my mysql
Thread >database first thing, and fails because the mysqld init script doesn't fire off
Thread >till later. I always thought that the local init was the last to execute, guess
Thread >I was wrong. What's the most elegant way around this quirk?

Best Regards,

pm
--
Developer		 <pm@gentoo.org>
Gentoo Linux		http://gentoo.org

#exclude <windows.h>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] rc.local init order
  2001-08-09  5:56 ` Parag Mehta
@ 2001-08-09  6:07   ` Thread
  0 siblings, 0 replies; 4+ messages in thread
From: Thread @ 2001-08-09  6:07 UTC (permalink / raw
  To: gentoo-dev

On Thu, Aug 09, 2001 at 05:55:09AM -0600, Parag Mehta wrote:
> Hi Thread!
> 
> Try adding ur script in /etc/rc.d/rc.local this is the file which fires the last in any linux system.
/etc/rc.d/rc.local is a symlink to /etc/rc.d/init.d/local :)

> 
> * Thread assembled some ascibets to say:
> Thread >
> Thread >Interesting, I added my spoofy little perl app to fire off on boot to my
> Thread >/etc/rc.d/init.d/local. Problem: the script attempts to connect to my mysql
> Thread >database first thing, and fails because the mysqld init script doesn't fire off
> Thread >till later. I always thought that the local init was the last to execute, guess
> Thread >I was wrong. What's the most elegant way around this quirk?
> 
> Best Regards,
> 
> pm
> --
> Developer		 <pm@gentoo.org>
> Gentoo Linux		http://gentoo.org
> 
> #exclude <windows.h>
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@cvs.gentoo.org
> http://cvs.gentoo.org/mailman/listinfo/gentoo-dev
> 




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-08-09 12:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-08 20:34 [gentoo-dev] rc.local init order Thread
2001-08-08 23:43 ` Gontran
2001-08-09  5:56 ` Parag Mehta
2001-08-09  6:07   ` Thread

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox