On 9/2/2010 9:09 PM, Steven Dake wrote:
> On 08/31/2010 08:45 PM, Vladislav Bogdanov wrote:
>> Hi,
>> 31.08.2010 22:22, Steven Dake wrote:
>>> I am pleased to announce Corosync 1.2.8 is available for immediate
>>> download from our website.
>>
>> Initscript doesn't seem to be fixed yet.
>> http://marc.info/?l=openais&m=128271460429681&w=2
>> http://www.mail-archive.com/[email protected]/msg05833.html
>>
>> Best,
>> Vladislav
> 
> Fabio,
> 
> Any chance you can provide feedback on this topic?  I'm at a loss in
> this area of distro integration.

so the current init script has:

> # chkconfig: - 20 20

and that is definitely wrong. It must have slept through the crack when
we re-did the init script a while ago. Kudos to Vladislav for noticing it.

(making a bunch of assumptions here) the general rule is:

stop-priority-value = 100 - start-priority-value.

to guarantee the service start/stop symmetry that is pretty much the
case for corosync.

So a value of 20/80 would be correct.

Now this should address the first concern reported.

The other issue with start-early/late, that´s very debatable and
dependent on use cases and distribution init process implementation (and
the way it calculates init dependencies).

My general approach is that the generic/default init script should
satisfy the majority of the cases out there (it´s called generic for a
good reason) and the current values do (modulo the error in the stop
sequence that needs to be addressed).

Every sysadmin has the power to tailor those values with system command
tools, without the need to rebuild the rpm or editing the init script
itself (chkconfig or whatever they use nowadays).

The idea of having an early/late script is something I really don´t
like. It involves a chain of changes to be done properly that adds an
unnecessary complexity specially when there are already tools to move
scripts priority around that are tailored to the OS/Distribution behavior.

Fabio
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to