Syslog-NG at Boot (WAS: Re: cvs commit: ports/sysutils/syslog-ng Makefile distinfo pkg-plist)

Brian A. Seklecki lavalamp at spiritual-machines.org
Mon Feb 13 08:30:57 PST 2006


> might expect to talk to it.  I assume you put syslogng_enable="YES" into
> /etc/rc.conf? as well as syslogd_enable="NO".  (Or, it might work just 
to
> change syslogd_program="/path/to/syslogngd" and not bother with changing
> anything else).
>
> --Alex
>

Just to clarify, even the latest src/etc/rc.d/syslogd at:

http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/syslogd?rev=1.11&content-type=text/x-cvsweb-markup

Specially hard-codes /usr/sbin/$program as the executable, thus setting:

syslogd_program="/usr/local/sbin/syslog-ng"
syslogd_flags="-p /var/run/syslog.pid"
syslogd_enable="YES"

Has no effect at startup.  It starts the system syslogd(8).

*HOWEVER*, after the boot process is complete, /etc/rc.d/syslogd begins to 
honor syslogd_program="" (start, stop, status).

It's very strange.  Perhaps a more rc(8) compliant syslog-ng.sh.example 
should be packaged up?

~lava

On Thu, 7 Jul 2005, Roman Bogorodskiy wrote:

> novel       2005-07-07 18:57:24 UTC
>
>  FreeBSD ports repository
>
>  Modified files:
>    sysutils/syslog-ng   Makefile distinfo pkg-plist
>  Log:
>  - Update to 1.6.8 that fixes some bugs
>  - Fix potential broke as authors move old versions to old/ directory
>  - Make NOPORTDOCS work
>
>  PR:             83102
>  Submitted by:   Vsevolod Stakhov <vsevolod at highsecure.ru>
>  Approved by:    Vince Valenti (maintainer)
>
>  Revision  Changes    Path
>  1.27      +3 -2      ports/sysutils/syslog-ng/Makefile
>  1.19      +2 -2      ports/sysutils/syslog-ng/distinfo
>  1.3       +14 -14    ports/sysutils/syslog-ng/pkg-plist
> _______________________________________________
> cvs-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/cvs-ports
> To unsubscribe, send any mail to "cvs-ports-unsubscribe at freebsd.org"
>

l8*
 	-lava

x.25 - minix - bitnet - plan9 - 110 bps - ASR 33 - base8


More information about the freebsd-questions mailing list