From owner-freebsd-stable@freebsd.org Wed Jul 26 00:19:18 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7725DABE07 for ; Wed, 26 Jul 2017 00:19:18 +0000 (UTC) (envelope-from pz-freebsd-stable@ziemba.us) Received: from osmtp.ziemba.us (osmtp.ziemba.us [208.106.105.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 77F606D144 for ; Wed, 26 Jul 2017 00:19:17 +0000 (UTC) (envelope-from pz-freebsd-stable@ziemba.us) Received: from hairball.ziemba.us (localhost.ziemba.us [127.0.0.1]) by hairball.ziemba.us (8.15.2/8.15.2) with ESMTP id v6Q0JDl1046105 for ; Tue, 25 Jul 2017 17:19:13 -0700 (PDT) (envelope-from pz-freebsd-stable@ziemba.us) Received: (from mailnull@localhost) by hairball.ziemba.us (8.15.2/8.15.2/Submit) id v6Q0JCZ4046104 for freebsd-stable@FreeBSD.org; Tue, 25 Jul 2017 17:19:12 -0700 (PDT) (envelope-from pz-freebsd-stable@ziemba.us) X-Authentication-Warning: hairball.ziemba.us: mailnull set sender to pz-freebsd-stable@ziemba.us using -f Received: (from news@localhost) by usenet.ziemba.us (8.14.5/8.14.5/Submit) id v6Q0JCLW021055 for treehouse-mail-freebsd-stable@hairball.ziemba.us; Tue, 25 Jul 2017 17:19:12 -0700 (PDT) (envelope-from news) From: "G. Paul Ziemba" To: freebsd-stable@FreeBSD.org Subject: Re: stable/11 r321349 crashing immediately Date: Wed, 26 Jul 2017 00:19:12 +0000 (UTC) Message-id: References: <201707222016.v6MKGMPa070777@gw.catspoiler.org> Reply-to: unp@ziemba.us Errors-to: "G. Paul Ziemba" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jul 2017 00:19:18 -0000 truckman@freebsd.org (Don Lewis) writes: >On 22 Jul, David Wolfskill wrote: >> Back when I was doing sysadmin stuff for a group of engineers, my >> usual approach for that sort of thing was to use amd (this was late >> 1990s - 2001) to have maps so it would set up NFS mounts if the >> file system being served was from a different host (from the one >> running amd), but instantiating a symlink instead if the file system >> resided on the current host. >Same here. >It's a bit messy to do this manually, but you could either use a symlink >or a nullfs mount for the filesystems that are local. Yes, I've been running amd for years, but the warning in the amd(8) man page prompted me to switch to autofs last week as part of updating my system. My amd maps had a way of specifying per-client information, which I indeed used in the way indicated above. I bit the bullet yesterday and implemented this capability in an include_nis script attached to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221010 It currently doesn't notice IPv6 addresses that belong to "self," as I haven't decided how to parse _that_ ifconfig output (and does anyone really specify IPv6 addresses in NIS maps?) -- G. Paul Ziemba FreeBSD unix: 5:16PM up 18:11, 8 users, load averages: 0.36, 0.32, 0.33