Forum: CFEngine Help Subject: Re: Why it's necessary to restart defined service one time. Author: juriskrumins Link to topic: https://cfengine.com/forum/read.php?3,27210,27218#msg-27218
mikesphar Wrote: ------------------------------------------------------- > juriskrumins Wrote: > > It's not a problem for sshd in this case. But > for > > custom in-house services running /sbin/service > > start one more time, while > is > > running can lead to a problem. > > I believe that is a violation of the Linux > Standard Base specifications. 100% agree. But it's obvious we're not in an ideal world. So violation/bugs happens. More than that, it's not possible to check every single script, especially when you have lots of people (in-house) writing those. And it's fine when we talk about simple service like ssh, but it's obviously can lead to data corruption when it's about services like databases and so on. So I'd like to be 100% sure. > > "Init scripts shall ensure that they will behave > sensibly if invoked with start when the service is > already running" > > and > > "the following situations are also to be > considered successful: > running start on a service already running" > > http://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-g > eneric/LSB-Core-generic/iniscrptact.html _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine