From owner-freebsd-stable@FreeBSD.ORG Sat Apr 4 08:02:17 2015 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5480E321 for ; Sat, 4 Apr 2015 08:02:17 +0000 (UTC) Received: from lb3-smtp-cloud3.xs4all.net (lb3-smtp-cloud3.xs4all.net [194.109.24.30]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 685CA788 for ; Sat, 4 Apr 2015 08:02:15 +0000 (UTC) Received: from martens-air.fritz.box ([80.101.129.129]) by smtp-cloud3.xs4all.net with ESMTP id Bk251q00E2nez9401k27xz; Sat, 04 Apr 2015 10:02:07 +0200 Content-Type: multipart/signed; boundary="Apple-Mail=_822BC9D8-9F01-40AE-9D38-796C245B10FF"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: boostrapping pkg and ipv6 X-Pgp-Agent: GPGMail 2.5b6 From: Marten In-Reply-To: Date: Sat, 4 Apr 2015 10:02:04 +0200 Message-Id: <67683314-3A1B-43C9-B2B2-CB4B593457E9@martenvijn.nl> References: To: stable@freebsd.org X-Mailer: Apple Mail (2.2070.6) X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Apr 2015 08:02:17 -0000 --Apple-Mail=_822BC9D8-9F01-40AE-9D38-796C245B10FF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi all, fyi: pkg does not honor -4 or such config /usr/local/etc/pkg.conf http://vuxml.freebsd.org/freebsd/vuln.xml.bz2 = is not reachable over = ipv6 adding ipv4 addresses in /etc/hosts are a workaround data below, kind regards, Marten on this box with ipv4 and 6 configured: /usr/local/etc/pkg.conf =3D> IP_VERSION: 4 pkg -4 audit -F pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: = Operation timed out pkg: cannot fetch vulnxml file fetch http://vuxml.freebsd.org/freebsd/vuln.xml.bz2 = vuln.xml.bz2 fetch: transfer timed out tcpdump shows no ipv4 traffic though is sees traffic to = 2001:1900:2254:206a::50:0 host 2001:1900:2254:206a::50:0 0.0.0.0.0.5.0.0.0.0.0.0.0.0.0.0.a.6.0.2.4.5.2.2.0.0.9.1.1.0.0.2.ip6.arpa = domain name pointer wfe0.ysv.freebsd.org host vuxml.freebsd.org vuxml.freebsd.org is an alias for = wfe0.ysv.freebsd.org . wfe0.ysv.freebsd.org has address = 8.8.178.110 wfe0.ysv.freebsd.org has IPv6 address = 2001:1900:2254:206a::50:0 wfe0.ysv.freebsd.org mail is handled by 0 = . 2001:1900:2254:206a::50:0 while on another box without ipv6 configured: fetch http://vuxml.freebsd.org/freebsd/vuln.xml.bz2 = vuln.xml.bz2 100% of 474 kB 434 kBps adding the next line to /etc/hosts 8.8.178.110 vuxml.freebsd.org = wfe0.ysv.freebsd.org pkg -4 audit -F pkg: vulnxml file up-to-date 0 problem(s) in the installed packages found. > On Mar 28, 2015, at 9:10 AM, Marten > wrote: >=20 > Hi all, >=20 > While bootstrapping pkg a fresh jail on FreeBSD 10.1 with IPv6 = enabled the process stalls. >=20 > #uname -a > FreeBSD node.vijn.org 10.1-RELEASE-p5 FreeBSD = 10.1-RELEASE-p5 #0: Tue Jan 27 08:55:07 UTC 2015 = root@amd64-builder.daemonology.net = :/usr/obj/usr/src/sys/GENERIC = amd64 >=20 > -> /etc/jail.conf > exec.start =3D "/bin/sh /etc/rc"; > exec.stop =3D "/bin/sh /etc/rc.shutdown"; > exec.clean; > mount.devfs; > path =3D "/data/jails/$name"; >=20 > host.hostname=3D"$name.vijn.org "; >=20 > node { > ip4.addr=3D 192.x.x.22; > ip6.addr=3D 2001:980:xxxx:x::22; > } >=20 >=20 > root@node:/ # ifconfig > nfe0: flags=3D8843 metric 0 = mtu 1500 > options=3D8210b > ether 90:e6:ba:7a:44:e8 > inet 192.x.x.22 netmask 0xffffff00 broadcast 192.x.x.255 > inet6 2001:980:xxxx:x::22 prefixlen 64 > nd6 options=3D21 > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=3D8049 metric 0 mtu 16384 > options=3D600003 > nd6 options=3D21 >=20 >=20 > root@http:/ # telnet pkg.freebsd.org 80 > Trying 2001:41c8:112:8300::50:1... > Connected to pkg.freebsd.org . > Escape character is '^]'. > ^CConnection closed by foreign host. >=20 >=20 > root@http:/ # pkg search node > The package management tool is not yet installed on your system. > Do you want to fetch and install it now? [y/N]: y > Bootstrapping pkg from = pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest = , please wait... > ^C >=20 > root@http:/ # pkg -4 search node > The package management tool is not yet installed on your system. > Do you want to fetch and install it now? [y/N]: y > Bootstrapping pkg from = pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest = , please wait=E2=80=A6= > ^C >=20 > disabling IPv6 in /etc/jail.conf > node { > ip4.addr=3D 192.x.x.22; > # ip6.addr=3D 2001:980:xxxx:x::22; > } > # /etc/rc.d/jail restart node >=20 >=20 > # pkg search node > The package management tool is not yet installed on your system. > Do you want to fetch and install it now? [y/N]: y > Bootstrapping pkg from = pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest = , please wait... > Verifying signature with trusted certificate pkg.freebsd.org = .2013102301... done > [node.vijn.org ] Installing pkg-1.4.12... > [node.vijn.org ] Extracting pkg-1.4.12: 100% > Message for pkg-1.4.12: > If you are upgrading from the old package format, first run: >=20 > # pkg2ng > drupal6-nodewords-6.x.1.14 > gstreamer-plugins-annodex-0.10.31_1,3 > leafnode-1.11.10_1 > monodevelop-5.0.1 > monodevelop-database-5.0.1 > munin-node-2.0.25_4 > node-0.12.0_1 > node-devel-0.11.16_1 > node-thrift-0.9.1_1 > node010-0.10.38 > p5-Tree-DAG_Node-1.25 > p5-Tree-Node-0.08_2 > p5-WebService-Linode-0.27 > p5-XML-Node-0.11_1 > p5-XML-NodeFilter-0.01_1 > xnodecor-0.1_2 >=20 >=20 > -> enabling IPv6 >=20 > #pkg search node > drupal6-nodewords-6.x.1.14 > gstreamer-plugins-annodex-0.10.31_1,3 > leafnode-1.11.10_1 > monodevelop-5.0.1 > monodevelop-database-5.0.1 > munin-node-2.0.25_4 > node-0.12.0_1 > node-devel-0.11.16_1 > node-thrift-0.9.1_1 > node010-0.10.38 > p5-Tree-DAG_Node-1.25 > p5-Tree-Node-0.08_2 > p5-WebService-Linode-0.27 > p5-XML-Node-0.11_1 > p5-XML-NodeFilter-0.01_1 > xnodecor-0.1_2 >=20 >=20 > Any hints to fix this are welcome.. >=20 > Kind regards, > Marten >=20 >=20 >=20 >=20 >=20 --Apple-Mail=_822BC9D8-9F01-40AE-9D38-796C245B10FF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJVH5p9AAoJEDVSpuKT0yUEUYgIAIxtAF7gxPynQvxrJnSZECui T3lKVGSnJk4QIvSxWcbnJx2efciQ/KcwDxS+0Jgbt2zcjexU+aKTxY6vnZpnzUUU rzO0rkKdPJZWzy5ghCRypRWr7mw+vOxH/GG7gbKCISD0qXP0YK0bQO3ViyoP9EDH MfgiLhkr1YRo5OnyvVUmIl/4YI1PM/d7uKGEII7Nmk02iPrBdIMUM/M2llbKpaLf W6W7eh+H8DzTa3nUSm2gADDmJsOY1z4wRxQS5wSxjPRWS6P4a0AIBGUcmterVIk2 JQDElwUykDmrtmJ4qnUUt28LPA99uVaeclGQLPl0bstYZT4LZdemq5oGxJxxE20= =Q5C2 -----END PGP SIGNATURE----- --Apple-Mail=_822BC9D8-9F01-40AE-9D38-796C245B10FF--