View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007470||CentOS-7||yum||public||2014-08-06 19:47||2014-08-09 18:15|
|Summary||0007470: don't use ipv6 if not enabled|
|Description||This is from yum-cron, actually:|
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os error was
14: curl#7 - "Failed to connect to 2a02:2498:1:3d:5054:ff:fed3:e91a: Network is unreachable"
/etc/sysconfig/network-scripts/ifcfg-enp2s0f0 has IPV6INIT="no" and ip reports "inet6 fe80::225:90ff:fe2d:600a/64 scope link"
So basically if dns gives you AAAA record, that's only useful when ipv6 is on.
|Tags||No tags attached.|
|PS. one option is to add something like postfix's "protocols = [ipv4|ipv6|all]" to yum.conf and let sysadmin fix it.|
That option exists.
see man yum.conf for more detail and the other new options.
Great. When all else fails I'll read man yum.conf...
Seriously, though, thank you and apologies for the noise.
Also, if you really don't need IPv6 on that machine, it's much better to disable it at the kernel level with ipv6.disable=1 on the kernel command-line (e.g. by adding it to /etc/default/grub and running grub2-mkconfig afterwards). This way the whole IPv6 stack is disabled, you get more memory for your applications and your networking activities a bit faster since there is no dual network stack -- a total win for an IPv4 system, in my opinion :).
Oh, and you don't need to touch configs to instruct yum to use IPv4 only in this case :)))
True, but that happens after you got used to systemd, grub2, nmtui, unfsck'ed the network after removing avahi, and dust has settled in general. ;-)
|2014-08-06 19:47||dmaziuk||New Issue|
|2014-08-06 19:50||dmaziuk||Note Added: 0020602|
|2014-08-07 10:44||Evolution||Note Added: 0020604|
|2014-08-07 23:39||dmaziuk||Note Added: 0020617|
|2014-08-09 15:20||gm.outside||Note Added: 0020639|
|2014-08-09 18:15||dmaziuk||Note Added: 0020643|