I've just tried to install ipsec-tools-0.7.3 and noticed the following output: * IPv4 tunnels will not be available * IPv4 tunnels will not be available * IPv4 tunnels will not be available * IPv6 tunnels will not be available * IPv6 tunnels will not be available * IPv6 tunnels will not be available * IPv6 tunnels will not be available * IPv6 tunnels will not be available * IPv6 tunnels will not be available * Unencrypted tunnels will not be available This is not really helpful, it would be nice to show the actual missing kernel config options in the output.
Created attachment 273737 [details] Fixed ipsec-tools 0.7.3-r1 tunnel warnings ebuild
In my attachment ebuild I've added the value that it's failing on and added a condition that if use-flag ipv6 is defined, then it will process checks for those kernel config options.
If USE=ipv6, the attached patch checks for INET6_IPCOMP INET6_AH INET6_ESP \ INET6_XFRM_MODE_TRANSPORT \ INET6_XFRM_MODE_TUNNEL \ INET6_XFRM_MODE_BEET and 0.7.3-r1 and above in the tree check for those too. So we're covered. I think this bug should have been closed long ago. Reopen it if you think I've missed something.
(In reply to comment #3) > If USE=ipv6, the attached patch checks for > > INET6_IPCOMP INET6_AH INET6_ESP \ > INET6_XFRM_MODE_TRANSPORT \ > INET6_XFRM_MODE_TUNNEL \ > INET6_XFRM_MODE_BEET > > and 0.7.3-r1 and above in the tree check for those too. So we're covered. > I think this bug should have been closed long ago. Reopen it if you think > I've missed something. Oh wait, I just realized that the point was the *detail* level of the warning message. So 0.7.3-r1 gives details while 0.8.0 and 0.8.0-r1 doesn't. I'll add that moving forward.
Okay, starting with ipsec-0.8.0-r1, the linux-info output is informative and easy to interpret. In particular, I tired to emphasize a warning that the kernel config checked (/usr/src/linux) and the kernel config of the running kernel may be different and so beware! Please reopen if you think more work needs to be done here.