[Linux-cluster] How to add start-up options to pulse ??
orkcu at yahoo.com
Fri Aug 3 02:14:44 UTC 2007
--- Roger Peña <orkcu at yahoo.com> wrote:
> --- Lon Hohberger <lhh at redhat.com> wrote:
> > On Thu, Aug 02, 2007 at 01:07:12PM -0700, Roger
> > wrote:
> > > Hi is there anyway to start pulse with one of
> > > options , especificaly --forceactive, without
> > manualy
> > > modification of the init.d/pulse start-stop
> > script?
> > >
> > > I guess if I modify this script with the next
> > update
> > > to piranha I will lose all the changes, am I
> > correct?
> > >
> > > I was thinking of having just like other init.d
> > script
> > > have: a startup config file in
> > /etc/sysconfig/pulse
> > > but to implement this I must modify pulse
> > start-stop
> > > script so .....
> > It should leave your pulse init script and create
> > pulse.rpmnew,
> > actually.
> I download the src.rpm I saw the spec file :-)
> you are right ;-)
> (In the past, I had the experience with other rpm
> overwrite those scripts :-( )
I speak to quickly, piranha 0.8.2 (RHEL4) do not
overwrite /etc/init.d/* but 0.8.4 (RHEL5) actually do
it (line 83 of piranha.spec)
there was a change in the piranha.spec file between
the two versions
looking into the way piranha is package, I think a
patch to implement an startup config file in
/etc/sysconfig/ is a litle more complex than what I
think at the first place because:
1- create the /etc/sysconfig/pulse prototype file in
the piranha package
2- modify the Makefile of the package to install this
file in the proper place with the proper name
3- repackage the tar.gz
4- modify the spec.file to include the new file in the
5- repackage the rpm
not dificult but "lot" of work and not so important
patch so, I guess, this will not be a priority for
will you appreciate a patch for all this ? I can do
it, in fact I will, again rhel5 version
RedHat Certified ( RHCE )
Cisco Certified ( CCNA & CCDA )
Got a little couch potato?
Check out fun summer activities for kids.
More information about the Linux-cluster