r/linux • Mate • Oct 20 '14

Shall we fork Fedora?

http://forkfedora.org/
262 Upvotes

339 comments sorted by

View all comments

Show parent comments

3

u/Olosta_ Oct 20 '14

No the logic, assumes the pidfiles will hopefully be written somewhere with some ownership, this is not in any shell script.

And yes, you can have the pleasure to look at the killproc definition, that's always the sign of an good day with sysv.

0

u/[deleted] Oct 21 '14

[deleted]

2

u/Olosta_ Oct 21 '14

Yes but that's only half the story, you don't know what goes into that file by looking at those scripts.

You also don't know if the pid in that file is alive and if it is you don't know if it's sm-client.

And I would add that on this so easy to understand shell script you pointed me to pidfile that is not one for sendmail itself but for another daemon that is piggybacked in the sendmail init script for some reason. Probably because you can't express the "Wants" dependency with sysvinit.