Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 266998

Summary: [net-fs/nfs-utils] rpc.mountd opens raw partitions, causes to hang if a broken (even not-mounted!) disk is plugged in
Product: Gentoo Linux Reporter: Enrico 'nekrad' Weigelt <weigelt>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Enrico 'nekrad' Weigelt 2009-04-21 17:19:31 UTC
rpc.mountd, when called by a remote system, tries to open raw partitions (!!!) and so hangs if one of the disks doesnt respond. after several seconds i get a timeout on remote side.

Actually, I really wonder which business rpc.mountd has with RAW partitions at all. So the NFS server is completely unusable.


I've had a quick look through the sources, but couldnt find the cause of the problem yet, will have to investigate further.

Reproducible: Always

Steps to Reproduce:
1. plug in some broken disk, which takes really long to respond (w/o mounting !)
2. mount a properly exported filesystem (on a good disk ;-p) from remote side
3. wait several secs and enjoy the RPC timeout ;-o



Expected Results:  
rpc.mountd should have absolutely now business with raw partions.