pf / pflog rc.d patch

看板DFBSD_submit作者時間21年前 (2005/02/09 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/9 (看更多)
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 --
文章代碼(AID): #122LB400 (DFBSD_submit)
討論串 (同標題文章)
文章代碼(AID): #122LB400 (DFBSD_submit)