Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 1996 16:49:10 +0100 (WET)
From:      "Alain FAUCONNET" <af@biomath.jussieu.fr>
To:        ivanov@nfsun1.jinr.dubna.su (A.P.Ivanov)
Cc:        freebsd-stable@freebsd.org
Subject:   Re: amd and reserved port trouble
Message-ID:  <199610071549.QAA02549@asterix.biomath.jussieu.fr>
In-Reply-To: <325906D2.41C67EA6@nf.jinr.ru> from "A.P.Ivanov" at Oct 7, 96 01:34:10 pm

next in thread | previous in thread | raw e-mail | index | archive | help
A.P.Ivanov wrote / a ecrit:
> 
> af@biomath.jussieu.fr wrote:
> > 
> > A.P.Ivanov wrote / a ecrit:
> > >
> > > Hi,everybody!
> > >
> > > I have problem automounting Suns exported NFS directories.
> > > Seems there is no options like -P for amd (like in mount).
> > > So is there is a way to resolve this. I compiled the lates
> > > amd (amdupl102) but the problem remains.
> > >
> > 
> > Can you elaborate ? I am using amd to automount  filesystems  exported
> > by all sorts of machines, including SunOS 4.1.3 and 5.3. No problem so
> > far. Note that on the Sun boxes, rpc.mountd runs with -n option.  That
> > might be the reason (and the dirty fix ?). We did that because of  our
> > Ultrix clients having problems otherwise.
> 
>    The problem is that our Sun's (SunOS 4.1.4) sysadmin don't want
> to run rpc.mountd -n. But besides I recently switched from Linux
> where I had the same version of amd compiled and running without
> any problems (it uses ports<1024 for mounting). I'm not a Unix
> guru, but it seems that kernel doesn't allow amd process to use
> ports<1024. Or may be I misunderstand smth? Is it curable?

Hmmm. Just did a quick check.  "foo"  is  a  Sparc10  running  4.1.3,
"garfield" runs FreeBSD 2.1-stable (may 1996)

foo# ps auxw|grep mountd
root     24187  0.0  0.0   56    0 ?  IW   16:32   0:00 rpc.mountd
foo# exportfs
/usr/openwin -anon=0,access=trusted
(trusted is a netgroup which garfield belongs to)

garfield> ps auxw | grep amd
root       102  0.0  0.6   296  384  ??  S     8:24PM    0:03.10 \
                                       amd -l syslog /Net /etc/amd.net.map
garfield> ls /Net/foo/usr/openwin
bin     demo    etc     include lib     man     modules share

Seems to work even without -n as for the FreeBSD clients.
Some more information:

garfield> ls -l /usr/sbin/amd
-r-xr-xr-x  1 bin  bin  77824 May 25 17:56 /usr/sbin/amd

garfield> /usr/sbin/amd -v
Copyright (c) 1990 Jan-Simon Pendry
Copyright (c) 1990 Imperial College of Science, Technology & Medicine
Copyright (c) 1990, 1993 The Regents of the University of California.
amd 1.1.1.1 of 1994/05/26 05:22:08 bsd44 #0: Sat May 25 17:22:19 GMT-1 1996
Built by root@garfield.biomath.jussieu.fr for an i386 running bsd44 (little-endian).
Map support for: root, passwd, union, nis, file, error.
FS: ufs, nfs, nfsx, host, link, linkx, program, union, auto, direct, 
    toplvl, error.
Primary network is biomath-net.jussieu.fr.

Did you recompiled amd from a distribution coming from Linux ?
Mine comes from /usr/src/usr.sbin/amd. If yours don't, use the one that 
comes with your FreeBSD distribution.

_Alain_
-- 
Alain FAUCONNET    Ingenieur systeme - System Manager     AP-HP/SIM
Public Health                91 bld de l'Hopital 75013 PARIS FRANCE
Medical Computing Research Labs         Mail: af@biomath.jussieu.fr
Tel: (+33) 1-40-77-96-19                   Fax: (+33) 1-45-86-80-68
    I've RTFMed. It says: "Refer to your system administrator"
            But... I *am* the system administrator :-]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610071549.QAA02549>