From owner-freebsd-pkg@freebsd.org Tue Oct 18 20:13:22 2016 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9DD0EC174A7 for ; Tue, 18 Oct 2016 20:13:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 879F190E for ; Tue, 18 Oct 2016 20:13:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 87071C174A6; Tue, 18 Oct 2016 20:13:22 +0000 (UTC) Delivered-To: pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 86B0DC174A5 for ; Tue, 18 Oct 2016 20:13:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5E1EE90C for ; Tue, 18 Oct 2016 20:13:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9IKDMVU003008 for ; Tue, 18 Oct 2016 20:13:22 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 213599] ports-mgmt/pkg regression: pkg audit -F unable to fetch vuln.xml in a jail Date: Tue, 18 Oct 2016 20:13:22 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: regression 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.23 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: Tue, 18 Oct 2016 20:13:22 -0000 Serge has reassigned Bugzilla Automation 's request for maintainer-feedback to pkg@FreeBSD.org: Bug 213599: ports-mgmt/pkg regression: pkg audit -F unable to fetch vuln.xm= l in a jail https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213599 --- Description --- On a fully patched FreeBSD 10.3 system with a few jails (also up-to-date), pkg-1.8.7_3 works as expected. After updating to pkg-1.9.1, it is no longer possible to update the vulnerability list with 'pkg audit -F' if this comma= nd is issued from a jail. Running it from the host system works as expected. Force-reinstalling pkg-1.8.7_3 fixes the issue. This is what happens on the host system: $ uname -a=20 FreeBSD BSD-Server.local 10.3-RELEASE-p7 FreeBSD 10.3-RELEASE-p7 #0: Thu Au= g 11 18:38:15 UTC 2016=20=20=20=20 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 $ freebsd-version 10.3-RELEASE-p10 $ pkg -v 1.9.1 $ sudo pkg audit -F Fetching vuln.xml.bz2: 100% 646 KiB 661.1kB/s 00:01=20=20=20=20 0 problem(s) in the installed packages found. This is what happens within a jail: # uname -a FreeBSD Test-web.local 10.3-RELEASE-p7 FreeBSD 10.3-RELEASE-p7 #0: Thu Aug = 11 18:38:15 UTC 2016=20=20=20=20 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 # freebsd-version 10.3-RELEASE-p10 # pkg -v 1.9.1 # pkg audit -F pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No address record pkg: cannot fetch vulnxml file # pkg add -f /var/ports/packages/All/pkg-1.8.7_3.txz [Test-web.local] Installing pkg-1.8.7_3... package pkg is already installed, forced install [Test-web.local] Extracting pkg-1.8.7_3: 100% # pkg -v 1.8.7 # pkg audit -F [Test-web.local] Fetching vuln.xml.bz2: 100% 646 KiB 661.1kB/s 00:01=20= =20=20=20 0 problem(s) in the installed packages found.