Re: How to add start-up options to pulse ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Roger Peña <orkcu@xxxxxxxxx> wrote:

> 
> --- Lon Hohberger <lhh@xxxxxxxxxx> wrote:
> 
> > On Thu, Aug 02, 2007 at 01:07:12PM -0700, Roger
> Peña
> > wrote:
> > > Hi is there anyway to start pulse with one of
> its
> > > 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
> that
> 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
"file" section
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
redhat ...

will you appreciate a patch for all this ? I can do
it, in fact I will, again rhel5 version

thanks
roger

__________________________________________
RedHat Certified ( RHCE )
Cisco Certified ( CCNA & CCDA )


       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz 

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux