[Dnsmasq-discuss] dnsmasq service script mssing on RHEL 5.2

2010-04-14 Thread Kurt Simons
Hi, I installed dnsmasq on RHEL5.2 and it appeared to install fine and runs 
fine if I execute dnsmasq manually, however, no script was installed in 
/etc/rc.d/init.d (or /etc/init.d) to start dnsmasq upon server reboot.

Any ideas?




  

Re: [Dnsmasq-discuss] dnsmasq service script mssing on RHEL 5.2

2010-04-14 Thread Justin McAteer
Kurt,

I believe I may have run into your problem before as well. However, now we
are installing from source and we are using the following command to install
the SysV Init script:

cp contrib/init.d/rc.redhat.dnsmasq  /etc/init.d/dnsmasq

Where the 'contrib' directory is part of the DNSMasq source tree. Also
you would need to setup the service to be started on the correct
runlevels with the command:

chkconfig dnsmasq on


Even if you are not installing from source, you should be able to copy this
file from the source control server and install it just the same.

Thanks,
Justin



On Wed, Apr 14, 2010 at 10:05 AM, Kurt Simons indy...@yahoo.com wrote:

 Hi, I installed dnsmasq on RHEL5.2 and it appeared to install fine and runs
 fine if I execute dnsmasq manually, however, no script was installed in
 /etc/rc.d/init.d (or /etc/init.d) to start dnsmasq upon server reboot.

 Any ideas?



 ___
 Dnsmasq-discuss mailing list
 Dnsmasq-discuss@lists.thekelleys.org.uk
 http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss




Re: [Dnsmasq-discuss] dnsmasq service script mssing on RHEL 5.2

2010-04-14 Thread Justin McAteer
Kurt,

My mistake. It appears that the init script we are using is not part of the
standard repository, but something we have added locally. As I recall, I
found this in an RPM package of DNSMasq.

In any case, this script very small, reliable and LSB compliant. I am using
this script with Pacemaker (think next generation Heartbeat) and it passed
all of the LSB compliance requirements with flying colors. I have been very
happy with this Init script.

Thanks,
Justin


On Wed, Apr 14, 2010 at 11:39 AM, Justin McAteer
justin.mcat...@gmail.comwrote:

 Kurt,

 I believe I may have run into your problem before as well. However, now we
 are installing from source and we are using the following command to install
 the SysV Init script:

 cp contrib/init.d/rc.redhat.dnsmasq  /etc/init.d/dnsmasq

 Where the 'contrib' directory is part of the DNSMasq source tree. Also you 
 would need to setup the service to be started on the correct runlevels with 
 the command:

 chkconfig dnsmasq on


 Even if you are not installing from source, you should be able to copy this
 file from the source control server and install it just the same.

 Thanks,
 Justin



 On Wed, Apr 14, 2010 at 10:05 AM, Kurt Simons indy...@yahoo.com wrote:

 Hi, I installed dnsmasq on RHEL5.2 and it appeared to install fine and
 runs fine if I execute dnsmasq manually, however, no script was installed in
 /etc/rc.d/init.d (or /etc/init.d) to start dnsmasq upon server reboot.

 Any ideas?



 ___
 Dnsmasq-discuss mailing list
 Dnsmasq-discuss@lists.thekelleys.org.uk
 http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss





Re: [Dnsmasq-discuss] dnsmasq service script mssing on RHEL 5.2

2010-04-14 Thread Justin McAteer
Forgot the attachment.

Thanks,
Justin



On Wed, Apr 14, 2010 at 1:05 PM, Justin McAteer justin.mcat...@gmail.comwrote:

 Kurt,

 My mistake. It appears that the init script we are using is not part of the
 standard repository, but something we have added locally. As I recall, I
 found this in an RPM package of DNSMasq.

 In any case, this script very small, reliable and LSB compliant. I am using
 this script with Pacemaker (think next generation Heartbeat) and it passed
 all of the LSB compliance requirements with flying colors. I have been very
 happy with this Init script.

 Thanks,
 Justin



 On Wed, Apr 14, 2010 at 11:39 AM, Justin McAteer justin.mcat...@gmail.com
  wrote:

 Kurt,

 I believe I may have run into your problem before as well. However, now we
 are installing from source and we are using the following command to install
 the SysV Init script:

 cp contrib/init.d/rc.redhat.dnsmasq  /etc/init.d/dnsmasq

 Where the 'contrib' directory is part of the DNSMasq source tree. Also you 
 would need to setup the service to be started on the correct runlevels with 
 the command:

 chkconfig dnsmasq on


 Even if you are not installing from source, you should be able to copy
 this file from the source control server and install it just the same.

 Thanks,
 Justin



 On Wed, Apr 14, 2010 at 10:05 AM, Kurt Simons indy...@yahoo.com wrote:

  Hi, I installed dnsmasq on RHEL5.2 and it appeared to install fine and
 runs fine if I execute dnsmasq manually, however, no script was installed in
 /etc/rc.d/init.d (or /etc/init.d) to start dnsmasq upon server reboot.

 Any ideas?



 ___
 Dnsmasq-discuss mailing list
 Dnsmasq-discuss@lists.thekelleys.org.uk
 http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss






rc.redhat.dnsmasq
Description: Binary data