From owner-freebsd-pkg@freebsd.org Sun Nov 29 21:00:15 2020 Return-Path: Delivered-To: freebsd-pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E79734ACCB5 for ; Sun, 29 Nov 2020 21:00:15 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4Ckgjq2NlMz3PqF for ; Sun, 29 Nov 2020 21:00:15 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4A9924AC7CF; Sun, 29 Nov 2020 21:00:15 +0000 (UTC) Delivered-To: pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4823D4ACAB6 for ; Sun, 29 Nov 2020 21:00:15 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ckgjp4H7cz3Pwk for ; Sun, 29 Nov 2020 21:00:14 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4F0F417C2B for ; Sun, 29 Nov 2020 21:00:14 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0ATL0Ebg054727 for ; Sun, 29 Nov 2020 21:00:14 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0ATL0EJp054726 for pkg@FreeBSD.org; Sun, 29 Nov 2020 21:00:14 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202011292100.0ATL0EJp054726@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: pkg@FreeBSD.org Subject: Problem reports for pkg@FreeBSD.org that need special attention Date: Sun, 29 Nov 2020 21:00:14 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2020 21:00:16 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 220049 | ports-mgmt/pkg installs unneeded packages Open | 237369 | ports-mgmt/pkg: pkg delete removes required NLS d 2 problems total for which you should take action. From owner-freebsd-pkg@freebsd.org Wed Dec 2 14:46:21 2020 Return-Path: Delivered-To: freebsd-pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 510D047CCB0 for ; Wed, 2 Dec 2020 14:46:21 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [79.134.105.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CmMGz3NMfz4sLT for ; Wed, 2 Dec 2020 14:46:19 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.151] (82-203-142-141.bb.dnainternet.fi [82.203.142.141]) (authenticated bits=0) by mail.kronometrix.org (8.16.1/8.15.2) with ESMTPSA id 0B2Ek5AJ069092 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 2 Dec 2020 14:46:11 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-142-141.bb.dnainternet.fi [82.203.142.141] claimed to be [192.168.1.151] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.20.0.2.21\)) Subject: FreeBSD 11.4 / 12.2 pkg-install problems startup service Message-Id: Date: Wed, 2 Dec 2020 16:46:00 +0200 To: freebsd-pkg@freebsd.org X-Mailer: Apple Mail (2.3654.20.0.2.21) X-Rspamd-Queue-Id: 4CmMGz3NMfz4sLT X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 79.134.105.182 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [-2.80 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[79.134.105.182:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkg@freebsd.org]; HAS_XAW(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[79.134.105.182:from:127.0.2.255]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[kronometrix.org]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:16302, ipnet:79.134.96.0/19, country:FI]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-pkg] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2020 14:46:21 -0000 Hi, We been using for past 3,4 years FreeBSD (amd64/aarch64) for our own = products,=20 without problems. We are creating our own software, and we build FreeBSD = binary=20 packages from our software. So our software does install as a FreeBSD = binary package. We have noticed changes starting with 12.2 and 11.4 releases. For = example we cannot=20 start anymore our own services, using pkg-install script [1] during pkg = add | install phase.=20 This works fine on under FreeBSD 10.x, 11.3, 12.0, 12.1 but not on 12.2 = or 11.4=20 Are there any big changes regarding pkg and the way pkg-install or = pkg-deinstall work? Any ideas ? We need to be able to start automatically our sofyware after = we have installed the binaries and configurations =E2=80=A6=20 Thanks, Stefan [1] - = https://gitlab.com/kronometrix/recording/-/blob/master/pkg/freebsd/pkg-ins= tall = =20= From owner-freebsd-pkg@freebsd.org Thu Dec 3 10:35:48 2020 Return-Path: Delivered-To: freebsd-pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 06BF44A2704 for ; Thu, 3 Dec 2020 10:35:48 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CmsgR6S7nz3Mwk; Thu, 3 Dec 2020 10:35:47 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from ivaldir.etoilebsd.net (unknown [IPv6:2001:41d0:8:db4c::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id B93902DB5B; Thu, 3 Dec 2020 10:35:47 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by ivaldir.etoilebsd.net (Postfix, from userid 1001) id 7382A48037; Thu, 3 Dec 2020 11:35:44 +0100 (CET) Date: Thu, 3 Dec 2020 11:35:44 +0100 From: Baptiste Daroussin To: Stefan Parvu Cc: freebsd-pkg@freebsd.org Subject: Re: FreeBSD 11.4 / 12.2 pkg-install problems startup service Message-ID: <20201203103544.omchaeelpaaylwll@ivaldir.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ya3ek5c7l6oukikg" Content-Disposition: inline In-Reply-To: X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2020 10:35:48 -0000 --ya3ek5c7l6oukikg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 02, 2020 at 04:46:00PM +0200, Stefan Parvu wrote: > Hi, >=20 > We been using for past 3,4 years FreeBSD (amd64/aarch64) for our own prod= ucts,=20 > without problems. We are creating our own software, and we build FreeBSD = binary=20 > packages from our software. So our software does install as a FreeBSD bin= ary package. >=20 > We have noticed changes starting with 12.2 and 11.4 releases. For example= we cannot=20 > start anymore our own services, using pkg-install script [1] during pkg a= dd | install phase.=20 >=20 > This works fine on under FreeBSD 10.x, 11.3, 12.0, 12.1 but not on 12.2 o= r 11.4=20 >=20 > Are there any big changes regarding pkg and the way pkg-install or pkg-de= install work? > Any ideas ? We need to be able to start automatically our sofyware after = we have installed the > binaries and configurations =E2=80=A6=20 >=20 > Thanks, > Stefan >=20 > [1] - https://gitlab.com/kronometrix/recording/-/blob/master/pkg/freebsd/= pkg-install =20 I would like to know more about your use cases, it is not recent that pkg prevent starting automatically daemon during the install phases, pkg become= s the reaper of the scripts it does run and at the end of the run it kills all the children process (including any daemon that may have been started). It is done for security reasons, for a while, I am surprised you say it wor= ked on 12.1. Stopping and starting daemons etc, is not package management in the first p= lace, it is configuration management, the two concept are different for a reason. That said because we know a lot of people have been doing that for a while,= pkg has an option (off by default) HANDLE_RC_SCRIPT if you set it to true when installing your package it will start the rc.d s= cript so you don't need to install that in your post install script. The behaviour described above is the default since pkg 1.5.0 Note that at the time of this change there have been discussion on the comm= it itself about this exact use case: https://github.com/freebsd/pkg/commit/dd0732c1747c472ed7899a025fbc8eabd5f04= 227 I do hope this helps, Best regards, Bapt --ya3ek5c7l6oukikg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAl/Iv34ACgkQY4mL3PG3 Plr8ZQ/9GfKJTDsR8FmZxEHfyddef26yzlSG+A/5BbEOKy325tOUQshsn09/Pmfk raC2JjJvT0yDL/6z/z++h/iZNg0tmC3oCR4h6mMydYcWVNQrIPV1LHAvYb9pRlQk +xvBaQaDhYwOwnh7hNcwzPfwiCZPjvo6mxs/P8/wYeglhfPZ+y+xzrUozh8RaQwM R9fsjF8YIwtPIm1cWAq8pydt28eKRUUnsh4y/w4Vdw2WRwo4n3bGWK+rmytAv0E/ usSULm0dCEL1qGX19HITZ2rV0A1l7olLBY/K8SLTbkLpFXiUZqv2k1jhkJKQkIST CqIlRlkvS0n2QaPnWrR5sev5+0kBPdiHXXnoJOLCr8U5MYmAtshU8s6jVxol0T3f /Z7ITero6XGcqmYnMuUG9Xg1Kkjuvmi+d6U4akpGS0iBfDDNn6S4gpQzja9XRmDC 21tGl4mzafvvKne9JD+07AtEjcx7r1KsLYlKmvrWM+Fc3PQ7+KyHztUZrIEHvMl1 9YQsZpVy9MeylUQTN3JYe7ipguJSJU+NKbuxFqFO5sVfViW0ZFK/XPk3yowwgdo0 m5ixFdMucc5for8b0yZnNTM2YxItfDZc+70GmJpubkfGwEAqljvyCdGDGQf5+MKg CEtHmf3ONmjzVOutf0dXDNdyE0I9cxsaVo3NeY6TKkVeEzCA6pI= =r2OI -----END PGP SIGNATURE----- --ya3ek5c7l6oukikg-- From owner-freebsd-pkg@freebsd.org Thu Dec 3 11:34:28 2020 Return-Path: Delivered-To: freebsd-pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E45A14A3CB2 for ; Thu, 3 Dec 2020 11:34:28 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [79.134.105.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cmtz84pr0z3hCJ; Thu, 3 Dec 2020 11:34:28 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.151] (82-203-142-141.bb.dnainternet.fi [82.203.142.141]) (authenticated bits=0) by mail.kronometrix.org (8.16.1/8.15.2) with ESMTPSA id 0B3BYJG3064232 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 3 Dec 2020 11:34:25 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-142-141.bb.dnainternet.fi [82.203.142.141] claimed to be [192.168.1.151] From: Stefan Parvu Message-Id: <07DB2BAA-F7DF-4BFF-900D-C9E33A51AFF3@kronometrix.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.20.0.2.21\)) Subject: Re: FreeBSD 11.4 / 12.2 pkg-install problems startup service Date: Thu, 3 Dec 2020 13:34:14 +0200 In-Reply-To: <20201203103544.omchaeelpaaylwll@ivaldir.net> Cc: freebsd-pkg@freebsd.org To: Baptiste Daroussin References: <20201203103544.omchaeelpaaylwll@ivaldir.net> X-Mailer: Apple Mail (2.3654.20.0.2.21) X-Rspamd-Queue-Id: 4Cmtz84pr0z3hCJ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2020 11:34:28 -0000 thanks for message. > I would like to know more about your use cases, it is not recent that = pkg > prevent starting automatically daemon during the install phases, pkg = becomes the > reaper of the scripts it does run and at the end of the run it kills = all the > children process (including any daemon that may have been started). aha. okay that might explain why i dont see anything running after = adding my own package. First of all, the things are something like that: Kronometrix Data = Recording [1] package is a software which collects various performance and availability data from a running system, which = installs under /opt/kronometrix prefix.=20 Under there I have a number of CLI utilities (Perl5 scripts), called = recorders which can run interactively or in background.=20 These CLIs are automatically started via a master script called rec, = found under /opt/kronometrix/etc. I have made the=20 correspondent master rc.d script which will be called during system boot = from /etc/rc.d . It works great.=20 Kronometrix Prefix System Boot /opt/kronometrix/etc/rec /etc/rc.d/kdr Same time, under the same data recording module, I have another script, = which has been designed as a real daemon , written in Perl5 too, with its own startup script = /opt/kronometrix/etc/transport and with a correspondent /etc/rc.d, called kdr_transport=20 Kronometrix Prefix System Boot /opt/kronometrix/etc/transport /etc/rc.d/kdr_transport=20 Now, all sfw is packaged under a FreeBSD binary pkg for easy deployment. = I would like to be able during pkg add phase to start as well the recorders and transport utilities, if possible.=20 What is different? First of all, I made a mistake. This has NOT worked okay before 12.2. = The recorders and transport utilities have never run after pkg add. I had to manually start them. What was different now = with 12.2 is that if I try to install my FreeBSD package, the pkg add gets stuck and requires CTRL-C to break. = Otherwise it will sit like that, forever =E2=80=A6 This is visible under 12.2 and 11.4 - not visible in 12.1 or 11.2 or 10.4 >=20 >=20 > Stopping and starting daemons etc, is not package management in the = first place, > it is configuration management, the two concept are different for a = reason. >=20 > That said because we know a lot of people have been doing that for a = while, pkg > has an option (off by default) HANDLE_RC_SCRIPT >=20 > if you set it to true when installing your package it will start the = rc.d script > so you don't need to install that in your post install script. Okay. Thanks for tip. Let me try that. Thanks a lot for comments, Stefan From owner-freebsd-pkg@freebsd.org Thu Dec 3 11:57:36 2020 Return-Path: Delivered-To: freebsd-pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 038454A44A0 for ; Thu, 3 Dec 2020 11:57:36 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [79.134.105.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CmvTp50Khz3hgW for ; Thu, 3 Dec 2020 11:57:34 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.151] (82-203-142-141.bb.dnainternet.fi [82.203.142.141]) (authenticated bits=0) by mail.kronometrix.org (8.16.1/8.15.2) with ESMTPSA id 0B3BvQB8093818 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 3 Dec 2020 11:57:32 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-142-141.bb.dnainternet.fi [82.203.142.141] claimed to be [192.168.1.151] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.20.0.2.21\)) Subject: Re: FreeBSD 11.4 / 12.2 pkg-install problems startup service Date: Thu, 3 Dec 2020 13:57:21 +0200 References: <20201203103544.omchaeelpaaylwll@ivaldir.net> To: freebsd-pkg@freebsd.org In-Reply-To: <20201203103544.omchaeelpaaylwll@ivaldir.net> Message-Id: X-Mailer: Apple Mail (2.3654.20.0.2.21) X-Rspamd-Queue-Id: 4CmvTp50Khz3hgW X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 79.134.105.182 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [-2.80 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[79.134.105.182:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkg@freebsd.org]; HAS_XAW(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[79.134.105.182:from:127.0.2.255]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[kronometrix.org]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:16302, ipnet:79.134.96.0/19, country:FI]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-pkg] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2020 11:57:36 -0000 >=20 > That said because we know a lot of people have been doing that for a = while, pkg > has an option (off by default) HANDLE_RC_SCRIPT >=20 > if you set it to true when installing your package it will start the = rc.d script > so you don't need to install that in your post install script. Let me see if I understood this right? Usually, under pkg-install POST = phase there could be set some final settings=20 after the package is extracted and copied to its destination. But = placing startup scripts or calling rc.d scripts from that POST install phase would not work. Right ? Or does it? I am asking because I want to be able to allow users to just say: pkg = add kdr-1.6.2-freebsd11.4-amd64.txz=20 and thats it. The sfw will install under /opt/kronometrix and all = necessarily components should start automatically. For that I was thinking I could use pkg-install POST phase. Do you mean = could I set true the HANDLE_RC_SCRIPT variable is the pkg-install POST phase or where ? Or do you mean, when I manually pkg add I should set true = HANDLE_RC_SCRIPT from command line for pkg command ? Cheers, Stefan From owner-freebsd-pkg@freebsd.org Thu Dec 3 14:29:42 2020 Return-Path: Delivered-To: freebsd-pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 24EA54A784B for ; Thu, 3 Dec 2020 14:29:42 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CmysL0cd3z3qGr; Thu, 3 Dec 2020 14:29:42 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from ivaldir.etoilebsd.net (unknown [IPv6:2001:41d0:8:db4c::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id E9E23487; Thu, 3 Dec 2020 14:29:41 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by ivaldir.etoilebsd.net (Postfix, from userid 1001) id 9CAC4482B4; Thu, 3 Dec 2020 15:29:39 +0100 (CET) Date: Thu, 3 Dec 2020 15:29:39 +0100 From: Baptiste Daroussin To: Stefan Parvu Cc: freebsd-pkg@freebsd.org Subject: Re: FreeBSD 11.4 / 12.2 pkg-install problems startup service Message-ID: <20201203142939.mxk5w6qibsksllcz@ivaldir.net> References: <20201203103544.omchaeelpaaylwll@ivaldir.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pcp4uwoyzkhlobd2" Content-Disposition: inline In-Reply-To: X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2020 14:29:42 -0000 --pcp4uwoyzkhlobd2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 03, 2020 at 01:57:21PM +0200, Stefan Parvu wrote: > >=20 > > That said because we know a lot of people have been doing that for a wh= ile, pkg > > has an option (off by default) HANDLE_RC_SCRIPT > >=20 > > if you set it to true when installing your package it will start the rc= =2Ed script > > so you don't need to install that in your post install script. >=20 > Let me see if I understood this right? Usually, under pkg-install POST ph= ase there could be set some final settings=20 > after the package is extracted and copied to its destination. But placing= startup scripts or calling rc.d scripts from > that POST install phase would not work. Right ? Or does it? That is right, it would not work. >=20 > I am asking because I want to be able to allow users to just say: pkg add= kdr-1.6.2-freebsd11.4-amd64.txz=20 > and thats it. The sfw will install under /opt/kronometrix and all necessa= rily components should start automatically. > For that I was thinking I could use pkg-install POST phase. Do you mean = could I set true the HANDLE_RC_SCRIPT > variable is the pkg-install POST phase or where ? HANDLE_RC_SCRIPT is a user/administrator setting, pkg -o HANDLE_RC_SCRIPT=3Dyes install kdr should do the trick. >=20 > Or do you mean, when I manually pkg add I should set true HANDLE_RC_SCRIP= T from command line for pkg command ? The later With next pkg there would be a possible cheat (workarounding the use of a n= ew feature) to be able to do what you ask for. via triggers Best regards, Bapt --pcp4uwoyzkhlobd2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAl/I9lEACgkQY4mL3PG3 PlqKIw//ZRzix8Ua8w0yu40cUxP6X2P57xXm59DgeY+bHBAW8b6PGdVgKWdKsqwr 2c7sfs1ZlE2v76TTCTAb/r+dlgjms1ah2qLMjIr6epUYb7L1TG2NbcS2K8BKzcaH TWy9wCZX0s6YKhSHnYs4YiGrNqNTWbxyUcr/pCd2fJ7PIvqhd63xJ0kgW/ZkmjKq N0cbXq/ns9IxU8Vu2nHVjAA2DtiwNdwqx2utyVS1IaK0IxrwtR6FVWcwfw+A+wOG zu3EndCEuJA1GrusLPyPTGUcheY9DyUS3683CsEeN3m+sPUE9BobGr1uXJMivVDY SmCbUe5gFE2CuN20p8jjkBplhgp68zoalJriUwHVGpelDxiUC6Uh2dMu61D/WHY5 DRzYo29l3rL/gYNRpZWkAgza+xGfcQ5128ULg64c4Ra3tT2HDMy8TTE7/ZEwnQX8 SSp0WikNQCSo/k8uycjfz0//jDs/AKN+1CvkuBE4yYg5Sa9AARL6D9u9FiZRkocN twXiJhNmBRsvuIoNXaBY8ymjQxySjsnHMo+VK2MzmsivXwf8qpqTRLgM0bLZiC3z Dym05Us1a75dEGhzyQSGX3mjsU4c63lMJusr6CQsH9qJiSFjUAOWeI1NNXPZ1Nyq Yng9roxK1zYnJrffm761zdPeMH+PrV3aQ1I+Wk/7gm5Z0OmhNZo= =QviH -----END PGP SIGNATURE----- --pcp4uwoyzkhlobd2-- From owner-freebsd-pkg@freebsd.org Thu Dec 3 16:20:34 2020 Return-Path: Delivered-To: freebsd-pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A18D84AA092 for ; Thu, 3 Dec 2020 16:20:34 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from mail.kronometrix.org (mail.kronometrix.org [79.134.105.182]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.kronometrix.org", Issuer "mail.kronometrix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cn1KF3jpyz4RRr for ; Thu, 3 Dec 2020 16:20:33 +0000 (UTC) (envelope-from sparvu@kronometrix.org) Received: from [192.168.1.151] (82-203-142-141.bb.dnainternet.fi [82.203.142.141]) (authenticated bits=0) by mail.kronometrix.org (8.16.1/8.15.2) with ESMTPSA id 0B3GKJ77048085 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 3 Dec 2020 16:20:24 GMT (envelope-from sparvu@kronometrix.org) X-Authentication-Warning: mail.kronometrix.org: Host 82-203-142-141.bb.dnainternet.fi [82.203.142.141] claimed to be [192.168.1.151] From: Stefan Parvu Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.20.0.2.21\)) Subject: Re: FreeBSD 11.4 / 12.2 pkg-install problems startup service Date: Thu, 3 Dec 2020 18:20:13 +0200 References: <20201203103544.omchaeelpaaylwll@ivaldir.net> <20201203142939.mxk5w6qibsksllcz@ivaldir.net> To: freebsd-pkg@freebsd.org In-Reply-To: <20201203142939.mxk5w6qibsksllcz@ivaldir.net> Message-Id: <058E15D7-BA46-4E1C-94DA-3E9E6AFAFA81@kronometrix.org> X-Mailer: Apple Mail (2.3654.20.0.2.21) X-Rspamd-Queue-Id: 4Cn1KF3jpyz4RRr X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of sparvu@kronometrix.org designates 79.134.105.182 as permitted sender) smtp.mailfrom=sparvu@kronometrix.org X-Spamd-Result: default: False [-2.80 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[79.134.105.182:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkg@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[79.134.105.182:from:127.0.2.255]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[kronometrix.org]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:16302, ipnet:79.134.96.0/19, country:FI]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-pkg] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2020 16:20:34 -0000 > That is right, it would not work. now this is clear. thanks for clarifications. >=20 > pkg -o HANDLE_RC_SCRIPT=3Dyes install kdr > should do the trick. okay. I tried on FreeBSD 11.4 - does not go fine. Nothing is fired up. # pkg -o HANDLE_RC_SCRIPT=3Dyes install kdr-1.6.2-freebsd11.4-amd64.txz Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: kdr: 1.6.2 Number of packages to be installed: 1 The process will require 118 MiB more space. Proceed with this action? [y/N]: y [1/1] Installing kdr-1.6.2... Extracting kdr-1.6.2: 100% # ps -U krmx PID TT STAT TIME COMMAND 29617 - I 0:00.64 sshd: krmx@pts/0 (sshd) 44306 - S 0:18.98 sshd: krmx@pts/1 (sshd) 29618 0 Is+ 0:00.13 -tcsh (tcsh) 44307 1 IWs 0:00.00 -tcsh (tcsh) 82001 1 IW 0:00.00 -su (tcsh) If I manually run /etc/rc.d/kdr start everything will start fine. =20 Can I use pkg -o option under FreeBSD 11.4? At least the man page says I = should. Stefan From owner-freebsd-pkg@freebsd.org Fri Dec 4 00:32:34 2020 Return-Path: Delivered-To: freebsd-pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4EC1F4B50B4 for ; Fri, 4 Dec 2020 00:32:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CnDDy1bJJz3Gf9 for ; Fri, 4 Dec 2020 00:32:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 363C54B4F9C; Fri, 4 Dec 2020 00:32:34 +0000 (UTC) Delivered-To: pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3603C4B4F9B for ; Fri, 4 Dec 2020 00:32:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CnDDy10bvz3GYv for ; Fri, 4 Dec 2020 00:32:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 15E37227A5 for ; Fri, 4 Dec 2020 00:32:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0B40WXfg000270 for ; Fri, 4 Dec 2020 00:32:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0B40WXE0000269 for pkg@FreeBSD.org; Fri, 4 Dec 2020 00:32:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 251568] ports-mgmt/pkg: pkg install fails -> error in pkgdb.c : line 1293 Date: Fri, 04 Dec 2020 00:32:34 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2020 00:32:34 -0000 Mark Linimon has asked freebsd-pkg (Nobody) for maintainer-feedback: Bug 251568: ports-mgmt/pkg: pkg install fails -> error in pkgdb.c : line 12= 93 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251568 From owner-freebsd-pkg@freebsd.org Fri Dec 4 00:32:34 2020 Return-Path: Delivered-To: freebsd-pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7B2204B4F9D for ; Fri, 4 Dec 2020 00:32:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CnDDy2t0Mz3GNX for ; Fri, 4 Dec 2020 00:32:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 62A464B501D; Fri, 4 Dec 2020 00:32:34 +0000 (UTC) Delivered-To: pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6275E4B5308 for ; Fri, 4 Dec 2020 00:32:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CnDDy2GxZz3GNW for ; Fri, 4 Dec 2020 00:32:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4191322A01 for ; Fri, 4 Dec 2020 00:32:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0B40WYHw000275 for ; Fri, 4 Dec 2020 00:32:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0B40WYjw000274 for pkg@FreeBSD.org; Fri, 4 Dec 2020 00:32:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 251568] ports-mgmt/pkg: pkg install fails -> error in pkgdb.c : line 1293 Date: Fri, 04 Dec 2020 00:32:34 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc flagtypes.name assigned_to short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2020 00:32:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251568 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pkg@FreeBSD.org Flags| |maintainer-feedback?(pkg@Fr | |eeBSD.org) Assignee|bugs@FreeBSD.org |pkg@FreeBSD.org Summary|pkg install fails -> error |ports-mgmt/pkg: pkg install |in pkgdb.c : line 1293 |fails -> error in pkgdb.c : | |line 1293 --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.= From owner-freebsd-pkg@freebsd.org Fri Dec 4 08:47:23 2020 Return-Path: Delivered-To: freebsd-pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AC1524780E4 for ; Fri, 4 Dec 2020 08:47:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CnRCv4JCzz4Rv9 for ; Fri, 4 Dec 2020 08:47:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 93964477DCD; Fri, 4 Dec 2020 08:47:23 +0000 (UTC) Delivered-To: pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9361D477CEC for ; Fri, 4 Dec 2020 08:47:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CnRCv3fD5z4Rrp for ; Fri, 4 Dec 2020 08:47:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 705157E1 for ; Fri, 4 Dec 2020 08:47:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0B48lNYT050945 for ; Fri, 4 Dec 2020 08:47:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0B48lN4i050944 for pkg@FreeBSD.org; Fri, 4 Dec 2020 08:47:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 246130] ports-mgmt/pkg: variables not expanded (except ABI) Date: Fri, 04 Dec 2020 08:47:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lasse@bitmand.dk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2020 08:47:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246130 Lasse Brandt Thomsen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lasse@bitmand.dk --- Comment #2 from Lasse Brandt Thomsen --- ABI works. ARCH, VERSION_MINOR, VERSION_MAJOR does not. repo config url: http://poudriere/freebsd${VERSION_MAJOR}${VERSION_MINOR}-default/${ABI}/${A= RCH} Translates to: http://poudriere/freebsd${VERSION_MAJOR}${VERSION_MINOR}-default/FreeBSD:12= :amd64/${ARCH}/meta.txz: Not Found 2020/12/04 09:35:57 [error] 757#100584: *39202 open() "/poudriere/data/packages/freebsd${VERSION_MAJOR}${VERSION_MINOR}-default/F= reeBSD:12:amd64/${ARCH}/meta.conf" failed (2: No such file or directory) pkg --version 1.15.10 on FreeBSD 12.2-RELEASE-p1 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-pkg@freebsd.org Fri Dec 4 10:43:06 2020 Return-Path: Delivered-To: freebsd-pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A11E247AB78 for ; Fri, 4 Dec 2020 10:43:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CnTnQ3xN6z4YKr for ; Fri, 4 Dec 2020 10:43:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 872EC47AB77; Fri, 4 Dec 2020 10:43:06 +0000 (UTC) Delivered-To: pkg@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 86FA847AFCD for ; Fri, 4 Dec 2020 10:43:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CnTnQ3Jltz4YPc for ; Fri, 4 Dec 2020 10:43:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 64C352219 for ; Fri, 4 Dec 2020 10:43:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0B4Ah6YV025175 for ; Fri, 4 Dec 2020 10:43:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0B4Ah68u025174 for pkg@FreeBSD.org; Fri, 4 Dec 2020 10:43:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 246130] ports-mgmt/pkg: variables not expanded (except ABI) Date: Fri, 04 Dec 2020 10:43:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lasse@bitmand.dk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2020 10:43:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246130 --- Comment #3 from Lasse Brandt Thomsen --- I discovered the same issue in Github: https://github.com/freebsd/pkg/issues/1897 And fixed in: https://github.com/freebsd/pkg/commit/740c384344fc50ca7b0c839ce8da135fd6bbc= 003 --=20 You are receiving this mail because: You are the assignee for the bug.=