DragonFly submit List (threaded) for 2005-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
pf / pflog rc.d patch
hi,
i've found some bug in pf / pflog scripts in /etc/rc.d. my /etc/rc.conf
includes:
pf_enable="YES"
pflog_enable="YES"
then, while system boot i see some errors:
kldload: can't load pflog: No such file or directory
/etc/rc: ERROR: pflog module failed to load.
/etc/rc: INFO: pf module loaded.
Enabling pf.
looks like pflog don't work without pf, probably because then they
don't have anything to log ;), so i've changed REQUIRE field's in
both scripts and then they starts and work fine without any errors. patch
included:
Index: etc/rc.d/pf
===================================================================
RCS file: /home/dcvs/src/etc/rc.d/pf,v
retrieving revision 1.1
diff -u -r1.1 pf
--- etc/rc.d/pf 21 Sep 2004 21:25:28 -0000 1.1
+++ etc/rc.d/pf 9 Feb 2005 00:24:33 -0000
@@ -5,7 +5,7 @@
#
# PROVIDE: pf
-# REQUIRE: root beforenetlkm mountcritlocal netif pflog
+# REQUIRE: root beforenetlkm mountcritlocal netif
# BEFORE: DAEMON LOGIN
# KEYWORD: DragonFly nojail
Index: etc/rc.d/pflog
===================================================================
RCS file: /home/dcvs/src/etc/rc.d/pflog,v
retrieving revision 1.1
diff -u -r1.1 pflog
--- etc/rc.d/pflog 21 Sep 2004 21:25:28 -0000 1.1
+++ etc/rc.d/pflog 9 Feb 2005 00:24:38 -0000
@@ -5,7 +5,7 @@
#
# PROVIDE: pflog
-# REQUIRE: root beforenetlkm mountcritlocal netif
+# REQUIRE: root beforenetlkm mountcritlocal netif pf
# BEFORE: DAEMON LOGIN
# KEYWORD: DragonFly nojail
--
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]