|
Bugzilla – Full Text Bug Listing |
| Summary: | Postfix is configured for inet_protocols=all if selecting ipv4 only support during installation | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.2 | Reporter: | Lars Vogdt <lars.vogdt> |
| Component: | Installation | Assignee: | Martin Vidner <mvidner> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Enhancement | ||
| Priority: | P5 - None | CC: | gp, mrueckert, nathan, varkoly |
| Version: | RC 5 | ||
| Target Milestone: | --- | ||
| Hardware: | i386 | ||
| OS: | SUSE Other | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Lars Vogdt
2006-12-14 00:03:24 UTC
The problem is, following: The SuSEconfig.postfix try to find out if ipv6 is enabled or not. If you set "disable ipv6 support" during the installation or yast2 lan it works after reboot the system. I think it is a bug in yast2-network. Have a look at: ip addr show lo|grep inet6 In the past there was a variable USE_IPV6 in /etc/sysconfig/network/config. (So we can not realy detect if ipv6 will be used or not. inet_protocols=all is harmless, important is inet_interfaces== (In reply to comment #2) > The problem is, following: > The SuSEconfig.postfix try to find out if ipv6 is enabled or not. > If you set "disable ipv6 support" during the installation or yast2 lan it works > after reboot the system. I think it is a bug in yast2-network. I think that we already have a bug open for that. *** Bug 222940 has been marked as a duplicate of this bug. *** Some more details with 10.2 final: On a clean install with ipv6 disabled during installation postfix doesn't run because inet_interfaces is set to "127.0.0.1 ::1" and "::1" is not present. SuSEconfig would remove "::1" if USE_IPV6=no is found in /etc/sysconfig/network/config but this entry doesn't exist anymore. On an older system updated to 10.2 the USE_IPV6 config entry is present from the former installation and inet_interfaces is set properly by SuSEconfig. If you change inet_protocols to "ipv4" your postfix config isn't handled by SuSEconfig anymore as you changed it manually. So there are two changes needed: 1. If a user chooses not to use IPV6 there should be USE_IPV6=no added to /etc/sysconfig/network/config like before 2. Depending on USE_IPV6 setting /sbin/conf.d/SuSEconfig.postfix should select between "inet_protocols=all" and "inet_protocols=ipv4" exactly like it does with "inet_interfaces" between "127.0.0.1 ::1" and "127.0.0.1" According to Peter's and my reading of the Postfix documentation, "all" is supposed to enable support for exactly those protocols the operating systems supports (has currently enabled). In the case IPv6 has been disabled in the operating system as is the case here, it does not seem appropriate to issue a warning like this then. So, our plan is to just remove those (bogus, in our opinion) warnings. *** Bug 241223 has been marked as a duplicate of this bug. *** The solution is: Now we set both inet_protocols and inet_interfaces to all. This means the available interfaces and protocols well be used. To avoid bogus warnings inet_proto.c was patched. I'll update it on openSUSE 10.2. I need SWAMPID. fixed imho patching out the warning is wrong. what if an user wants _ipv6_ and cant get the warning? now he has no hint where to look for. imho we should use /proc/net/protocols to detect if ipv6 is working. |