boostrapping pkg and ipv6

Baptiste Daroussin bapt at FreeBSD.org
Sat Apr 4 10:53:45 UTC 2015


On Sat, Apr 04, 2015 at 10:02:04AM +0200, Marten wrote:
> 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.
> 
Can you open a ticket on http://github.com/freebsd/pkg ?

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20150404/a6335ba9/attachment.sig>


More information about the freebsd-stable mailing list