From owner-freebsd-current@freebsd.org Fri Nov 10 09:12:45 2017 Return-Path: Delivered-To: freebsd-current@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 1796EE6914B for ; Fri, 10 Nov 2017 09:12:45 +0000 (UTC) (envelope-from prvs=480442106=roger.pau@citrix.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0302B6C6FB for ; Fri, 10 Nov 2017 09:12:45 +0000 (UTC) (envelope-from prvs=480442106=roger.pau@citrix.com) Received: by mailman.ysv.freebsd.org (Postfix) id F35C4E6914A; Fri, 10 Nov 2017 09:12:44 +0000 (UTC) Delivered-To: current@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 F2E69E69149 for ; Fri, 10 Nov 2017 09:12:44 +0000 (UTC) (envelope-from prvs=480442106=roger.pau@citrix.com) Received: from SMTP.CITRIX.COM.AU (smtp.citrix.com.au [103.14.252.240]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "DigiCert SHA2 Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 549406C6FA for ; Fri, 10 Nov 2017 09:12:43 +0000 (UTC) (envelope-from prvs=480442106=roger.pau@citrix.com) X-IronPort-AV: E=Sophos;i="5.44,373,1505779200"; d="scan'208";a="106778355" Date: Fri, 10 Nov 2017 09:12:32 +0000 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: "Herbert J. Skuhra" CC: Subject: Re: bootonly release target not creating etc/ssh/ Message-ID: <20171110091232.pa7nx4tivaizuous@dhcp-3-128.uk.xensource.com> References: <20171109175552.dqrcgpa5uqkmsztw@dhcp-3-128.uk.xensource.com> <87o9obrpsi.wl-herbert@mailbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87o9obrpsi.wl-herbert@mailbox.org> User-Agent: NeoMutt/20171013 X-ClientProxiedBy: AMSPEX02CAS02.citrite.net (10.69.22.113) To AMSPEX02CL03.citrite.net (10.69.22.127) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2017 09:12:45 -0000 On Fri, Nov 10, 2017 at 12:33:01AM +0100, Herbert J. Skuhra wrote: > On Thu, 09 Nov 2017 18:55:52 +0100, > Roger Pau Monné wrote: > > > > Hello, > > > > Since recently it seems like the bootonly release make target doesn't > > create the etc/ssh directory. I've usually done: > > > > # make buildworld > > # make buildkernel > > # make -C release ftp > > # make -C release bootonly > > # cp release/bootonly/etc/ssh/ > > > > But the ssh directory doesn't seem to exist anymore. Is this expected? > > Hi, > > on my system the files are no longer in $SRCPATH/release but in > /usr/obj/$SRCPATH/$TARGET.$TARGET_ARCH/release: > > $ ls -l /usr/obj/usr/home/herbert/source/freebsd/head/src/amd64.amd64/release/bootonly/etc/ssh > total 54 > -rw-r--r-- 1 root wheel 553185 10 Nov 00:26 moduli > -rw-r--r-- 1 root wheel 1780 10 Nov 00:26 ssh_config > -rw-r--r-- 1 root wheel 3359 10 Nov 00:26 sshd_config > > > Not sure if this is expected, a bug or PBKAC. :) Thanks! The main problem is that the flow specified above is run inside of a script, that should be able to build images pre/post whatever changeset that modified this behavior. IMHO there should be a way to restore previous behavior. Roger.