Subject: Re: misc/35534: /etc/rc.d/amd does not set /var/run/amd.pid
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Andreas_Hallmann <hallmann@ahatec.de>
List: netbsd-bugs
Date: 02/02/2007 12:10:02
The following reply was made to PR misc/35534; it has been noted by GNATS.

From: Andreas_Hallmann <hallmann@ahatec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: misc/35534: /etc/rc.d/amd does not set /var/run/amd.pid
Date: Fri, 2 Feb 2007 13:06:48 +0100

 On Fri, Feb 02, 2007 at 11:30:04AM +0000, Matt Fleming wrote:
 > The following reply was made to PR misc/35534; it has been noted by GNATS.
 > 
 > From: Matt Fleming <mjf@NetBSD.org>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: misc/35534: /etc/rc.d/amd does not set /var/run/amd.pid
 > Date: Fri, 2 Feb 2007 11:26:20 +0000
 > 
 >  On Thu, Feb 01, 2007 at 03:50:02PM +0000, Andreas_Hallmann wrote:
 >  >  Modified my rc.conf such that I now have 
 >  >  
 >  >  502: ps -ax | grep amd
 >  >  	239 ?     Is     1:05.10 /usr/sbin/amd -x all -p -a /amd -F /etc/amd.conf 
 >  >  
 >  >  But still no PID.
 >  >  
 >  >  You can reproduce it, what release are you using? 
 >  >  If I remember right, this showed up, after upgrading to 3.0 and still remains in 3.1
 >  >  
 >  
 >  I had pavel@ test this on a 3.1_RC1 machine and the problem you specify didn't
 >  occur.
 >  
 >  Could you please show the contents of your amd.conf file?
 >  
 
 Dear Matt, thanks a lot for insisting an getting this tiny flaw.
 I also have a 3.1_RC1 machine. But it behaves like my 3.1_STABLE.
 Moreover it apears on i386 and sparc.
 
 It follows my /etc/amd/master and /etc/amd/amd.src
 
 
 ############################################################
 My amd.conf links to /etc/amd/master and  looks like this:
 ############################################################
 # $Id: master,v 1.4 2007/02/01 15:27:58 hallmann Exp $
 
 [global]
 
 normalize_hostnames =    no
 print_pid =              no
 restart_mounts =         yes
 auto_dir =               /amd
 log_file =               /var/log/amd
 log_options =            all
 #debug_options =         all
 plock =                  no
 selectors_on_default =   no
 # config.guess picks up "sunos5" and I don't want to edit my maps yet
 #os =                     sos5
 # if you print_version after setting up "os", it will show it.
 print_version =          no
 map_type =               file
 search_path =            /etc/amd
 browsable_dirs =         full 
 # was yes
 
        # DEFINE AN AMD MOUNT POINT
 #       [ /home ]
 #       map_name =               amd.home
 
 #       [ /proj ]
 #       map_name =               amd.proj
 #
        [ /srcs ]
        map_name =               amd.src
 #
 #       [ /misc ]
 #       map_name =               amd.misc
 #
 #       [ /import ]
 #       map_name =               amd.import
 #
 #       [ /tftpboot/.amd ]
 #       tag =                    tftpboot
 
 
 #########################################################
 My amd.src looks like this:
 #########################################################
 #
 # $Id: amd.src,v 1.4 2007/01/30 08:43:50 hallmann Exp $
 #
 src   	  type:=nfs;rhost:=nda.ahatec.de;rfs:=/mounts/netbsd/;sublink:=${key}
 xsrc   	  type:=nfs;rhost:=nda.ahatec.de;rfs:=/mounts/netbsd/;sublink:=${key}
 pkgsrc-2006Q3 type:=nfs;rhost:=moshus.ahatec.de;rfs:=/export/work/;sublink:=${key}
 pkgsrc-2006Q4 type:=nfs;rhost:=moshus.ahatec.de;rfs:=/export/work/;sublink:=${key}
 pkgsrc 	      type:=nfs;rhost:=moshus.ahatec.de;rfs:=/export/work/;sublink:=${key}
 distfiles2 type:=nfs;rhost:=moshus.ahatec.de;rfs:=/export/netbsd/;sublink:=${key}
 pub   	  type:=nfs;rhost:=kukalda.ahatec.de;rfs:=/export/pub/
 tmp100    type:=nfs;rhost:=nda.ahatec.de;rfs:=/mounts/amanda.cache/
 distfiles type:=nfs;rhost:=newby.ahatec.de;rfs:=/mounts/distfiles/
 tmp       type:=nfs;rhost:=newby.ahatec.de;rfs:=/mounts/tmp/