[CentOS] heartbeat, drbd init scripts and chkconfig

Fri Apr 7 19:36:22 UTC 2006
Johnny Hughes <mailing-lists at hughesjr.com>

On Fri, 2006-04-07 at 14:57 -0400, Nielsen, Steve wrote:
> Johnny,
> 
> I applied the patch (by hand since it would not apply cleanly) to 4.3's
> chkconfig and it appears to fix the issue I was having.
> 
> Generally, what are the next steps with this type of situation ?  Does
> centos patch and release or wait for redhat to patch and release?

We will wait for RH to patch this issue.  You can use the older
chkconfig and ntsysv from my 4.2 link or patch yourself.

> 
> If we decide internally to patch chkconfig rpm ourselves what are the
> best practices to prevent over ride of a new chkconfig from you guys
> which may not have the patch applied?

The best way to prevent overwriting is to exempt the package from
updates until it is fixed...but I suspect that the patch will be in any
new version.

If you use yum for updates, edit /etc/yum.conf and add a line that says:

exclude=chkconfig ntsysv

OR if you use up2date, edit the file /etc/sysconfig/rhn/up2date and
change this line:

pkgSkipList=kernel*;

to this:

pkgSkipList=kernel*;chkconfig;ntsysv;

Thanks,
Johnny Hughes


> 
> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Johnny Hughes
> Sent: Friday, April 07, 2006 1:25 PM
> To: CentOS ML
> Subject: Re: [CentOS] heartbeat, drbd init scripts and chkconfig
> 
> On Fri, 2006-04-07 at 13:17 -0400, Nielsen, Steve wrote:
> > Hi,
> > 
> > ... snip ...
> > To re-create this problem just install the 2 packages (heartbeat and
> > drbd) then chkconfig off one and chkconfig list both services.
> > 
> 
> OK ... I can confirm this problem ... turning off one of these turns on
> the other.
> 
> No idea why.
> 
> The older version of chkconfig and ntsysv (from 4.2) does not have this
> problem:
> 
> http://vault.centos.org/4.2/os/i386/CentOS/RPMS/
> 
> I suspect that this is also caused by this bug:
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=182729
> 
> Thanks,
> Johnny Hughes
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060407/e423bff4/attachment-0005.sig>