Hello James you wrote
Hello all, I'm trying to make DNSCache start before shorewall. This is because I need DNS lookups in the shorewall rules file. I spoke to a friend of mine and we changed the RCDLINKS in the init.d files to the following DNSCache RCDLINKS="2,S45 3,S45 6,K45" Shorewall RCDLINKS="2,S41 3,S41 6,K46" Before, shorewall have a lower value after 6,K Is this the correct way to make DNSCache start first? Because it made no difference. .................................... almost correct ;) runlevel 6 is however the runlevel used to stop the box. K is Kill and S is Start. So if you go to runlevel 2 ( the normal operating modus) Shorewall is started at position 41 and dnscache at 45 changeing to : DNSCache RCDLINKS="2,S41 3,S41 6,K45" Shorewall RCDLINKS="2,S45 3,S45 6,K46" lets dnscache starts before shorewall. But I am not sure if that will solve your problem as shorewall will probably be necessary to allow your network to be used after it is started. This will also depend on your connection mode. If it would be possible to use an open connection to the external network during the startup of shorewall, you have a potential security risk. ---------------- I'm loath to make any more changes in case I kill my box and have to start again :\ The other suggestions I have to try are: Change 6 to 7 Add "Sleep 30" to the beginning of the shorewall init script. And I have no idea whether they would be fatal changes. Any advice? Thanks, James Regards Eric Wolzak member of the bering crew ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html