Hi all,

fyi:
pkg does not honor -4 or such config /usr/local/etc/pkg.conf
http://vuxml.freebsd.org/freebsd/vuln.xml.bz2 
<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   => 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 
<http://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 <i...@martenvijn.nl> wrote:
> 
> Hi all,
> 
> While bootstrapping pkg a fresh  jail on FreeBSD 10.1 with IPv6 enabled the 
> process stalls.
> 
> #uname -a
> FreeBSD node.vijn.org <http://node.vijn.org/> 10.1-RELEASE-p5 FreeBSD 
> 10.1-RELEASE-p5 #0: Tue Jan 27 08:55:07 UTC 2015     
> r...@amd64-builder.daemonology.net 
> <mailto:r...@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 <http://name.vijn.org/>";
> 
> node {
>       ip4.addr= 192.x.x.22;
>       ip6.addr= 2001:980:xxxx:x::22;
>       }
> 
> 
> root@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@http:/ # telnet pkg.freebsd.org <http://pkg.freebsd.org/> 80
> Trying 2001:41c8:112:8300::50:1...
> Connected to pkg.freebsd.org <http://pkg.freebsd.org/>.
> Escape character is '^]'.
> ^CConnection closed by foreign host.
> 
> 
> 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 
> <pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest>, please wait...
> ^C
> 
> 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 
> <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 
> <pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest>, please wait...
> Verifying signature with trusted certificate pkg.freebsd.org 
> <http://pkg.freebsd.org/>.2013102301... done
> [node.vijn.org <http://node.vijn.org/>] Installing pkg-1.4.12...
> [node.vijn.org <http://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
> 
> 
> 
> 
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to