[syslog-ng]new Fedora/Redhat init script

Philip J. Hollenback syslog-ng@lists.balabit.hu
Fri, 4 Feb 2005 13:45:30 -0500


It looks like we are both tackling the same problems.  Actually I wish
I had known about your work previously as it would have saved me some
time.

Anyway, I think the important thing now is to get a new spec file and
init script into the syslog-ng source tarball.  It looks like this is
generated via autoconf so it needs to be converted to syslog-ng.spec.in
(just put a couple substitutions in there).

My big concern about the existing spec file in the tarball is it is
seriously broken.  For example, it edits the existing syslog rotate
file.  Changing another package's file like that is bad.

And as far as the init script goes, I think we should put yours in the
contrib directory and remove the two existing old and outdated Redhat
init scripts.

I've reviewed your source rpm and init script, and they incorporate
all the fixes I need.

Balazs, how does that sound to you?

Thanks,
P.

On 02/04/05, Jose Pedro Oliveira wrote:
> Hash: SHA1
> 
> Philip,
> 
> I also have a patched configuration script and a working specfile
> for Redhat/Fedora systems.
> 
> The SRPM is available here:
> https://bugzilla.fedora.us/show_bug.cgi?id=1332
> 
> 
> Regards,
> jpo
> 
> | Attached is a new init script I wrote.  It's based on the existing
> | init.d.Redhat and init.d.Redhat-7.3 scripts.  The main deficiency I
> | wanted to correct was that the existing scripts do not properly
> | implement 'reload' by sending a HUP to the running syslog-ng.  Other
> | than that I just tried to clean the init script up and make it
> | consistent with other Redhat-style init scripts.
> |
> | I'm calling this script init.d.Fedora since there were already those
> | existing scripts.  However, I believe my script should work on any
> | RedHat or Fedora system, so I would ask that you remove the existing
> | scripts.
> |
> | Unless, of course, there's some functionality I'm missing in my
> | script.
> |
> | Thanks,
> | P.
> 
> 
> - --
> José Pedro Oliveira
> Departamento de Informática, Universidade do Minho
> Tel: +351 253 604470 * Fax: +351 253 604471
> Version: GnuPG v1.2.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFCA6l0l0metZG9hRsRAtJFAKDWum35MqGNMYU+ROze/t0xDVo5zgCdFDov
> kbNPVkIpFZwi6gI+aWvFD7U=
> =FmWM
> _______________________________________________
> syslog-ng maillist  -  syslog-ng@lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html

-- 
Philip J. Hollenback
Telemetry Investments
phollenback@telemetry-investments.com