Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361529 - sys-apps/openrc: restart services with diff conf.d files when changing runlevels
Summary: sys-apps/openrc: restart services with diff conf.d files when changing runlevels
Status: CONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-31 21:56 UTC by SpanKY
Modified: 2011-06-24 10:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).