[syslog-ng] Re: [PATCH] Added SElinux module for running syslog-ng on RHEL5.

Balazs Scheidler bazsi at balabit.hu
Sat May 26 18:43:03 CEST 2007

On Tue, 2007-05-22 at 22:46 +0200, Jan-Frode Myklebust wrote:
> On Tue, May 22, 2007 at 12:02:19AM +0200, Jan-Frode Myklebust wrote:
> > 
> > Cool, thanks.. I've changed the policy to reflect that syslog-ng.persist
> > should be located in /var/lib/syslog-ng/syslog-ng.persist, so maybe
> > you could:
> > 
> > 	git pull http://tanso.net/git/syslog-ng-2.0.git selinux
> It would also be great if you could pull:
> 	git pull http://tanso.net/git/syslog-ng-2.0.git rhelspecfile
> That will pull in a contrib/rhel-packaging/syslog-ng.spec that can be
> used for building RPMs for RHEL:
> 	http://git.tanso.net/syslog-ng-2.0.git/?p=syslog-ng-2.0.git;a=blob;f=contrib/rhel-packaging/syslog-ng.spec;h=a4b2f3d22c7da6becd14001774129e356bd3927b;hb=30ea94e38175a94deb9a2fe7d586d957a18cce29
> It will build both a normal package for the base syslog-ng, and a
> separate RPM for the selinux module:
> 	http://tanso.net/yum/repodata/repoview/syslog-ng-0-2.0.4-8.el5.html
> 	http://tanso.net/yum/repodata/repoview/syslog-ng-selinux-0-2.0.4-8.el5.html
> The base syslog-ng should work on any RHEL, while the syslog-ng-selinux
> will only work on RHEL5, FC6 or similar with the new modular SELinux
> policy.

I'll ask the collegue doing the packaging work review your changes, and
possibly integrate it into the specfile in the root of the distribution.

> BTW: any hints for how to get a @VERSION@ replaced like you do for
> automatic conversion from syslog-ng.spec.bb.in to syslog-ng.spec.bb ?
> Currently I have the version number hard-coded..

It needs to be added to AC_OUTPUT in configure.in


More information about the syslog-ng mailing list