Summary: | app-admin/sysstat-10.0.0: initscript not completely openrc compatible | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robert Trace <bugzilla-gentoo> |
Component: | Current packages | Assignee: | Jeroen Roovers (RETIRED) <jer> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 367793 | ||
Attachments: | Remove svc_(start|stop) and make openrc compatible |
Description
Robert Trace
2011-05-17 21:22:44 UTC
Created attachment 273723 [details, diff]
Remove svc_(start|stop) and make openrc compatible
Just remove the custom restart() function as its not providing much value and openrc's default of calling stop() & start() is going to provide the same functionality.
Apart from their probably obsolete mention in a comment, how does that comment's presence do anything in openrc? How does removing the restart function help? Dead code elimination, removal of a misleading function.... that's about it. Does it help/hinder anything under openrc? Functionally, not really since openrc is going to ignore it anyway, but removing the appearance of functionality is probably a good thing. Before today, I assumed that openrc _didn't_ ignore restart() since several scripts still implemented it. OK, that makes sense. Removed. Thanks for reporting. |