Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 361529

Summary: sys-apps/openrc: restart services with diff conf.d files when changing runlevels
Product: Gentoo Hosted Projects Reporter: SpanKY <vapier>
Component: OpenRCAssignee: OpenRC Team <openrc>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description SpanKY gentoo-dev 2011-03-31 21:56:51 UTC
atm, rc will only stop/start services that are different between the two runlevels.  it additionally should restart ones that use the /etc/conf.d/<service>.<runlevel> syntax.

say you start off in runlevel "default" and you have /etc/conf.d/net, and you have net.eth0 started.  then you run `rc foo` to change to the "foo" runlevel, and you have /etc/conf.d/net.foo.  we should also slate all /etc/conf.d/net.* interfaces for reloading (except for net.lo).