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




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@xxxxxxxxxxxxx>
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@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-ports
To unsubscribe, send any mail to "cvs-ports-unsubscribe@xxxxxxxxxxx"


l8*
-lava

x.25 - minix - bitnet - plan9 - 110 bps - ASR 33 - base8
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Strange problem logging on,PLZ HELP!! only to one account though.
    ... > i am having some strange problem logging. ... with what's allowed to run at startup in your profile. ... MS-MVP ~ Windows Shell/User ...
    (microsoft.public.windowsxp.accessibility)
  • Re: Strange startup behaviour.
    ... In response to Danny Carroll: ... fine but not at boot time. ... startup scipts I see some strange things. ...
    (freebsd-questions)
  • Strange startup behaviour.
    ... Since I recently started using freebsd as a adsl gateway I have noticed ... fine but not at boot time. ... startup scipts I see some strange things. ...
    (freebsd-questions)
  • Re: Removing an OS on a Multiple Operating System PC
    ... "Selective Startup" checked. ... "Nepatsfan" wrote: ... >> the boot process and gives me the option of two versions of XP ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: FC 10-Live cd locks up during boot.
    ... is having troubles with booting on a Live Cd. ... Any commands that I can feed to the boot process ?? ... the beginning of the startup process (when you see "Welcome to Fedora" ... Choose "N" for that script, and then at the next script you can ...
    (Fedora)