Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jul 1995 13:30:02 -0700
From:      gjbroom@csr.uvic.ca
To:        freebsd-bugs
Subject:   conf/589: poor sysconfig/rc interaction when starting amd
Message-ID:  <199507042030.NAA04537@freefall.cdrom.com>
In-Reply-To: Your message of Tue, 4 Jul 1995 13:24:44 -0700 <199507042024.NAA01910@kinsella.UVic.CA>

next in thread | previous in thread | raw e-mail | index | archive | help

>Number:         589
>Category:       conf
>Synopsis:       /etc/rc should eval amd ${amdflags}
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul  4 13:30:01 1995
>Originator:
>Organization:
>Release:        FreeBSD 2.0-BUILT-19950612 i386
>Environment:

	

>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:





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507042030.NAA04537>