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

Bug 159690

Summary: net-fs/am-utils - amd init script should use portmap
Product: Gentoo Linux Reporter: Ulrich Spoerlein <ulrich.spoerlein>
Component: Current packagesAssignee: Network Filesystems <net-fs>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: PMASKED
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ulrich Spoerlein 2007-01-02 01:50:08 UTC
Hi,

as I read it, the amd.rc script has a dependancy on nfs and ypbind.

However, on my Gentoo system the amd script is executed _before_ portmap (I have no NFS server configured, I'm only using the client part).

To make sure amd starts *after* ypbind and rpcbind it is not sufficient to depend on NFS, but on rpcbind.

The FreeBSD and NetBSD amd scripts also depend on rpcbind,ypbind and nfsclient.

I'm not sure if the rpcbind dep should go into 'use' or 'need', attached is a patch that works for my system.

Ulrich Spoerlein

--- amd.rc      2004-07-15 01:36:03.000000000 +0200
+++ amd.rc      2007-01-02 09:34:55.000000000 +0100
@@ -5,7 +5,7 @@
 
 depend() {
        need localmount
-       use ypbind nfs
+       use ypbind nfs portmap
 }
 
 start() {
Comment 1 Martin Mokrejš 2009-06-05 10:10:10 UTC
Why is this issue still open? ;)
Comment 2 SpanKY gentoo-dev 2009-06-06 00:46:05 UTC
base-system has nothing to do with am-utils or really any other net-fs/ package
Comment 3 SpanKY gentoo-dev 2011-04-06 23:14:45 UTC
no longer in the tree ... it was pmasked + punted