Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2016 20:13:22 +0000
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
Message-ID:  <bug-213599-32340-qVRIHuhwy7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213599-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-213599-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Serge <skh1002@hotmail.com> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213599-32340-qVRIHuhwy7>