From owner-freebsd-current@freebsd.org Tue Jun 4 05:44:11 2019 Return-Path: Delivered-To: freebsd-current@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 7710715C9057 for ; Tue, 4 Jun 2019 05:44:11 +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) server-signature RSA-PSS (4096 bits) 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 1959C87C9A; Tue, 4 Jun 2019 05:44:11 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from ivaldir.etoilebsd.net (etoilebsd.net [178.32.217.76]) (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 CF12A1AC0E; Tue, 4 Jun 2019 05:44:10 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by ivaldir.etoilebsd.net (Postfix, from userid 1001) id 908CA9AF27; Tue, 4 Jun 2019 07:44:09 +0200 (CEST) Date: Tue, 4 Jun 2019 07:44:09 +0200 From: Baptiste Daroussin To: "O. Hartmann" Cc: freebsd-current Subject: Re: pkg: Cannot open /dev/null:No such file or directory Message-ID: <20190604054409.4anei2ljzimqc75m@ivaldir.net> References: <20190604073209.4e42a0eb@freyja> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="34aljkepzn5klhh7" Content-Disposition: inline In-Reply-To: <20190604073209.4e42a0eb@freyja> User-Agent: NeoMutt/20180716 X-Rspamd-Queue-Id: 1959C87C9A X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.970,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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: Tue, 04 Jun 2019 05:44:11 -0000 --34aljkepzn5klhh7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 04, 2019 at 07:32:16AM +0200, O. Hartmann wrote: > Hello List, >=20 > lately I ran into a serious problem installing packages in a nanoBSD > environment, in which the package repository server is "remotely" on site= =2E The > issue as documented below occurs on both 12-STABLE r348529 and CURRENT r3= 48600 > and must have been introduced shortly, since the last known good installa= tion > with the environment of ours was on 21st May 2019. >=20 > As far as I know,, the package installation is performed via "chroot'ed" > environment and somehow /dev/null is out of a sudden not accessible anymo= re > while pkg tries to delegate some output to /dev/null. >=20 > What happened here? >=20 > Kind regards and thanks in advance, >=20 > oh >=20 > [...] > All repositories are up to date. > The following 10 package(s) will be affected (of 0 checked): >=20 > New packages to be INSTALLED: > python3: 3_3 [zeit4] > sudo: 1.8.27_1 [zeit4] > devcpu-data: 1.22 [zeit4] > python36: 3.6.8_2 [zeit4] > readline: 8.0.0 [zeit4] > indexinfo: 0.3.1 [zeit4] > libffi: 3.2.1_3 [zeit4] > gettext-runtime: 0.19.8.1_2 [zeit4] > openldap-sasl-client: 2.4.47 [zeit4] > cyrus-sasl: 2.1.27 [zeit4] >=20 > Number of packages to be installed: 10 >=20 What is new is that pkg is using /dev/null as input when running script? th= is is new since pkg 1.11 . Somehow this does not seems to be avaalaible in your environement. Best regards, Bapt --34aljkepzn5klhh7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAlz2BSMACgkQY4mL3PG3 Plo4Jw/9G2YWQvX6pNor89h5qtpWoeRM/cTMHypYQ43pLDJ2yma53cMg5Txguxsp Dt419OkxXRXX6vPZfvxwZ2CInNz+srk1YEs12niEm/+wEA0hCZR1VXwrmrk/NWkJ d1TswOQBxKPbn1ktJb/0E25WFqPj2aAbMQwP0ivMrSg29o+fA1epIaJV3d/yxqUr zzXFr53W0rGfgIqBk2ualsEBm6o2d2aTxss9WjNn3u9NlbwdY4v6V2IAqgh6dqrr JIWwfh0Oyw+62IT507ZGVBvxaTswC+feZXSppuN7e1cRBjMLUPgxCCbY4BQ34sNn JPg9pZDOWKvi7yXEzgWEkSTEdk/ksSKqlKXb7WwSJGaK9I6L0tb//W4h0qTy6an9 CoDmjdH9T43DaLlT6ZRRUS+lQcj8BXK+FbJSjUyFYX54/JJlhmIxUDBMo1t6RDWz YRuYUqkAm/ioYdvqA09dR3ml7HXfKAXP8KA77FDjLreKNTtpO0fwDpdjR7o0IcPi UGF2Y+ofw0OIV12+Xb1UgbD1gSAgcc7gndV9qWUD9CMzc3rYJDGSE/dH3sz/wsQg oXCIZ4Xdr8Wv24ELe3zbHgNGflkLah90RwkQR4qV0Y6UhCc8YJcT+h0O3l138BBp cC65V76g+oRp6I8nCGFtXs9DdmAZ4/ONJ2RNNygnf/bNaL69kbY= =/QQT -----END PGP SIGNATURE----- --34aljkepzn5klhh7--