Le lundi 08 avril 2013 à 14:33 -0300, Claudio Freire a écrit :
On Mon, Apr 8, 2013 at 2:04 PM, Frederic Crozat
wrote: - rcxxx symlinks were not part of sysvinit, it is yet another SUSE extension.
Yes and we should carry it, because many of our users are still using it. Removing it just for the sake of removing it is absurd.
Not only that, rc scripts, when scripts and not just symlinks, provide a much-needed standardized way of getting to figure out the "extended status" of some services. Init scripts provided them when SysVinit was the only way, but I agree pegging extra functionality into SysVinit scripts was... dubious. However, having rc scripts provide said extra functionality makes a lot of sense.
And by extended status I mean something beyond systemd's "yeah, I started it - it ought to be running". Just try rcapparmor status on 12.2 to see how useless asking systemctl is.
Try it on 12.3 for initscripts which have a non-standard status output
and you'll get both the "initscript" status + systemctl one.
But this stuff shouldn't be in initscript anyway.
--
Frederic Crozat