You are not logged in.

#1 2009-04-27 12:15:38

tomekzet
Member
From: Poland
Registered: 2008-08-06
Posts: 6

Daemons shutdown order

Hello,

I don't like the order of shutting down the daemons wink

I have problem with Oracle. I use it occasionally on my laptop so I start it manually.
My script in /etc/rc.d/ adds oracle to daemons using add_daemon oracle.

When I shut down arch, network is stopped before oracle. The problem is that oracle needs network to shut down properly.

I'm quite sure this can be a problem for some other daemons.

In the past there was a discussion about it (http://www.mail-archive.com/arch@archli … 09815.html).

I looked to /etc/rc.shutdown script, and found that daemons started from /etc/rc.d are shut down before others (manually started). To be honest, I don't understand this - I think that checking only /var/run/daemons is better. All daemons are stopped, the order is very intuitive, and there's no problem with shutdown order dependencies.

Another issue is shutting down arch after editing /etc/rc.conf. If you add daemon to rc.conf, but don't start it, you'll get FAIL when shutting down. I know it's not important thing, but I don't want to see any FAIL on my arch smile

Last edited by tomekzet (2009-04-27 12:18:14)

Offline

#2 2009-04-27 13:43:08

jordz
Member
Registered: 2006-02-01
Posts: 248

Re: Daemons shutdown order

I reported a similar bug:
http://bugs.archlinux.org/task/13622

Offline

Board footer

Powered by FluxBB