From owner-freebsd-current@freebsd.org Tue Jun 11 15:52:55 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 1CC4915BF4A8; Tue, 11 Jun 2019 15:52:55 +0000 (UTC) (envelope-from jbwlists@hilltopgroup.com) Received: from equinox.hilltopgroup.com (equinox.hilltopgroup.com [204.109.63.175]) by mx1.freebsd.org (Postfix) with ESMTP id A60FF6B96E; Tue, 11 Jun 2019 15:52:53 +0000 (UTC) (envelope-from jbwlists@hilltopgroup.com) Received: from mail.relativity.hilltopgroup.com (unknown [104.185.205.155]) by equinox.hilltopgroup.com (Postfix) with ESMTP id C7ED637BDB8; Tue, 11 Jun 2019 11:52:43 -0400 (EDT) Received: from cloud.example.com (unknown [192.168.6.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jbwlists@hilltopgroup.com) by mail.relativity.hilltopgroup.com (Postfix) with ESMTPSA id B958010DB2; Tue, 11 Jun 2019 11:52:43 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hilltopgroup.com; s=mail; t=1560268363; bh=zzcZS9ZbSJBd1+P4ISnmMLcotCWn1K87OJ7Dn+5HrX8=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=DCNgM49SXWJnkSoGlzyfPp3OToWEqWpfe1TxEce/u7wKpUCINVFQCKbU/Gg1+OVrz 9SoctKeYOqQIubIItSiDBOo14cPd+4uWWh14h/lBtxCmEzxvc0MsrslCJAZIl1INPg 2B4Udo4RpKhuavoyzkjCgJCkhKvi8RJAWiVU5LLU= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 11 Jun 2019 11:52:43 -0400 From: jbwlists@hilltopgroup.com To: Johannes Lundberg Cc: Baptiste Daroussin , freebsd-current , owner-freebsd-current@freebsd.org Subject: Re: pkg: Cannot open /dev/null:No such file or directory In-Reply-To: References: <20190604073209.4e42a0eb@freyja> <20190604054409.4anei2ljzimqc75m@ivaldir.net> Message-ID: <935a44aa7587cdc07fadc2e33caed1f7@hilltopgroup.com> X-Sender: jbwlists@hilltopgroup.com User-Agent: Roundcube Webmail/1.3.9 X-Rspamd-Queue-Id: A60FF6B96E X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hilltopgroup.com header.s=mail header.b=DCNgM49S; spf=pass (mx1.freebsd.org: domain of jbwlists@hilltopgroup.com designates 204.109.63.175 as permitted sender) smtp.mailfrom=jbwlists@hilltopgroup.com X-Spamd-Result: default: False [-4.37 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[hilltopgroup.com:s=mail]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[hilltopgroup.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[hilltopgroup.com:+]; MX_GOOD(-0.01)[equinox.hilltopgroup.com,mail2.hilltopgroup.com,mail.hilltopgroup.com]; FROM_NO_DN(0.00)[]; NEURAL_HAM_SHORT(-0.84)[-0.843,0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-1.11)[ipnet: 204.109.60.0/22(-1.62), asn: 36236(-3.88), country: US(-0.06)]; ASN(0.00)[asn:36236, ipnet:204.109.60.0/22, country:US]; MID_RHS_MATCH_FROM(0.00)[] 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, 11 Jun 2019 15:52:55 -0000 I'm having the same issue with poudriere image; could you please let me know what you did to fix it? I'm assuming the image.sh you're referring to is /usr/local/share/poudriere/image.sh, but I'm not sure where the change would need to be made. Thanks in advance, Joseph On 2019-06-04 13:02, Johannes Lundberg wrote: > On 6/3/19 10:44 PM, 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 >>> site. The >>> issue as documented below occurs on both 12-STABLE r348529 and >>> CURRENT r348600 >>> and must have been introduced shortly, since the last known good >>> installation >>> with the environment of ours was on 21st May 2019. >>> >>> 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 >>> anymore >>> 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. > > Hi > > Same things applies to poudriere-image. I had to add a mount devfs > command to the image.sh script. > >> >> Best regards, >> Bapt > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org"