Skip to contentSkip to conversation

chkconfig kill priority in init script

Drbd-dev Oliver Daniel 2 participants 2 messages Mar 12, 2009 – Mar 19, 2009 DRBD driver

lore
Share & tools
lore
#0 lore raw

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

drbd renamed from drbd.old +1 -1
@@ -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
maintainer
#1 lore raw
Quoted 10 lines · 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.

Quoted 6 lines

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

Signature · 6 lines
: 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.