From owner-freebsd-pkgbase@freebsd.org Thu Aug 10 15:18:38 2017 Return-Path: Delivered-To: freebsd-pkgbase@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 1F3DBDD5600 for ; Thu, 10 Aug 2017 15:18:38 +0000 (UTC) (envelope-from jmaloney@ixsystems.com) Received: from mx.ixsystems.com (mx.ixsystems.com [12.229.62.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN ".", Issuer "." (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EEF1B64366; Thu, 10 Aug 2017 15:18:34 +0000 (UTC) (envelope-from jmaloney@ixsystems.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by mx.ixsystems.com (Postfix) with ESMTP id 3xSsGc5fGMzCsTs; Thu, 10 Aug 2017 08:18:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ixsystems.com; h=x-mailer:content-transfer-encoding:content-type:content-type :mime-version:subject:subject:references:in-reply-to:message-id :from:from:date:date:received:received:received:received :received:received:received; s=dkim; t=1502378301; x=1504192702; bh=ftLWsayEa/yEaV53RweCx6uF/ip/T9MR917Ver2I0RI=; b=qzUV7QJIm/Ih 2GIxwbaQG7KzkluVftDcs9gGSyX0Lnf8FE0yarWPDpnXZ5dSaYNmkLek2RnyboE6 Atqp1csk7amQ9oVqeHgpSrsDkHlUP8DV2DUlTcsgIsZdQjSoOR+EFdomgxwdmgwV oo9wSyJlG9hVZMJ3/DNES8vzUUjWzBxO0SqQuVAgiHLMfhdXHhFQScXjnOqjW76W 2g5Xa5jDhBpdY1zvjNqIr0WG+Gmg8WGAgi4ldA+K8r9zpoxmaJf/BJOO29vgSQ4y wSJ44IJhEwJnScMHbse1Ck2YXvkvQY9ixp40TCA+Chk2+OKGRUqUk0ISKEC3/V78 N/bcl7AiRg== X-Amavis-Modified: Mail body modified (using disclaimer) - mx.ixsystems.com X-Virus-Scanned: Scrollout F1 at ixsystems.com Received: from mx.ixsystems.com ([127.0.0.1]) by localhost (mx.ixsystems.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id wQcMqns29sOg; Thu, 10 Aug 2017 08:18:21 -0700 (PDT) Received: from zimbra.ixsystems.com (mail.ixsystems.com [10.246.0.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.ixsystems.com (Postfix) with ESMTPS id 3xSsGP2CDSzCsTn; Thu, 10 Aug 2017 08:18:21 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.ixsystems.com (Postfix) with ESMTP id 465BC4600EE; Thu, 10 Aug 2017 08:18:21 -0700 (PDT) Received: from zimbra.ixsystems.com ([127.0.0.1]) by localhost (zimbra.ixsystems.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id OMF57TSo9Plv; Thu, 10 Aug 2017 08:18:20 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.ixsystems.com (Postfix) with ESMTP id 4645D4600FA; Thu, 10 Aug 2017 08:18:20 -0700 (PDT) X-Virus-Scanned: amavisd-new at ixsystems.com Received: from zimbra.ixsystems.com ([127.0.0.1]) by localhost (zimbra.ixsystems.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id r1OR25O17C3u; Thu, 10 Aug 2017 08:18:20 -0700 (PDT) Received: from zimbra.ixsystems.com (zimbra.ixsystems.com [10.246.0.20]) by zimbra.ixsystems.com (Postfix) with ESMTP id 199744600EE; Thu, 10 Aug 2017 08:18:20 -0700 (PDT) Date: Thu, 10 Aug 2017 08:18:19 -0700 (PDT) From: Joe Maloney To: Glen Barber Cc: freebsd-pkgbase@FreeBSD.org Message-ID: <1218488026.1377609.1502378299872.JavaMail.zimbra@ixsystems.com> In-Reply-To: <20170810140615.GD63224@FreeBSD.org> References: <20170810140615.GD63224@FreeBSD.org> Subject: Re: pkgbase update and progress MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.246.0.20] X-Mailer: Zimbra 8.7.7_GA_1787 (ZimbraWebClient - FF54 ([unknown])/8.7.7_GA_1787) Thread-Topic: pkgbase update and progress Thread-Index: Btn+lkD+lkWzsJ/M5y9tyqucEK3JNA== X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2017 15:18:38 -0000 Thanks for the update Glen. For TrueOS we are running into a few interesting scenarios with pkg base which I think may be worth mentioning. * Due to the fact pc-sysinstall installs FreeBSD-* some users have packages such as FreeBSD-atm which are never cleaned up during upgrades. * Since we have no mechanism of properly merging changes to /etc we simply copy files as needed with pc-updatemanager, and it is difficult to maintain what should be updated, merged, or removed. We know that the meta pkg for base, and etc upgrading are on the list of todos. Just wanted to share the current status of pkg base in TrueOS. If you are looking for feedback on particular things we can probably get that for you in short order. -- Joe Maloney QA Manager / iXsystems Enterprise Storage & Servers Driven By Open Source ----- Original Message ----- From: "Glen Barber" To: freebsd-pkgbase@FreeBSD.org Sent: Thursday, August 10, 2017 10:06:15 AM Subject: pkgbase update and progress Hi, For those not following svn-src-head (or an equivalent list), there have been a few pkgbase-related commits recently. Of particular interest: 1) The runtime package now depends on the kernel package. This was done to force the kernel package to be installed before the userland so upgrades can be done in a manner following the recommended upgrade path for source-based upgrades in UPDATING. (Meaning, install the kernel, reboot, install the userland, reboot.) Which brings me to... 2) A message is now printed, recommending the kernel package be upgraded with 'pkg install FreeBSD-kernel-${KERNCONF}', allowing the user to cancel the operation. Note, the message is not printed if TERM is not set or ASSUME_ALWAYS_YES is true. In order to get this to work correctly when multiple kernels are built, the runtime package depends on the first, and only the first, kernel built (i.e., the first kernel listed in KERNCONF on the command line or in make.conf(5)). I am only mentioning these in this email as they're user-facing, and although I have tested things work as expected, I am sure someone will run into something I have not considered. That brings me to the update on packaging base. There was a pkgbase session held at BSDCam early this month, with a few notes taken. I have put the notes at the bottom of the pkgbase Wiki page: https://wiki.freebsd.org/PkgBase In addition, I updated the page yesterday to reflect a few "things we need" items that occurred to me over the past week or so. There are a few notes from the pkgbase session that do not provide enough information or are unclear to me what is intended. (Not to point out anyone specific, but can whoever added "Userland packages sets" to the list please clarify?) Anyway, now that 11.1-RELEASE is done, I'm back to getting my hands dirty with pkgbase, which I am sure some of you have guessed, right now is targeted for 12.0-RELEASE. (On a side note, who outside of bapt@ knows the gory internals of pkg(8) and has commit access to the upstream repository?) Thanks, Glen