syslogd dumps core on amd64 cuurent

Manfred Antar null at pozo.com
Sun Nov 27 03:31:49 UTC 2016


Todays change to syslogd.c causes it to dump core on starting:

(syslogd)5014}/etc/rc.d/syslogd stop
Stopping syslogd.
Waiting for PIDS: 731.
(syslogd)5015}make install
install  -s -o root -g wheel -m 555   syslogd /usr/sbin/syslogd
install  -o root -g wheel -m 444 syslog.conf.5.gz  /usr/share/man/man5/
install  -o root -g wheel -m 444 syslogd.8.gz  /usr/share/man/man8/
(syslogd)5016}/etc/rc.d/syslogd start
Starting syslogd.
syslogd: child pid 21052 exited on signal 4 (core dumped)
/etc/rc.d/syslogd: WARNING: failed to start syslogd
(syslogd)5017}

the change was to the file syslogd.c :

--- syslogd.c	2016-11-26 19:14:55.086134000 -0800
+++ syslogd.c.new	2016-11-26 07:58:53.382705000 -0800
@@ -1835,6 +1835,7 @@
 		free((char *)f);
 	}
 	Files = NULL;
+	*nextp = NULL;
 
 	/* open the configuration file */
 	if ((cf = fopen(ConfFile, "r")) == NULL) {




More information about the freebsd-current mailing list