Re: rc_ng: amd invocation is still broken

2002-06-24 Thread John Polstra

In article <[EMAIL PROTECTED]>,
Mike Makonnen  <[EMAIL PROTECTED]> wrote:
> On Mon, 24 Jun 2002 10:54:06 -0700 (PDT)
> John Polstra <[EMAIL PROTECTED]> wrote:
> 
> > I updated my -current system yesterday, and AMD still isn't being
> > started quite right by rc_ng.  The messages at boot time say:
> > 
> 
> does the following patch fix it? If so, please commit it.

Yes, your patch fixes it.  Thanks!  I'll commit it forthwith.

John
-- 
  John Polstra
  John D. Polstra & Co., Inc.Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: rc_ng: amd invocation is still broken

2002-06-24 Thread Mike Makonnen

On Mon, 24 Jun 2002 10:54:06 -0700 (PDT)
John Polstra <[EMAIL PROTECTED]> wrote:

> I updated my -current system yesterday, and AMD still isn't being
> started quite right by rc_ng.  The messages at boot time say:
> 

does the following patch fix it? If so, please commit it.

Cheers,
Mike Makonnen

Index: amd
===
RCS file: /home/ncvs/src/etc/rc.d/amd,v
retrieving revision 1.4
diff -u -r1.4 amd
--- amd 21 Jun 2002 19:50:01 -  1.4
+++ amd 24 Jun 2002 19:10:44 -
@@ -17,8 +17,8 @@
 
 case `${CMD_OSTYPE}` in
 FreeBSD)
-   start_cmd="echo 'Starting amd.'; /usr/sbin/${name} &"
start_precmd="amd_precmd"
+   command_args="&"
;;
 NetBSD)
command_args='-p -a '$amd_dir' -F /etc/amd.conf >/var/run/amd.pid'

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



rc_ng: amd invocation is still broken

2002-06-24 Thread John Polstra

I updated my -current system yesterday, and AMD still isn't being
started quite right by rc_ng.  The messages at boot time say:

Starting amd.
Amd configuration file (/etc/amd.conf): No such file or directory

Here is my rc.conf file:

rc_ng="YES"

hostname="blake.polstra.com"
network_interfaces="fxp0 lo0"
ifconfig_fxp0="206.213.73.12/27"
defaultrouter="206.213.73.1"

amd_enable="YES"
nfs_client_enable="YES"
nfs_server_enable="YES"
portmap_enable="YES"

ntpdate_enable="YES"
ntpdate_flags="-b wall.polstra.com"
xntpd_enable="YES"

diskcheckd_enable="NO"
inetd_enable="YES"
saver="logo"
sendmail_enable="NO"
sshd_enable="YES"

My /etc/rc.d/amd file is the latest version (1.4).

Apparently, the "amd_flags" setting is not being honored.  I am
using the default from /etc/defaults/rc.conf, which is:

amd_flags="-a /.amd_mnt -l syslog /host /etc/amd.map /net /etc/amd.map"

This should not require any /etc/amd.conf file.

John

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message