From owner-freebsd-pkgbase@freebsd.org Mon May 6 19:32:59 2019 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B6AB1593965 for ; Mon, 6 May 2019 19:32:59 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C47E862CE for ; Mon, 6 May 2019 19:32:57 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 3e594e93; Mon, 6 May 2019 21:26:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=4c8ZwhpWGvlUu1RmxbhkcbhpeuI=; b=oibOof7h0l/7wenqVmB5xlstryTp BWJ+uXfJSY2WEtl+Skr3eSiW69mxGQ+kLYrgyhV+HHXDDUHO5Zx3Yskc+KY90Xgf nOKAlF34cusYvCwBeKOPp00AHJCbvAHUpGPqwJbcjLQBB0ulyKiyWoNdZaTXaGoD BiCyUSjfn6Udu8Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=ZvDxITMDcK5rPHDe7l1lbestfTNCyrfpKEfShXfj1mZ9f93Y51BebibU bMaiIzM6/04QLTJpMDjDzqT9CCCFRPAJN4JvRmqRKZUUcvoDwqeycKf4o06c93d9 +Mw1IW6IcJ44YZhajtaPo15N0A7ajalTaxsU/bB9Dc/9vfSD+3Y= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 6194c3c6 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 6 May 2019 21:26:15 +0200 (CEST) Date: Mon, 6 May 2019 21:26:15 +0200 From: Emmanuel Vadot To: "Martin Jakob" Cc: freebsd-pkgbase@freebsd.org Subject: Re: No master.passwd and group file in FreeBSD-runtime package Message-Id: <20190506212615.60876ff01e23861ffc55fa5c@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 3C47E862CE X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=oibOof7h; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [-1.21 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; NEURAL_HAM_MEDIUM(-0.71)[-0.709,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_HAM_LONG(-0.91)[-0.915,0]; NEURAL_HAM_SHORT(-0.06)[-0.056,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[mx-backup.blih.net,mail.blih.net]; FREEMAIL_TO(0.00)[gmx.de]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.38)[ip: (-0.78), ipnet: 212.83.160.0/19(2.94), asn: 12876(-0.23), country: FR(-0.01)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2019 19:32:59 -0000 On Sat, 4 May 2019 18:14:44 +0200 "Martin Jakob" wrote: > While experimenting with jails and pkgbase (you can read about it here: > https://lists.freebsd.org/pipermail/freebsd-pkgbase/2019-April/000431.html), > i noticed that the files master.passwd and hosts are not included in the > FreeBSD-runtime package. So, in my case the created jail does not start > correctly. > The package is prepared for processing the master.passwd file, by calling > the pwd_mkdb command internaly, but this fails because the files are not there. > A FreeBSD-runtime package modified by me, to include these two files, > results in a working jail. > > My question is, are there reasons to exclude the master.passwd and group files > from the package? Maybe to prevent problems when performing a pkg upgrade run > on the system? > > -- > regards Hi, Those missing files have been in my todo list for a few weeks, I've just posted a review that address that : https://reviews.freebsd.org/D20173 Cheers, -- Emmanuel Vadot From owner-freebsd-pkgbase@freebsd.org Sat May 11 08:18:59 2019 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 86C1015955CC for ; Sat, 11 May 2019 08:18:59 +0000 (UTC) (envelope-from erisianash@gmail.com) Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 84CFC800E9 for ; Sat, 11 May 2019 08:18:58 +0000 (UTC) (envelope-from erisianash@gmail.com) Received: by mail-pl1-x629.google.com with SMTP id g5so3915660plt.2 for ; Sat, 11 May 2019 01:18:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=ux0z/WoWvJhhQqWKXHaSUKUOf5MCfRYSuuEYstUfOYg=; b=qjaiEk8Sreu6sSOyG7xivwDBfRmtpLrspozzxr1QOAqdZaWQBFU1/zue+vtBXT0IXD yenoBt9TEWp9txmq50VT9in0kMBmClU1/FZPrmFRKorodg35o0z0nty8PKrzdMtKkr9H QwSUME714ne3fG8SZo0/uPtGAyldniq8HloQON9WaKEhcfGyktwcMiF8eNFgOeAYMlJ4 QXNyBuEqL4Q7VHL/dBlrOz8sAXrWfIAqCqGvf4NoESWjoPOJYiWyNsaIjIZ6IVQg4D4Y 2CMNplPjuWpqAFT66HtKwP+RvxcVZLS5YpHrK2WJxwve3cLPMLfNCgsgC6JTdm87j4l4 YPDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=ux0z/WoWvJhhQqWKXHaSUKUOf5MCfRYSuuEYstUfOYg=; b=LOAxLO0lgmH+CZTboicdONhooydA9R3OJtEe7iqr+d7NkscUdP8QmHFjXqc+j8x6Ei EKCdxR+OW6wC25oD+iZDBCkFUnE8alNHv+rZ9bqllOj7xtjUTNxmBKDS9pN9lrhbUAyg C430VDvwpmLZMmSUnt8a7O+Yddo4ZdnGlBaYeJsAw+yhWOXRqKWIG3RX07nzx3fob17y DRo7e5mTubPSszs+B9WvQGwwaWOEMtuYwpBTveSMuAyXJRpk5XHrLbiMV6fn5KoQMHPQ ELUSIi/VtDqx7ZhlV2f7Xi88njpd1lIvrbFoFeK+bDmB584Hvj/E+Exp5+tQpymLFkZm IGtg== X-Gm-Message-State: APjAAAWMwlVEF9O8CVJ9YZRLEfG8iF7XgeppbaLvczEq2VGfQFdaL3bU HhtyA3ZZgrV37eoWcMrx4OgS0qeo97I= X-Google-Smtp-Source: APXvYqyHYDdEjUMQodbbLKnjAaSpbg+1zgFwBOdbj6kJislyHMvxftfw/WR5v20OQRmgBTrj5Q/YXQ== X-Received: by 2002:a17:902:bd0c:: with SMTP id p12mr18448792pls.50.1557562736899; Sat, 11 May 2019 01:18:56 -0700 (PDT) Received: from eris.lan (75-164-224-233.ptld.qwest.net. [75.164.224.233]) by smtp.gmail.com with ESMTPSA id b77sm14710881pfj.99.2019.05.11.01.18.55 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 11 May 2019 01:18:56 -0700 (PDT) From: erisianash@gmail.com X-Google-Original-From: Received: from achase (uid 1001) (envelope-from ErisianAsh@gmail.com) id b80ab by eris.lan (DragonFly Mail Agent v0.11+); Sat, 11 May 2019 01:19:27 -0700 To: freebsd-pkgbase@freebsd.org Subject: Existing passwd and group files overwritten by pkgbase upgrade Date: Sat, 11 May 2019 01:19:27 -0700 Message-Id: <5cd6858f.b80ab.69219d7d@eris.lan> X-Rspamd-Queue-Id: 84CFC800E9 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=qjaiEk8S; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of erisianash@gmail.com designates 2607:f8b0:4864:20::629 as permitted sender) smtp.mailfrom=erisianash@gmail.com X-Spamd-Result: default: False [-6.93 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.93)[-0.929,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-3.00)[ip: (-9.40), ipnet: 2607:f8b0::/32(-3.25), asn: 15169(-2.27), country: US(-0.06)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkgbase@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_NO_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[9.2.6.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 May 2019 08:18:59 -0000 After building and installing -CURRENT r347469 using in-tree pkgbase, I discovered that my /etc/group, /etc/passwd, /etc/master.passwd, /etc/pwd.db and /etc/spwd.db had been overwritten. I encountered this after running 'make packages', installing into a ZFS Boot Environment using bectl to create and mount a new BE, running 'pkg -r $mounpoint upgrade -y' and 'pkg -r $mountpoint -yg "FreeBSD-*"' to upgrade the packages and insure that new base packages got installed, and finally unmounting and activating the BE. ~Ashley Chase From owner-freebsd-pkgbase@freebsd.org Sat May 11 13:19:09 2019 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58450159BA29 for ; Sat, 11 May 2019 13:19:09 +0000 (UTC) (envelope-from mj-mailinglist@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B7A088B55 for ; Sat, 11 May 2019 13:19:08 +0000 (UTC) (envelope-from mj-mailinglist@gmx.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1557580740; bh=eIarh6rGCLfA+SfKv5tv/SrusviLn0w/OrBYFpqXeLU=; h=X-UI-Sender-Class:From:To:Cc:Date; b=llaWsZcE8u2G5epZNt9k8D8nH9xtKPetYGJTbafqDq6GBhmTVyNiegC1Tn1fg3Jas 4t4JT9JsZrRPxKvnW7cicP+XQv1Ox9da3ctbcUrBeTawAjgABdgHYAutyovvaGuFyk 3M8bE7BjRtoONb0RyGZe/WoO0RFGuNtZVI1+Imr8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [89.245.47.213] ([89.245.47.213]) by web-mail.gmx.net (3c-app-gmx-bs17.server.lan [172.19.170.69]) (via HTTP); Sat, 11 May 2019 15:19:00 +0200 Message-ID: From: mj-mailinglist@gmx.de To: erisianash@gmail.com Cc: freebsd-pkgbase@freebsd.org Date: Sat, 11 May 2019 15:19:00 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:CinF6Bd4byH6M7O8m80WN7ZjoC+PGt4kz3AsmRPw8/tREmCaaWcc4Zggw/XDuR+XQ8ZSh ZI1mQrGbckz4w9nen6j0nIlHb17eMgSD45jkkhqQebiC84kCKoJtjuPAAXNDxiwvLkt4OQPHz9Gb YP7ld1nSiETseDa02YeGP/WMD/nlZ5T5DSXRtEw+ZyZeqG1yD7GW0za69v4a19vKcRJ57nXPmioz pp9ljNZFkqEqHLPLgD5beNSydp5CRggVzotZArqZNy5+l84e0Gh7CN929OHBp7bvlNx1LtaptFnP Cc= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:6I5tY0L4A0A=:EP7XuTKh9HDrXkV0zYgZxb RhQXcvnwTHGrbMbXjt/xQR6JEPvZc/s0rBC7PE37x78CuwifUhqbmOW+mcSLbWdQKb+mJLpAE x9iMNkUMV0L5nlK4Z3AcOonaGj/tAjiCjbAr+Clj5j8lgwyerYAFHIhOSsx0y3sXx6MT+5ZdR LC3WU9WlQ6foEgIQaRGpPxuHuprmowgUZlT8Zc6auNhKgX16VdEVh/ozwTG24aPE+69Q1yrtN urO9i0f/jBoByFIsd91KUbOFn/Mnhvgz9hJJ2AtqrRjXOrnFaCWj4PVKaXuBe7UHGs4Uqbml4 Iehiu+r5BIuUZVUHJTjEQ7fFXk+05+u8Ax/xDUQGhyCoTJlu5POPOv5vXrKaFpI6W4pIQC/I9 x8U+IbC7kWmR18DGTPHv8D/AEILbzCYXOZO0UsAoehriRc2Kg2VPkR6qXxkE7hd3fVFyPLUNY sk/wcVmw9J/s2IclP7g7E1BgHyHhB0jhxSd5vzJ+q1ZLvrUK4Ul/D0Ly7edtFd/IcdmUzR4vV eDKP8XNzEcike7x8iV7W0J5bpTQO2VTsMpeGXh+HcVzO/I5rNT0FANlCCkMklIP1I4CQU/tks oBZcqKmuDKRrLwPvrjqAv2fVwkpk1DQzTIK/XEVd5FXvLGGmU2BmEveQ== X-Rspamd-Queue-Id: 3B7A088B55 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=llaWsZcE; spf=pass (mx1.freebsd.org: domain of mj-mailinglist@gmx.de designates 212.227.15.15 as permitted sender) smtp.mailfrom=mj-mailinglist@gmx.de X-Spamd-Result: default: False [-1.41 / 15.00]; FREEMAIL_FROM(0.00)[gmx.de]; R_SPF_ALLOW(-0.20)[+ip4:212.227.15.0/25]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.01)[mx00.emig.gmx.net,mx01.emig.gmx.net]; DKIM_TRACE(0.00)[gmx.net:+]; RCPT_COUNT_TWO(0.00)[2]; HAS_X_PRIO_THREE(0.00)[3]; MISSING_SUBJECT(2.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[213.47.245.89.zen.spamhaus.org : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.de]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_IN_DNSWL_LOW(-0.10)[15.15.227.212.list.dnswl.org : 127.0.3.1]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.988,0]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; IP_SCORE(-1.32)[ip: (-6.94), ipnet: 212.227.0.0/16(-1.52), asn: 8560(1.89), country: DE(-0.01)]; NEURAL_HAM_SHORT(-0.30)[-0.296,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[gmx.de]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NO_DN(0.00)[]; MIME_HTML_ONLY(0.20)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2] MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 May 2019 13:19:09 -0000 From owner-freebsd-pkgbase@freebsd.org Sat May 11 13:23:32 2019 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B5A9159BCA9 for ; Sat, 11 May 2019 13:23:32 +0000 (UTC) (envelope-from mj-mailinglist@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 240E188F48 for ; Sat, 11 May 2019 13:23:30 +0000 (UTC) (envelope-from mj-mailinglist@gmx.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1557581001; bh=Z5ye6V4SZLOVnq1TFLs8EG8Tw6jFIh8uTmXn1H0bV9I=; h=X-UI-Sender-Class:From:To:Subject:Date; b=SRCuAwxWZJtm1nHCwS0+wMhn1IBNidzGyq5JmrwBO2o2i43WcJaJxELpgn5sQ0H7g D6MSngNrVsLOfKDm3F3LRXM2qnSF9/Eyc+fIgsTntOOEKnm7SBx18/NCl7kbFwKqQf 8zp6WdaDYtmEe2NCej2+ynGOoGPJnKVTDDtgIeOU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [89.245.47.213] ([89.245.47.213]) by web-mail.gmx.net (3c-app-gmx-bs17.server.lan [172.19.170.69]) (via HTTP); Sat, 11 May 2019 15:23:21 +0200 MIME-Version: 1.0 Message-ID: From: mj-mailinglist@gmx.de To: freebsd-pkgbase@freebsd.org Subject: Re: Existing passwd and group files overwritten by pkgbase upgrade Content-Type: text/plain; charset=UTF-8 Date: Sat, 11 May 2019 15:23:21 +0200 Importance: normal Sensitivity: Normal Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-Provags-ID: V03:K1:Fcf3UGLiBe8kwBz0hz98ZsP2QO7Z0mh9GZxJKCRR4X14eXVnedoY/sYaVq6Mnt5gfUPIw sSc3S8GIWsmdDpgBBrsJ+P1MfNS/XKLU2h1TS3bz8z3kHJMc7sqjqahLWCUHq6aEUY65ntNNyImc GCifeYxHu/qlJoQgcGO1fkytw470DpGTFR4WXRBYSlVW2cGcODKCTeEXQsF97UTtnQa5G+Ow6QES 3Rj1PRWPQq7wZGKxbsekyJTeLzWYnQpIX+LInKBJGP1tpnfn495kzU2fOrTbYoYzHf78emNea+hy wY= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Nbt9HSoQdVY=:gTO63L0uBPfEe6VL1112E3 Tc6Ipl5UTErGXu7mfagDnM9laJ1nlCUQ54/yK6IjMGcjgn21fAdKLtptmTFXVkG0TdvuOOpUJ B6bcNBt4nykIFj1VyuoKBVCG1kuPL+uXLXKAIvhXCzB86HhToCZjSNJO46oGCffY9sBYdn0wb +UL1x7S1lw278Srst9g5hcQR6pYzv8ms4Cdqt2SO8KQttnJWZIFdIrd4WjreP667kf9mRE66t YS9cvLRxPyJ5vefQQZ9lbHt3H217jQqMFkyhFxypN1vTl15TSYTwgWhhIv0eSntQUA7I0RqtB kLKKa1A2sBpWwSpyBjyHja99onIgpv9pTbm06VAL+gBsvoMCCYoa0X7cYdOMCUJILx4cc9OEF 4V4JaOMULUDFyn1Z+2ouz4QCeJHYHcgT8wr7Nc11pybt8ak9wvVNMUn1rAQTaW2YhipmURFWL RxOYA6/8173l5Zv1LTg0/V907dRodRQkhkm7AvuEMsUoJoJeNIE2cZMgMfyQkD40JlE3gd0wC Hnbwo6iABIXBSeH9zd7uw5fjVrmYliL2hinwDVDguv3phh9NFsJwwbHN4UtPDAPSMPqc0wbkI ejpga89qS9u7ydBMh5KIWfeFNBC+XvVbUKy9cGsbxiz/fJavwXTaHMvw== X-Rspamd-Queue-Id: 240E188F48 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=SRCuAwxW; spf=pass (mx1.freebsd.org: domain of mj-mailinglist@gmx.de designates 212.227.17.20 as permitted sender) smtp.mailfrom=mj-mailinglist@gmx.de X-Spamd-Result: default: False [-2.88 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; FREEMAIL_FROM(0.00)[gmx.de]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; MX_GOOD(-0.01)[cached: mx00.emig.gmx.net]; HAS_X_PRIO_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.68)[-0.677,0]; RCVD_IN_DNSWL_LOW(-0.10)[20.17.227.212.list.dnswl.org : 127.0.3.1]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.de]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RECEIVED_SPAMHAUS_PBL(0.00)[213.47.245.89.zen.spamhaus.org : 127.0.0.10]; ARC_NA(0.00)[]; FAKE_REPLY(1.00)[]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,0]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[gmx.de]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-1.11)[ip: (-5.89), ipnet: 212.227.0.0/16(-1.52), asn: 8560(1.89), country: DE(-0.01)]; FROM_NO_DN(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 May 2019 13:23:32 -0000 Hi Ashley, I guess this=C2=A0change=C2=A0is=C2=A0the cause:=C2=A0https://reviews=2Efr= eebsd=2Eorg/D20173 It marks the group and=C2=A0the master=2Epasswd file for inclusion in the= =C2=A0 FreebSD-runtime package=2E I tried this change on my 12 system,=C2=A0the files are included in the package=2E You also see them in the runtime=2Eplist=C2=A0file, but as regu= lar file, not marked as a config file, like the motd file for example=2E =C2=A0 =2E=2E=2E @(root,wheel,0644,) /etc/group @(root,wheel,0600,) /etc/master=2Epasswd @config(root,wheel,0644,) /etc/motd =2E=2E=2E =C2=A0 i guess now the existing file is replaced by the new file, instead of beei= ng merged with it=2E i think,=C2=A0the tag "config" must be added to the above patch=2E But i a= m not sure, what the sytnax looks like for this=2E =C2=A0 -- Martin =C2=A0 > After building and installing -CURRENT r347469 using in-tree pkgbase, I > discovered that my /etc/group, /etc/passwd, /etc/master=2Epasswd, > /etc/pwd=2Edb and /etc/spwd=2Edb had been overwritten=2E >=C2=A0 > I encountered this after running 'make packages', installing into a > ZFS Boot Environment using bectl to create and mount a new BE, running > 'pkg -r $mounpoint upgrade -y' and 'pkg -r $mountpoint -yg "FreeBSD-*"' > to upgrade the packages and insure that new base packages got installed, > and finally unmounting and activating the BE=2E >=C2=A0 > ~Ashley Chase > _______________________________________________ > freebsd-pkgbase@freebsd=2Eorg mailing list > https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-pkgbase[https://l= ists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-pkgbase] > To unsubscribe, send any mail to "freebsd-pkgbase-unsubscribe@freebsd=2E= org" >=C2=A0 From owner-freebsd-pkgbase@freebsd.org Sat May 11 13:44:20 2019 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6B159159D665 for ; Sat, 11 May 2019 13:44:20 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D005889C42 for ; Sat, 11 May 2019 13:44:18 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 3b6fa7c0; Sat, 11 May 2019 15:44:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=jOqlBpVfH32ECOvpbkzFUdKpuN0=; b=fja9JcOVVOscZ7u9UkSsNfzlPD9t AxRItzJHYO8UBYNKao4omCDHm2sK9CrOQiSkCCfpbdnheNVNjNR72xtBdpk0gUJ/ ghb5MzHNx5bjylmMFq0Wh+YCLLJxmwekp/GBxmmov21L+l9Q3wBsvApflBwi12d1 TCY3skCFEo3pfLI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=iOYKVf00xIZHbgRIDb2OnpQRnr9hpESngDe7gOZwTt+D/+9EAtFvxna/ UQzg+KKPZoG4T3uLTBA1NrPeCgDxsUH7vhcOzLFFRoAESqObSEzShr0x/QsDT0Fk lQLcC2YfH6XRcdUTfRenrd5TnBPxYspHiMDc5b3vgzIwqFGDkfY= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id e79d03e3 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sat, 11 May 2019 15:44:10 +0200 (CEST) Date: Sat, 11 May 2019 15:44:10 +0200 From: Emmanuel Vadot To: mj-mailinglist@gmx.de Cc: freebsd-pkgbase@freebsd.org Subject: Re: Existing passwd and group files overwritten by pkgbase upgrade Message-Id: <20190511154410.1a74fecbd8cecef669bb6acf@bidouilliste.com> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: D005889C42 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bidouilliste.com header.s=mail header.b=fja9JcOV; spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates 212.83.177.182 as permitted sender) smtp.mailfrom=manu@bidouilliste.com X-Spamd-Result: default: False [0.22 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mail]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.83.177.182/32]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[bidouilliste.com]; NEURAL_SPAM_MEDIUM(0.06)[0.062,0]; NEURAL_SPAM_SHORT(0.40)[0.396,0]; NEURAL_HAM_LONG(-0.70)[-0.703,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[mx-backup.blih.net,mail.blih.net]; FREEMAIL_TO(0.00)[gmx.de]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.38)[ip: (-0.74), ipnet: 212.83.160.0/19(2.93), asn: 12876(-0.30), country: FR(-0.01)]; ASN(0.00)[asn:12876, ipnet:212.83.160.0/19, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 May 2019 13:44:20 -0000 On Sat, 11 May 2019 15:23:21 +0200 mj-mailinglist@gmx.de wrote: > Hi Ashley, >=20 > I guess this=A0change=A0is=A0the cause:=A0https://reviews.freebsd.org/D20= 173 > It marks the group and=A0the master.passwd file for inclusion in the=A0 > FreebSD-runtime package. > I tried this change on my 12 system,=A0the files are included in the > package. You also see them in the runtime.plist=A0file, but as regular fi= le, > not marked as a config file, like the motd file for example. > =A0 > ... > @(root,wheel,0644,) /etc/group > @(root,wheel,0600,) /etc/master.passwd > @config(root,wheel,0644,) /etc/motd > ... > =A0 > i guess now the existing file is replaced by the new file, instead of bee= ing > merged with it. > i think,=A0the tag "config" must be added to the above patch. But i am no= t sure, > what the sytnax looks like for this. > =A0 > -- > Martin > =A0 > > After building and installing -CURRENT r347469 using in-tree pkgbase, I > > discovered that my /etc/group, /etc/passwd, /etc/master.passwd, > > /etc/pwd.db and /etc/spwd.db had been overwritten. > >=A0 > > I encountered this after running 'make packages', installing into a > > ZFS Boot Environment using bectl to create and mount a new BE, running > > 'pkg -r $mounpoint upgrade -y' and 'pkg -r $mountpoint -yg "FreeBSD-*"' > > to upgrade the packages and insure that new base packages got installed, > > and finally unmounting and activating the BE. > >=A0 > > ~Ashley Chase > > _______________________________________________ > > freebsd-pkgbase@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase[https://list= s.freebsd.org/mailman/listinfo/freebsd-pkgbase] > > To unsubscribe, send any mail to "freebsd-pkgbase-unsubscribe@freebsd.o= rg" > >=A0 > _______________________________________________ > freebsd-pkgbase@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase > To unsubscribe, send any mail to "freebsd-pkgbase-unsubscribe@freebsd.org" Yes sorry that's my fault. I beleive the included patch should work but I don't have time to test right now. diff --git a/etc/Makefile b/etc/Makefile index ab70a94bc761..4b60868fe3dc 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -69,9 +69,9 @@ distribution: rc.firewall ${DESTDIR}/etc; .endif cd ${.CURDIR}; \ - ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 -T "tags=3Dpackage=3Druntime"\ + ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 -T "tags=3Dpackage=3Druntime,config"\ ${BIN1} ${DESTDIR}/etc; \ - ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 -T "tags=3Dpackage=3Druntime"\ + ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 -T "tags=3Dpackage=3Druntime,config"\ master.passwd ${DESTDIR}/etc; =20 .if ${MK_TCSH} =3D=3D "no" I'll try to test soon and commit. --=20 Emmanuel Vadot