Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159456 - netmount (baselayout) - duplicating functionality of nfsmount (nfs-utils)
Summary: netmount (baselayout) - duplicating functionality of nfsmount (nfs-utils)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-30 02:46 UTC by Thomas Bettler
Modified: 2006-12-30 06:45 UTC (History)
0 users

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


Attachments
netmount-1.13.patch (patch,877 bytes, patch)
2006-12-30 06:45 UTC, Thomas Bettler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Bettler 2006-12-30 02:46:31 UTC
considering the complexity arriving from handling nfs4 ( #101624 ) 
we may delegate the nfsmounts completly to nfsmount and depend on it,
instead of duplicating its functionality to netmount?
Comment 1 SpanKY gentoo-dev 2006-12-30 03:39:40 UTC
not really

nfs mounts can sanely be used without nfs-utils package even installed
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-12-30 04:17:41 UTC
You should look at the netmount script in 1.13 - here's a link
http://sources.gentoo.org/viewcvs.py/baselayout/trunk/init.d/netmount?view=markup

The only nfs stuff is the dependency on portmap for the init script.
Comment 3 Thomas Bettler 2006-12-30 06:40:39 UTC
I agree, the nfs part isn't a big thing.

However, I still claim, that /etc/init.d/nfsmount and /etc/init.d/netmount are ment to do the same: mount nfs{,4} volumes (and others). I'd say netmount does the job not as good. (Issue - missing id mapping for nfs4)
So in presence of nfsmount, we might depend on it. Shouldn't we?

Solution:
Currently we just use="nfsmount", but in case it present we might need="nfsmount" to have rpc.idmap and friends started, though, this is _not yet_ implemented in nfsmount. (See bug #101624 for details)
Comment 4 Thomas Bettler 2006-12-30 06:45:18 UTC
Created attachment 104982 [details, diff]
netmount-1.13.patch

The patch checks for nfsmount and if present add need=nfsmount
to start the respective services (portmap, idmapper and friends) see bug #101624 for details.

Exclusion of nfs/nfs4 of the mount list is not necessary, though the nfs volumes are already mounted at this time via nfsmount.