This is a discussion on /etc/rc doesn't create pflog0 unless pflogd is used within the mailing.openbsd.tech forums, part of the OpenBSD category; --> If pflogd is disabled, pflog0 doesn't get created, so this happens: starting network daemons: dhcpd sendmail ftp-proxy identd inetd ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| If pflogd is disabled, pflog0 doesn't get created, so this happens: starting network daemons: dhcpd sendmail ftp-proxy identd inetd sshd spamd spamlogdspamlogd: couldn't initialize pcap: Device not configured .. I think this is better: Index: rc ================================================== ================= RCS file: /cvs/src/etc/rc,v retrieving revision 1.309 diff -u -p -r1.309 rc --- etc/rc 9 Jan 2008 21:38:19 -0000 1.309 +++ etc/rc 16 Jan 2008 00:51:29 -0000 @@ -298,11 +298,13 @@ if [ -d /var/empty ]; then fi syslogd ${syslogd_flags} -if [ X"${pf}" != X"NO" -a X"${pflogd_flags}" != X"NO" ]; then +if [ X"${pf}" != X"NO" ]; then ifconfig pflog0 create >/dev/null 2>&1 if ifconfig pflog0 >/dev/null 2>&1; then ifconfig pflog0 up - pflogd ${pflogd_flags} + if [ X"${pflogd_flags}" != X"NO" ]; then + pflogd ${pflogd_flags} + fi fi fi |