I am having a problem with amd in a Debian dsitribution. My
/etc/init.d/amd is as follows:

--------------------- begin /etc/init.d/amd -------------
#! /bin/sh

test -x /usr/sbin/amd || exit 0
 
case "$1" in
  start)

        /usr/local/sbin/amd -d math.tifr.res.in -l /var/log/amdlog \
            /usr5 /usr/local/etc/amd/homes.user5
        ;;

  stop)
        start-stop-daemon --stop --verbose --exec /usr/sbin/amd
        ;;

  *)
        echo "Usage: /etc/init.d/amd {start|stop}"
        exit 1
esac

exit 0
--------------------- end /etc/init.d/amd -------------

When I give the command mount, I get (plus other directories that are
not mounted by amd, so I did not include them):

motive:(pid382) on /usr5 type auto (intr,rw,port=999,timeo=8,
                retrans=110,indirect,map=/usr/local/etc/amd/homes.usr5)


The map for /usr5 is the following

--------------------- /usr/local/etc/amd/homes.usr5 -----

/defaults       type:=toplvl;fs:=/amd/usr5;sublink:=${key}
# homes from manifold in /usr5
pablo           host!=manifold;type:=nfs;rhost:=manifold;rfs:=/usr5

---------------------- end of /usr/local/etc/amd/homes.usr5 ------

The /var/log/messages shows the following:

Dec 28 08:36:41 motive amd[202]/info:  linux mount: type nfs
Dec 28 08:36:41 motive amd[202]/info:  linux mount: version 1
Dec 28 08:36:41 motive amd[202]/info:  linux mount: fd 7
Dec 28 08:36:41 motive amd[202]/info:  linux mount: hostname 127.0.0.1
Dec 28 08:36:41 motive amd[202]/info:  linux mount: port 1015
Dec 28 08:36:41 motive amd[202]/info:  linux mount: fsname motive:(pid201)
Dec 28 08:36:41 motive amd[202]/info:  linux mount: type (mntent) auto
Dec 28 08:36:41 motive amd[202]/info:  linux mount:
                opts intr,rw,port=1015,timeo=8,retrans=110,indirect
Dec 28 08:36:41 motive amd[202]/info:  linux mount: dir /usr5
Dec 28 08:36:41 motive amd[201]/user:  No source data for map
                /usr/local/etc/amd/homes.user5
Dec 28 08:36:41 motive amd[201]/info:  /usr/local/etc/amd/homes.user5
                mounted fstype toplvl on /usr5
Dec 28 08:36:43 motive amd[205]/info:  file server localhost type
                local starts up


Now the PROBLEM: when I log on the machine as "pablo", it does not mount
my home directory, so I get logged on / If I enter in the machine as
root just after it boots, and do

        umount /usr

and then

        /usr/sbin/amd -a /amd -d math.tifr.res.in -l /var/log/amdlog \
        /usr5 /usr/local/etc/amd/homes.usr5

then IT WORKS !!

        
Why do I have to umount and execute amd by hand? I have the same script
in a Slackware distribution (in the same machine) and it gives no
problems.

Thanks          Pablo Ares Gastesi.
------------------
"Do you cheat on your wife?" asked the psychiatrist.
"Who else?" answered the patient.

Pablo Ares Gastesi              [EMAIL PROTECTED]

finger -l [EMAIL PROTECTED] for my public key ring

pub  Pablo Ares <[EMAIL PROTECTED]>
Key fingerprint =  50 17 35 F8 F2 19 75 A7  60 C8 44 DB 84 E9 45 1D 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]

Reply via email to