Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605642 - sys-kernel/gentoo-sources-4.9.3 has CONFIG_IPV6=y enforced as default despite USE=-ipv6
Summary: sys-kernel/gentoo-sources-4.9.3 has CONFIG_IPV6=y enforced as default despite...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-14 08:00 UTC by Sebastian Pucilowski
Modified: 2017-01-22 00:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.txt,4.94 KB, text/plain)
2017-01-14 08:00 UTC, Sebastian Pucilowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pucilowski 2017-01-14 08:00:20 UTC
Created attachment 459956 [details]
emerge --info

Recent stable bump in sys-kernel/gentoo-sources (upgrading 4.8.9 to 4.9.3) on a systemd server with -ipv6 in its USE flags now has CONFIG_IPV6=y enforced as part of the default CONFIG_GENTOO_LINUX_INIT_SYSTEMD configuration.

Discussions in #598623 did not say why IPv6 is now required.

Commit da14bde4be4c3f90314798ce7060c73f9b751b2c applying IPv6 patch in 4567_distro-Gentoo-Kconfig.patch repository did not say why IPv6 is now required.

No issues encountered running with kernel compile flag and system-wide -ipv6 USE flag.

Is CONFIG_IPV6=y actually required now? If so, what change necessitates this flag?

Suggest warning on systems with -ipv6 in USE flags.
Comment 1 Tomáš Mózes 2017-01-21 05:31:21 UTC
I too used -ipv6 on my systems but squid for example crashed occasionally. Then I was told that since 2012 ipv6 is mandatory on all IP network connected devices.

The proper way seems to be to enable ipv6 and then use firewall to block.

However this seems to be related to systemd requiring these settings.
Comment 2 Mike Pagano gentoo-dev 2017-01-21 19:29:51 UTC
systemd dudes.  If gentoo-sources needs to change the default say so and please reassign back to kernel.

Mike
Comment 3 Mike Gilbert gentoo-dev 2017-01-22 00:08:21 UTC
systemd's README file says this:

        Optional but strongly recommended:
          CONFIG_IPV6

CONFIG_GENTOO_LINUX_INIT_SYSTEMD is about providing a reasonable default config for use with systemd. If you do not want IPv6 in your kernel, you can skip this option and enable any necessary options yourself.