Summary: | baselayout/openrc: Stop-order init-script dependencies? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marek Szuba <marecki> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED INVALID | ||
Severity: | enhancement | CC: | roy, xmw |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Marek Szuba
2010-05-31 21:56:40 UTC
This is a good point. You can provide the version of openrc you're using in the subject, but i don't think it makes much difference. I'll assign it to the maintainer of openrc, maybe thay can provide some informations about this. stop order is implicit in reverse of the start order. so if you have some dependency you arent expressing, fix your conf.d settings. (In reply to comment #2) > stop order is implicit in reverse of the start order. so if you have some > dependency you arent expressing, fix your conf.d settings. > This is correct nothing for us to do here. Sorry about the long silence, I've been rather busy lately. Anyhow, my two cents: > stop order is implicit in reverse of the start order. This only seems to be the case when the scripts are called sequentially, not in parallel mode... Yes, I know about the disclaimer related to this mode - it's just I've been wondering about how this problem could be addressed. > so if you have some dependency you arent expressing, fix your conf.d settings. Oh? How can I specify dependencies (in this particular case, making sure "dmcrypt stop" is only called after successful termination of "localmount stop") in conf.d? This would indeed solve the problem, then again OpenRC documentation is rather terse when it comes to the subject of configuration. (In reply to comment #4) > > so if you have some dependency you arent expressing, fix your conf.d settings. > Oh? How can I specify dependencies (in this particular case, making sure > "dmcrypt stop" is only called after successful termination of "localmount > stop") in conf.d? This would indeed solve the problem, then again OpenRC > documentation is rather terse when it comes to the subject of configuration. Take a look at the section of /etc/rc.conf called "service configuration variables" and enable the appropriate settings in /etc/conf.d/mdcrypt. Thanks, William |