Bug 241223

Summary: Yast2 with IPv6 disabled yields improper postfix configuration
Product: [openSUSE] openSUSE 10.2 Reporter: Nathan Thaler <nathan>
Component: YaST2Assignee: Martin Vidner <mvidner>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P5 - None CC: crrodriguez, varkoly
Version: Final   
Target Milestone: ---   
Hardware: i386   
OS: Other   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Nathan Thaler 2007-02-01 18:55:41 UTC
When one installs openSuSE 10.2 (tested with 32-bit only), and chooses to disable IPv6 in the initial network configuration, the resulting /etc/postfix/main.cf still includes the line "inet_protocols = ipv4 ::1" which, since there's no ::1 interface, causes Postfix to fail until one removes "::1" and reloads postfix.
Comment 1 Cristian Rodríguez 2007-02-01 23:04:53 UTC
VERIFIED, I had to manually correct file too.
Comment 2 Michal Zugec 2007-02-02 10:30:24 UTC
because you ipv6 can be disabled only after reboot,
I can't do anything
maintainer of yast2-mail needs to check if ipv6 will be enabled/disabled after reboot (use the same code or check /etc/modprobe.d/ipv6 file)
Comment 3 Peter Varkoly 2007-02-02 11:09:42 UTC
I've choosed an other solution:
Postfix is configured for inet_protocols=all if
selecting ipv4 only support during installation.
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.


*** This bug has been marked as a duplicate of bug 228479 ***