fbsd 6.2 pf starts -- but not on boot

snowcrash+freebsd schneecrash+freebsd at gmail.com
Mon Jun 4 21:03:21 UTC 2007


hi,

i've fbsd 6.2R/p5, with pf compiled into a custom kernel.

on boot, pf is, apparently, not starting.

but, if i exec

	/etc/rc.d/pf start

immediately after boot to prompt is done, then all's OK.

the only related (?) messages -- error or otherwise -- i've found are
on startup.

any ideas/suggestions as to what might be the prob? and/or how to troubleshoot?

thanks!

for reference, from console output @ startup,

----------------------------------------
...
sis0: link state changed to UP
sis1: link state changed to UP
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 sscopeid 0x5
        inet6 ::1 prefisxlen 128
        inet2 127.0.0.1 netma:sk 0xff000000
sis0: flags=8843l<UP,BROADCAST,RUiNNING,SIMPLEX,MUnLTICAST> mtu 149k2
        options=48<V LAN_MTU,POLLING>s
        inet 10.0.0.10 netmask 0xfafffff00 broadcastt 10.0.0.255
        ether 00:00:12:d4:15:88
        media:t Ethernet autoseolect (100baseTX  <full-duplex>)
        status: active
sis1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1492
        options=48<VLAN_MTU,POLLING>
        ether 00:00:12:d4:15:89
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
Starting pflog.
pflog0: promiscuous mode enabled
Enabling pf.
Jun  4 13:38:11 pflogd[479]: [priv]: msg PRIV_OPEN_LOG received
pfctl: DIOCSETSTATUSIF
pf enabled
Starting ppp.
add net default: gateway 10.0.0.10
Additional routing options:.
Starting devd.
Mounting NFS file systems:.
...
----------------------------------------

and, further,

% cat /etc/rc.conf

----------------------------------------
ifconfig_sis1="mtu 1492 polling"
ifconfig_sis0="inet 10.0.0.10 netmask 255.255.255.0 mtu 1492 polling"

hostname="router.mydomain.com"
defaultrouter="10.0.0.10"

# PPP
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="NO"
ppp_profile="ppp`"

# PF
pf_enable="YES"
pf_flags=""
pf_rules="/usr/local/etc/pf/pf.conf"
pflog_enable="YES"
pflog_flags=""
pflog_logfile="/var/log/pflog"

# SPAMD
obspamd_enable="YES"
obspamd_flags="-v -l 127.0.0.1 -h mail.mydomain.com -n GATEWAY"
obspamlogd_enable="YES"
obspamlogd_flags=""

# MISC
inetd_enable="YES"
firewall_enable="NO"
nfs_client_enable="YES"
usbd_enable="YES"
snmpd_enable="NO"
webmin_enable="NO"
pcscd_enable="NO"
sshd_enable="NO"
ntpdate_enable="NO"
ntpd_enable="YES"

# BIND9
named_enable="YES"
named_chrootdir="/var/chroot/named"
named_flags="-c /etc/named.conf"
named_pidfile="/var/run/named.pid"
named_program="/usr/local/sbin/named"
named_uid="bind"

# RBLDNSd
rbldnsd_enable="YES"
rbldnsd_flags=${rbldnsd_flags:-"-4 -u rbldns:rbldns -r
/var/chroot/rbldnsd -b 127.0.0.1/530 -t 900
my.dnsbl:ip4set:dnsbl/mx_local_black.txt"}

# SENDMAIL
mta_start_script="/etc/rc.sendmail"
sendmail_enable="YES"
sendmail_flags="-L sm-mta -bd -q30m"
sendmail_pidfile="/var/run/sendmail.pid"
sendmail_procname="/usr/sbin/mailwrapper"
sendmail_msp_queue_enable="YES"
sendmail_msp_queue_flags="-L sm-msp-queue -Ac -q30m"
sendmail_outbound_enable="YES"
sendmail_outbound_flags="-L sm-queue -q30m"
sendmail_submit_enable="YES"
sendmail_submit_flags="-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost"


# DHCP Services
dhcpd_enable="YES"
dhcpd_chroot_enable="YES"
dhcpd_chuser_enable="YES"
dhcpd_devfs_enable="YES"
dhcpd_conf="/usr/local/etc/dhcpd.conf"
dhcpd_flags="-q -early_chroot"
dhcpd_ifaces="sis0"
dhcpd_jail_enable="YES"
dhcpd_rootdir="/var/chroot/dhcpd"
dhcpd_withgroup="dhcpd"
dhcpd_withumask="022"
dhcpd_withuser="dhcpd"
----------------------------------------


More information about the freebsd-questions mailing list