Subject: Re: misc/35534: /etc/rc.d/amd does not set /var/run/amd.pid
To: None <gnats-bugs@NetBSD.org>
From: Matt Fleming <mjf@NetBSD.org>
List: netbsd-bugs
Date: 02/01/2007 12:22:15
On Thu, Feb 01, 2007 at 12:10:03PM +0000, Andreas_Hallmann wrote:
>  # grep command_args /etc/rc.d/amd 
>  command_args='-p -a '$amd_dir' -F /etc/amd.conf >/var/run/amd.pid'
>  

This looks correct to me.

>  >  
>  >  # grep amd /etc/rc.conf 
>  >  amd=YES amd_flags="-F /etc/amd/master -l syslog:LOG_DAEMON" amd_dir=/amd
>  >  amd=YES amd_flags="-F /etc/amd/master -x all" amd_dir=/amd

I added both of these lines and still can't reproduce your problem. Are
the permissions correct for /var/run/amd.pid?

What does `ps ax | grep amd` show?

--mjf