Skip to contentSkip to conversation

NFS root + iptables in 2.6.25

DISCUSSION Wojciech Kromer 3 participants 4 messages Sep 19, 2008

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

Hi.

I'm using nfs root filesystem for developing.
On 2.6.23 everything works fine, but on 2.6.25 loading any iptables module causes problems:

# modprobe iptable_nat
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
nfs: RPC call returned error 1
nfs: RPC call returned error 1
nfs: RPC call returned error 1
nfs: RPC call returned error 1
nfs: RPC call returned error 1
nfs: RPC call returned error 1

Probably iptables changed it's default behavior from "allow all" to "deny all" at startup.
Is there any way to change it back?
I can't change anything after loading any iptable module, because all programs on filesystem are not accessible after loading...

Regards.

#1 lore raw
Quoted 9 lines · Wojciech Kromer
# modprobe iptable_nat
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
nfs: RPC call returned error 1

Probably iptables changed it's default behavior from "allow all" to "deny all" at startup.
Is there any way to change it back?
I can't change anything after loading any iptable module, because all programs on filesystem are not accessible after loading...

NFS and iptables definitely takes some care - and there are still holes
- no way to specify ports for all requests...

but this seems odd... you must've had some extant rules that suddenly seemingly changed behaviour before the modprobe was done

Signature · 5 lines
Rick Nelson
[In 'Doctor' mode], I spent a good ten minutes telling Emacs what I
thought of it.  (The response was, 'Perhaps you could try to be less
abusive.')
		-- Matt Welsh
#2 lore raw
Quoted 9 lines

NFS and iptables definitely takes some care - and there are still holes
- no way to specify ports for all requests...

but this seems odd... you must've had some extant rules that suddenly seemingly changed behaviour before the modprobe was done

it was first module loaded

#3 lore raw
In reply to Wojciech Kromer
Quoted 17 lines · On Fri, 19 Sep 2008 08:22:21 +0200 Wojciech Kromer…

Hi.

I'm using nfs root filesystem for developing.
On 2.6.23 everything works fine, but on 2.6.25 loading any iptables module causes problems:

# modprobe iptable_nat
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
nfs: RPC call returned error 1
nfs: RPC call returned error 1
nfs: RPC call returned error 1
nfs: RPC call returned error 1
nfs: RPC call returned error 1
nfs: RPC call returned error 1
Quoted 7 lines

Probably iptables changed it's default behavior from "allow all" to "deny all" at startup.
Is there any way to change it back?
I can't change anything after loading any iptable module, because all programs on filesystem are not accessible after loading...

(cc's added)

(googles "nfs: RPC call returned error 1")

hm, there has been a dribble of reports going back several years, but nothing conclusive afaict.

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html