Summary: | sys-apps/openrc: rc-status should sort init scripts | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Patrick Lauer <patrick> |
Component: | OpenRC | Assignee: | OpenRC Team <openrc> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Patrick Lauer
2016-01-27 15:16:41 UTC
rc-status displays the services in the order they would start, so it isn't actually random. The preferred way to get the status of a single service, if that is what you are looking for, is rc-service <svcname> status Also, you can do something like this if you want to look it up with rc-status rc-status | grep <svcname> Given that, I'm not sure whether it is worth the effort to sort the output from rc-status. I will take a look and see if there is a way to sort them and make it an option, but I don't want to change the default display order. First off, wontfix isn't really the most accurate resolution for this, but it is the only one that makes sense. I spent a good part of today looking at this code and running some tests, and it appears that this will be an extensive rewrite of rc-status for a very small, cosmetic gain, and I'm not really interested in putting that much effort into it. On the other hand, if you want to provide a patch or open a pull request for this on github, I could probably be convinced to take it as long as it doesn't break current behaviour. |