Turns out the scripts are already included in the source tarball (Martin modified the Makefile) so it should just be a matter of tweaking the spec file (which I'm in the process of doing). Once my questions are answered I can go ahead and test what I have on Red Hat and SuSE systems and then check my modifications in. Cheers, Bernard
________________________________ From: Ole Turvoll [mailto:[EMAIL PROTECTED] Sent: Fri 24/02/2006 10:51 To: Bernard Li Cc: Jason A. Smith; [EMAIL PROTECTED]; [email protected] Subject: Re: [Ganglia-developers] SuSE init scripts [was First prerelease of ganglia-3.0.3 readyfor testing] I can also have a look at this next week sometime. Bernard Li wrote: > The init file for SuSE _is_ available in CVS: > http://cvs.sourceforge.net/viewcvs.py/ganglia/monitor-core/gmond/gmond.init.SuSE?view=markup > However, I didn't have time to look into how it gets used (if at all). > > I have been quite busy but this seems like an easy enough fix, so I > may take a stab at it. But if somebody knows how the SuSE specific > init script is supposed to be included in the tarball, please let me know. > > Cheers, > > Bernard > > ------------------------------------------------------------------------ > *From:* Jason A. Smith [mailto:[EMAIL PROTECTED] > *Sent:* Fri 24/02/2006 05:41 > *To:* Bernard Li > *Cc:* [EMAIL PROTECTED]; [email protected] > *Subject:* Re: [Ganglia-developers] SuSE init scripts [was First > prerelease of ganglia-3.0.3 readyfor testing] > > On Fri, 2006-02-24 at 03:28, Bernard Li wrote: > > Martin, others: > > > > It seems that the stock init.d scripts that ship with the Ganglia RPMs > > do not work on SuSE since it depends on /etc/rc.d/init.d/functions. I > > believe SuSE specific init scripts are available in the CVS > > repository. > > > > One way to fix this is to include these SuSE specific scripts in the > > tarball and during rpmbuild use a flag to specify we are on SuSE and > > include the correct scripts in the RPMs. > > > > Thoughts? > > Does SuSE support the Linux Standards Base Specification? One > possibility that might make the same ganglia init scripts work on any > distribution is to modify them to use /lib/lsb/init-functions instead. > > ~Jason > > ________________________________________________________________________ >
