From owner-freebsd-current@freebsd.org Tue Jun 4 08:23:43 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 8C0F615A7F9B for ; Tue, 4 Jun 2019 08:23:43 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (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 C4E978CD47; Tue, 4 Jun 2019 08:23:42 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1559636610; bh=eef6wv3510X9Xu+kzeFDXba0DaCWo+GHmXBARcBM+Gk=; h=X-UI-Sender-Class:Date:From:Cc:Subject:In-Reply-To:References; b=GtTpAMW1WmJfXnNhOKuGzxG1ABwFrKSynMJvnCq84xJYQIM00aJvOinC4mmvrHUk6 2CH98AcXsifqczbAgRUOfq7vRyyt4524x9JGLMJ/7+7fGhSmKxQD7Qabux5gtD2OPa YVfIAFPHCsWAzFdZyPo5a5OQjiUm/QZVXcxMZSAs= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from freyja ([46.88.83.112]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Lpbqo-1gsz5T3o7q-00fQn5; Tue, 04 Jun 2019 10:23:30 +0200 Date: Tue, 4 Jun 2019 10:23:27 +0200 From: "O. Hartmann" Cc: Baptiste Daroussin , Matthew Seaman Hello., freebsd-current Subject: Re: pkg: Cannot open /dev/null:No such file or directory Message-ID: <20190604102322.5e6f3dac@freyja> In-Reply-To: <20190604054409.4anei2ljzimqc75m@ivaldir.net> References: <20190604073209.4e42a0eb@freyja> <20190604054409.4anei2ljzimqc75m@ivaldir.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:7Mxo8jJsIqjGYH6dyfvc8odgnEdP+3DWbnXc/1QhzRzBub1Fiuo qnWUaXHRB0z2Nzfhcx40mWJUSRwZx832YixXhLqgYxI5cyPJ6k7BzQ7Y6knorBneGkMGtl1 kw9llKg4ABCsxqS41VVg0RKADidvB7yZ6eV/mhGQy2FjMglvCwX7CPk38qseSCJHvcwC8I3 Q5OS/DLS2dMpEdjyQ5cQw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:eozzcWxIVAE=:mRbIImdKUJToNCwwljslxG 7v4lNxivCqG3hE+NsXOBigi8XSIJpN4DsiuMbORYh3LDcg/5EwmToGmmJtb8UQjcQNoWf19Uw l5gHHnKAf7DvJ4q/km1lorupSQbOXWAEYWKMxfUjbdIFJg1piUVsxbbnL+v43A+N7VDQDKSUI agTJJ8+4cpSFk9Af+F1eS+fKWPTHoMQb/2A3QzzQecizKi8M9XdqOqb+g2OBhFBIAqZyJVdbL vBa3xzbtAH1bJ0heGMlpzfT65sfuRyHjF0JGVtDqpyYUVOxddGEwq1/WiI9MwDP08qIjqI51Z /gWzCEUeRqe4mpmrGouR7wX434cXJIHeaUfUpN2lJJbhu5aJupPDO55VD3h9AH9B5GwyKEOI/ wbx4IZcArPtW+MmqlsC7BFymHNhkLrq18BATPv6n3uzEiO3lWHvApfQ3geZTBbSFZyDfzfyUk mLywXVOZRC4t2Kn8rY5IARNyxA1KirgsKbpe1+goSuONtsaYSIAO7hspoWEArCxd1DM3gm02N DLomllznSqZ8IR1NU3OvZPdnKAN/cxNT4NesScuU5AsibEs/VFBtIhgREDPWEw8HrqoRofW0+ xSq2o6Ct2AF4VPq+bkV1vDbA+pXeFII5CCSHGQpofiftLx0qxE5RzEDl0JpL25uZ1lKOb5YfO rlYTu4Gl3k8uKmgAFBS6uHfjt5d4/jXflPLPVotKy6x1G2Kwc5DV+x+ULXBUyZy5GBSe4u6Bu dmEkIPaeSjgrhs8Z3APFgWy/8MsW21KO5HHq7dQxR9/nfMsTMki/I1GS4/V2v24SDBlbPpmCP lcKRdZj3MTtClfWirRuog3aA6fqr0qgGnkb8w5Db9m4IPiDo6IS2W6wUWFBCGfp+83979jyag qujJMBr62aRTj9x5M3nzLwZQsgjbccU3XgbbvttRa1LJWse2QkJUj5TkvtHGlWrm4z9dk4o8c RjHwbuGPq2CdFN7j++Hv/6uQjqefr24szF9QgbIONIc3xoJK68Wyc X-Rspamd-Queue-Id: C4E978CD47 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=GtTpAMW1 X-Spamd-Result: default: False [-1.58 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; IP_SCORE(-1.03)[ip: (-6.25), ipnet: 212.227.0.0/16(-1.46), asn: 8560(2.55), country: DE(-0.00)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[walstatt.org]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; MX_GOOD(-0.01)[cached: mx01.gmx.net]; RCVD_IN_DNSWL_NONE(0.00)[18.15.227.212.list.dnswl.org : 127.0.3.0]; MISSING_TO(2.00)[]; R_SPF_NA(0.00)[]; NEURAL_HAM_SHORT(-0.75)[-0.745,0]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[112.83.88.46.zen.spamhaus.org : 127.0.0.10] X-Mailman-Approved-At: Tue, 04 Jun 2019 10:14:45 +0000 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 08:23:43 -0000 On Tue, 4 Jun 2019 07:44:09 +0200 Baptiste Daroussin wrote: > On Tue, Jun 04, 2019 at 07:32:16AM +0200, O. Hartmann wrote: > > Hello List, > > > > lately I ran into a serious problem installing packages in a nanoBSD > > environment, in which the package repository server is "remotely" on s= ite. > > The issue as documented below occurs on both 12-STABLE r348529 and CUR= RENT > > r348600 and must have been introduced shortly, since the last known go= od > > installation with the environment of ours was on 21st May 2019. > > > > As far as I know,, the package installation is performed via "chroot'e= d" > > environment and somehow /dev/null is out of a sudden not accessible an= ymore > > while pkg tries to delegate some output to /dev/null. > > > > What happened here? > > > > Kind regards and thanks in advance, > > > > oh > > > > [...] > > All repositories are up to date. > > The following 10 package(s) will be affected (of 0 checked): > > > > 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] > > > > Number of packages to be installed: 10 > > > What is new is that pkg is using /dev/null as input when running script?= this > is new since pkg 1.11 . Somehow this does not seems to be avaalaible in = your > environement. > > Best regards, > Bapt Hello, thanks for the hint! Packages are installed via the pkg -c ${WORLD_ROOT_DIR} option, chroot'ed,= as far as I can see and therefore, there is no /dev/null device. Mathew's hint solved the problem. Greetings, oh