[syslog-ng] INCLUDE not working for me :(

Charles Jennings jennings.charles.e.security at gmail.com
Wed Apr 1 15:10:37 CEST 2009


Thanks for your response.  I am a medium-core (not hard-core) linux users so
I don't know all the in's and out's.

A stdout message just pointing to a README would suffice for me - stating to
review for important changes...

As to the include - yes - it is working just fine.  Thanks.

Regards,

Charles Jennings

-----Original Message-----
From: syslog-ng-bounces at lists.balabit.hu
[mailto:syslog-ng-bounces at lists.balabit.hu] On Behalf Of Balazs Scheidler
Sent: Wednesday, April 01, 2009 2:12 AM
To: Syslog-ng users' and developers' mailing list
Subject: Re: [syslog-ng] INCLUDE not working for me :(

Hi,

Thanks for the feedback, it's really appreciated.

On Tue, 2009-03-31 at 09:38 -0500, Charles Jennings wrote:
> Looks like I was mistaken.  The install did work - but I just didn't 
> realize it.
> (I had already chmod -x /etc/init.d/syslog when I installed compiled
> version)
> 
> However, A couple of points to the installer:
> 
> 1)	Positive feedback needed.

There are multiple installers for syslog-ng right now, and the ".run"
based installers (that can run on RHEL/SUSE/Debian) has positive feedback.
My understanding of RPM based systems is that rpms are not usually
interactive.

On Debian, there's debconf and the installer uses that to ask for some
installation options, but rpm has no similar feature.

We could perhaps write messages to the console, but I don't see how we could
make the RPM interactive without affecting the non-interactive
installations.

> 2)	Notify users that their existing configuration is migrated. (this
> one took a while to figure out)
> 	(Mine moved from /etc/syslog-ng/syslog-ng.conf to
> /opt/syslog-ng/etc/syslog-ng.conf)
> 3)	Notify users that the init script is being modified.

Again, I think this can be solved by writing important notifications to the
standard output.

> 4)	Change init script to act like other RHEL5 scripts:
> 	Old:	[OK]	in green at certain column position
> 	Now:	OK - no bracket, no green, located right after text.

We're using LSB based initscripts so that we can integrate with the systems
better, however a lot of distributions have bugs in their LSB installations
(such as RHEL5 and anything before that) so we're falling back to our own
LSB implementation. But that is meant to be run on all systems, thus it is
not completely the same as RHEL5.

Anyway, I'll see if we can reuse at least parts of the local LSB
implementation, such as printing the success/failure of the daemon startup.

> 5)	Change path statement to reflect new executable location 
> 	(mine was still looking at old executable)

This is difficult again. What path to modify, the system wide default, or
the root's local settings. Is he using bash/ksh/zsh/tcsh. Each has a
different startup script.

That's why this is not implemented. The .run based installers displays a
notification dialog that you need to change your PATH environment variable
in order to use the new binaries from the shell prompt. But again, since the
RPM is completely silent, this is not printed.

Do you think it'd be enough to print this information? I'd be reluctant to
break the user's profile script.

Also, does the "include" file feature work for you after installation?

>  

--
Bazsi


____________________________________________________________________________
__
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation:
http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.campin.net/syslog-ng/faq.html




More information about the syslog-ng mailing list