Automount NFSv4 doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autofs (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I'm trying to use NFSv4 automount within an lxc container, however, it doesn't work (it works for Solaris zones, so that's not an server issue).
> cd /net/pkg/<TAB>
/net/pkg/ not found
> cat /etc/auto.master
/net -hosts
+dir:/etc/
+auto.master
The following log message makes me suspicious (comes 3-4 times):
[Feb 5 01:51] audit: type=1400 audit(142309903
But AFAICS rw,bind is allowed:
>cat /etc/apparmor.
profile lxc-container-
deny mount fstype=devpts,
mount options=(rw, rbind),
mount fstype=nfs,
mount fstype=nfs4,
mount fstype=rpc_pipefs,
mount fstype=autofs,
}
That's the profile in the global/parent zone used by all our containers. So not sure, whether it is actually a NFSv4 or apparmor bug ...
Is this a privileged container? Can you mount the NFS share manually with the mount command?