|
From: Bruce S. <bw...@ar...> - 2003-07-16 20:19:28
|
Something wrong with the firewall script??? I did some trial & error, removing scripts one at a time until the problem went away. Here is what happens when I _only_ remove the firewall script: ------------------------------------------------------------------- root:/data/build/tmp/ETC/etc# rm -fr bs root:/data/build/tmp/ETC/etc# mkdir bs root:/data/build/tmp/ETC/etc# cp -a init.d/ bs root:/data/build/tmp/ETC/etc# cd bs/init.d/ root:/data/build/tmp/ETC/etc/bs/init.d# root:/data/build/tmp/ETC/etc/bs/init.d# grep -l "### BEGIN INIT INFO" $PWD/* | xargs insserv insserv: Max recursions deep 99 reached insserv: Max recursions deep 99 reached insserv: Max recursions deep 99 reached insserv: Max recursions deep 99 reached insserv: Max recursions deep 99 reached insserv: Maximum of 99 in ordering reached root:/data/build/tmp/ETC/etc/bs/init.d# rm firewall root:/data/build/tmp/ETC/etc/bs/init.d# grep -l "### BEGIN INIT INFO" $PWD/* | xargs insserv root:/data/build/tmp/ETC/etc/bs/init.d# ------------------------------------------------------------------- root:/data/build/tmp/ETC/etc/bs/init.d# grep firewall /etc/insserv.conf $network network firewall grsecurity root:/data/build/tmp/ETC/etc/bs/init.d# The firewall script requires "$network", $network requires firewall. Infinite loop?!?!? ------------------------------------------------------------------- root:/data/build/tmp/ETC/etc# rm -fr bs root:/data/build/tmp/ETC/etc# cp -a init.d/ bs root:/data/build/tmp/ETC/etc# cd init.d/ bs root:/data/build/tmp/ETC/etc/init.d# vi /etc/insserv.conf # remove "firewall" from $network line. root:/data/build/tmp/ETC/etc/init.d# grep -l "### BEGIN INIT INFO" $PWD/* | xargs insserv root:/data/build/tmp/ETC/etc/init.d# ------------------------------------------------------------------- Works now! Do we change build/scripts/config/insserv.conf or build/config/etc/init.d/firewall? Neither have been changed in a long time, so I don't know what causes this problem to start happening now, but it does seem to be an error from what I've learned about insserv in the last couple days. I recommend making this change: # cvs_sf diff ./config/etc/init.d/firewall Index: ./config/etc/init.d/firewall =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/init.d/firewall,v retrieving revision 1.5 diff -r1.5 firewall 12c12 < # Required-Start: $network --- > # Required-Start: network grsecurity Shall I commit that change??? Whew ... BS :-) |