From owner-freebsd-bugs Tue Jul 4 15:57:32 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA16775 for bugs-outgoing; Tue, 4 Jul 1995 15:57:32 -0700 Received: from cps201.cps.cmich.edu (archive@cps201.cps.cmich.edu [141.209.20.201]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id PAA16765 for ; Tue, 4 Jul 1995 15:57:31 -0700 Received: (from archive@localhost) by cps201.cps.cmich.edu (8.6.9/8.6.9) id SAA25856; Tue, 4 Jul 1995 18:57:18 -0400 Date: Tue, 4 Jul 1995 18:57:18 -0400 (EDT) From: CMU Mail Archive X-Sender: archive@cps201 Reply-To: mbailey@gnu.ai.mit.edu To: gjbroom@csr.uvic.ca cc: freebsd-bugs@freefall.cdrom.com Subject: Re: conf/589: poor sysconfig/rc interaction when starting amd In-Reply-To: <199507042030.NAA04537@freefall.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: bugs-owner@FreeBSD.org Precedence: bulk On Tue, 4 Jul 1995 gjbroom@csr.uvic.ca wrote: > > >Description: > > When amd is started in /etc/rc, using $amdflags from sysconfig, > it would be really *really* nice if the line read: > echo -n 'amd'; eval amd ${amdflags} > ^^^^ > This way, you can single-quote amdflags in sysconfig, and use > backquotes to get information from the NIS. If the backquotes > are double-quoted, an NIS lookup occurs before the network is > started. My $amdflags look like: > amdflags='-a /tmp_mnt -l syslog `ypcat -k amd.master`' > so amd works very much like Sun's automount (and I can automatically > generate amd.master on my NIS master). > > > >How-To-Repeat: > > > > >Fix: > > Change "amd ${amdflags}" to "eval amd ${amdflags}" in /etc/rc. > > >Audit-Trail: > >Unformatted: > > Do you think it possible that you could send me your yp Makefile and a copy of your AMD maps we want to replace our suns automounter with AMD so that we can feed the FreeBSD and LinSux boxes here the same automount map. If you would thank you. If not I assume there is a good reason :) Thanks again Matthew S. Bailey mbailey@cps.cmich.edu (please use this instead of the reply-to thanks)