pcp
[Top] [All Lists]

Re: [pcp] Seeking testers - systemd service support

To: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Subject: Re: [pcp] Seeking testers - systemd service support
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun, 24 Aug 2014 23:29:50 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <53F6FCD2.5000604@xxxxxxxxxx>
References: <1970205420.36245669.1408665579915.JavaMail.zimbra@xxxxxxxxxx> <53F6F461.5050707@xxxxxxxxxx> <53F6FCD2.5000604@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: R7y/Fwpsv1i5V4tyzYmBEqUg/zjZDQ==
Thread-topic: Seeking testers - systemd service support
Hi Mark,

----- Original Message -----
> 
> > I'll build and install RHEL5 and RHEL6 next to check the new configure
> > stuff works as expected.
> 
> Built on RHEL6 (RHEL6.6beta actually) and after a virgin install
> the services are all enabled by default (yay!, oops :). This
> doesn't look right :
> 

Heh.  Was this a Makepkgs build?  I think this is because, in that case
(and not via fedora.spec builds), we use unmodified rc scripts which
default to enabled.  For the "official" RPM builds, the spec %install
contains...

# default chkconfig off for Fedora and RHEL
for f in 
$RPM_BUILD_ROOT/%{_initddir}/{pcp,pmcd,pmlogger,pmie,pmwebd,pmmgr,pmproxy}; do
        test -f "$f" || continue
        sed -i -e '/^# chkconfig/s/:.*$/: - 95 05/' -e '/^# 
Default-Start:/s/:.*$/:/' $f
done

... which you wrote IIRC ;)

Maybe we should commit that change into the rc scripts and make both
builds the same in that respect?

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>