[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

NFS + iptables: (re)boot sequence



Hello,
   
I'm trying to implement some iptables rules for my
system. Unfortunately, (on etch) it appears that the boot sequence
doesn't allow for nfs mounts to be located (as nfs+portmap appear to
get started _before_ I've established an internet connection with my
network interface which relies on dhcp.)

Is there a way to specify the boot-order so that nfs-mounts are only
possible once the network is up and running?

Also, related somewhat to reboot sequence, I have an 'inactive' ruleset
for iptables that pretty much denies all internet access when I go for a
shutdown. Unfortunately, it appears that nfs mounts aren't unmounted
before then, and so i portmap complains when it's time for it to unmount
the nfs shares (as there's no more internet connection) and stalls the
shutdown process indefinitely.

Is it possible to prevent this from happening?

Thank you.
-- 
Joseph Le-Phan <five0.oss at gmail.com> [GPG key: 292E09A0]



Reply to: