Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264253 - nfs-utils-1.1.4 and hardened-sources-2.6.28r6 don't play together
Summary: nfs-utils-1.1.4 and hardened-sources-2.6.28r6 don't play together
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-30 07:57 UTC by Guenther Falk
Modified: 2009-05-30 20:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Kernel config (config,31.13 KB, text/plain)
2009-03-30 07:58 UTC, Guenther Falk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guenther Falk 2009-03-30 07:57:05 UTC
Trying to start NFS fails with the following error message:
Mar 30 09:51:49 nfs rpc.statd[15894]: Caught signal 15, un-registering and exiting.
Mar 30 09:52:08 nfs rpc.statd[17792]: Version 1.1.4 Starting
Mar 30 09:52:08 nfs rpc.statd[17792]: Flags:
Mar 30 09:52:08 nfs nfsd[17871]: nfssvc: writing fds to kernel failed: errno 93 (Protocol not supported)
Mar 30 09:52:08 nfs nfsd[17871]: nfssvc: writing fds to kernel failed: errno 93 (Protocol not supported)
Mar 30 09:52:08 nfs nfsd[17871]: nfssvc: Address already in use


Reproducible: Always

Steps to Reproduce:
1.start with kernel-2.6.28r6
2.start /etc/init.d/nfs

Actual Results:  
/etc/init.d/nfs fails to start
Comment 1 Guenther Falk 2009-03-30 07:58:43 UTC
Created attachment 186723 [details]
Kernel config
Comment 2 Gal Goldschmidt 2009-04-16 20:54:55 UTC
I think I know were this come from:
In the kernel config:
CONFIG_SUNRPC_REGISTER_V4=y
 Does not work with net-nds/portmap-6.0

I don't know about nfs-utils but I bumped it to 1.1.15, to try to solve the issue, it did not.

I found in some forum instructions about using portmap or rpcbind.
I then installed net-nds/rpcbind-0.1.7 and it works like a charm.
I don't know if it will work with the stable nfs-utils ( currently 1.1.14).

To solve this issue, you can recompile with backward portmap support( unset the above config), or use the unstable rpcbind and maybe the unstable nfs-utils.
NFS is back to work here.



Comment 3 SpanKY gentoo-dev 2009-05-30 20:50:43 UTC
re-open if disabling CONFIG_SUNRPC_REGISTER_V4 doesnt fix things