[syslog-ng]new Fedora/Redhat init script

Philip J. Hollenback syslog-ng@lists.balabit.hu
Fri, 4 Feb 2005 16:21:07 -0500


Well, even though syslog and syslog-ng accomplish the same task, they
are separate entities.  You could run both of them on your system if
you wanted to.  I don't think you should replace a file that another
package uses, so I think #3 is the only good answer.

P.

On 02/04/05, Richard E. Perlotto II wrote:
> There is really only three choices here:
> 
> [1]	Edit the existing file which belongs to
> 	another package, but a package that serves
> 	the same function as this one.
> [2]	You replace the file which is still affecting an
> 	existing package, but you would lose any custom
> 	changes in the file.
> [3]	You create a new file which will most likely
> 	have duplicates with the old package which will
> 	cause other difficulties.
> 
> Of these I think ti would be better to edit the existing
> file to not lose any custom entries that may have been made,
> and it has the least impact on the existing packages.
> 
> 
> 
> Richard
> 
> Philip J. Hollenback wrote:
> >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
> >
> >
> _______________________________________________
> 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