boostrapping pkg and ipv6

Marten info at martenvijn.nl
Sat Mar 28 08:11:53 UTC 2015


Hi all,

While bootstrapping pkg a fresh  jail on FreeBSD 10.1 with IPv6 enabled the process stalls.

#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 at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

-> /etc/jail.conf
exec.start	= "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown";
exec.clean;
mount.devfs;
path = "/data/jails/$name";

host.hostname="$name.vijn.org";

node {
	ip4.addr= 192.x.x.22;
	ip6.addr= 2001:980:xxxx:x::22;
	}


root at node:/ # ifconfig
nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8210b<RXCSUM,TXCSUM,VLAN_MTU,TSO4,WOL_MAGIC,LINKSTATE>
	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=21<PERFORMNUD,AUTO_LINKLOCAL>
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>


root at 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.


root at 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

root at 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…
^C

disabling IPv6 in /etc/jail.conf
node {
	ip4.addr= 192.x.x.22;
#	ip6.addr= 2001:980:xxxx:x::22;
	}
# /etc/rc.d/jail restart node


# 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:

  # 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


-> enabling IPv6

#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


Any hints to fix this are welcome..

Kind regards,
Marten





-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20150328/52266d4b/attachment.sig>


More information about the freebsd-stable mailing list