Distributed Replicated Block Device (DRBD) development
 help / color / mirror / Atom feed
* [Drbd-dev] chkconfig kill priority in init script
@ 2009-03-12 13:07 Oliver Daniel
  2009-03-19 12:38 ` Philipp Reisner
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver Daniel @ 2009-03-12 13:07 UTC (permalink / raw)
  To: drbd-dev; +Cc: Watts Mark


[-- Attachment #1.1: Type: text/plain, Size: 1959 bytes --]

Hi there,
 
I've just noticed a problem with the drbd init script in git and the RPM
in the CentOS extras tree (I know this is quite old).
 
The kill priority of the chkconfig parameters (345 70 8) is not
recognised by the chkconfig that ships with RHEL 5.  This results in
drbd script being created as K00drdb in rc0.d and rc6.d, causing it to
be run before heartbeat, whose default is K05.  
 
If the chkconfig parameters are changed to "345 70 08", everything works
as expected.  I haven't checked the very latest source for chkconfig,
but I think it is very unlikely to cause a problem.
 
Thanks,
Dan.
 

The information contained in this E-Mail and any subsequent 
correspondence is private and is intended solely for the intended 
recipient(s).  The information in this communication may be 
confidential and/or legally privileged.  Nothing in this e-mail is 
intended to conclude a contract on behalf of QinetiQ or make QinetiQ 
subject to any other legally binding commitments, unless the e-mail 
contains an express statement to the contrary or incorporates a formal Purchase Order.

For those other than the recipient any disclosure, copying, 
distribution, or any action taken or omitted to be taken in reliance 
on such information is prohibited and may be unlawful.

Emails and other electronic communication with QinetiQ may be 
monitored and recorded for business purposes including security, audit 
and archival purposes.  Any response to this email indicates consent 
to this.

Telephone calls to QinetiQ may be monitored or recorded for quality 
control, security and other business purposes.

QinetiQ Limited
Registered in England & Wales: Company Number:3796233
Registered office: 85 Buckingham Gate, London SW1E 6PD, United Kingdom
Trading address: Cody Technology Park, Cody Building, Ively Road, Farnborough, Hampshire, GU14 0LX, United Kingdom 
http://www.qinetiq.com/home/notices/legal.html

[-- Attachment #1.2: Type: text/html, Size: 3309 bytes --]

[-- Attachment #2: drbd.patch --]
[-- Type: application/octet-stream, Size: 306 bytes --]

--- scripts/drbd.old	2009-03-12 12:59:34.000000000 +0000
+++ scripts/drbd	2009-03-12 12:59:38.000000000 +0000
@@ -1,6 +1,6 @@
 #!/bin/bash
 #
-# chkconfig: 345 70 8
+# chkconfig: 345 70 08
 # description: Loads and unloads the drbd module
 #
 # Copright 2001-2008 LINBIT Information Technologies

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Drbd-dev] chkconfig kill priority in init script
  2009-03-12 13:07 [Drbd-dev] chkconfig kill priority in init script Oliver Daniel
@ 2009-03-19 12:38 ` Philipp Reisner
  0 siblings, 0 replies; 2+ messages in thread
From: Philipp Reisner @ 2009-03-19 12:38 UTC (permalink / raw)
  To: drbd-dev; +Cc: Oliver Daniel, Watts Mark

On Thursday 12 March 2009 14:07:53 Oliver Daniel wrote:
> Hi there,
>
> I've just noticed a problem with the drbd init script in git and the RPM
> in the CentOS extras tree (I know this is quite old).
>
> The kill priority of the chkconfig parameters (345 70 8) is not
> recognised by the chkconfig that ships with RHEL 5.  This results in
> drbd script being created as K00drdb in rc0.d and rc6.d, causing it to
> be run before heartbeat, whose default is K05.
>
> If the chkconfig parameters are changed to "345 70 08", everything works
> as expected.  I haven't checked the very latest source for chkconfig,
> but I think it is very unlikely to cause a problem.
>
> Thanks,
> Dan.

Finally the commit,

http://git.drbd.org/?p=drbd-8.0.git;a=commitdiff;h=9fd9fd38e12d0f7bbbed5d59af7e0ad7c98b2242

Thanks,
  Phil
-- 
: Dipl-Ing Philipp Reisner
: LINBIT | Your Way to High Availability
: Tel: +43-1-8178292-50, Fax: +43-1-8178292-82
: http://www.linbit.com

DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-19 12:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-12 13:07 [Drbd-dev] chkconfig kill priority in init script Oliver Daniel
2009-03-19 12:38 ` Philipp Reisner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox