[Bug 555732] New: Invalid $(hostname -i) usage SuSEconfig.postfix
http://bugzilla.novell.com/show_bug.cgi?id=555732 Summary: Invalid $(hostname -i) usage SuSEconfig.postfix Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mt@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- --- Comment #0 from Marius Tomaschewski <mt@novell.com> 2009-11-16 09:22:19 UTC --- The use of $(hostname -i) as on 11.2 very easy breaks postfix, because it returns a _list_ of IP adresses: xanthos:~ # hostname -i 172.16.10.1 172.16.1.1 xanthos:~ # grep xanthos /etc/hosts 172.16.10.1 xanthos.mat-home.net xanthos 172.16.1.1 xanthos.mat-home.net xanthos or more worse, like this: xanthos:~ # hostname -f localhost xanthos:~ # hostname -i 127.0.0.1 172.16.10.1 172.16.1.1 xanthos:~ # grep xanthos /etc/hosts 127.0.0.1 localhost xanthos 172.16.10.1 xanthos.mat-home.net xanthos 172.16.1.1 xanthos.mat-home.net xanthos Note, that this list can also be very easy empty! This is the case when you disable to write it with 127.0.0.2 to /etc/hosts (WRITE_HOSTNAME_TO_HOSTS=no), the hostname update via dhcp is disabled (DHCLIENT_SET_HOSTNAME) or the dhcp server simply does not provide any, ... finally it may also happen due to an temporary DNS failure. Please fix, e.g. using a "for i in $(hostname -i) ; do" loop. Further, $FQHOSTNAME may be "linux.local" on two hosts (opensuse machines). I don't think that it is helpful to reject mails with "Liar!" -- in worst case this is an affront and maybe worth a lawsuit in best case bad style. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555732 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |varkoly@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555732 --- Comment #1 from Marius Tomaschewski <mt@novell.com> 2009-11-16 09:37:39 UTC --- (In reply to comment #0)
Further, $FQHOSTNAME may be "linux.local" on two hosts (opensuse machines).
And IPs like 192.168.1.1 are also very common behind NAT. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555732 Peter Varkoly <varkoly@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555732 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Critical --- Comment #2 from Marius Tomaschewski <mt@novell.com> 2009-11-16 10:27:47 UTC --- The echo [...] > $HELO_DB overwrites user defined table entries, when the file does not contain __current__ $FQHOSTNAME! This will (!!) happen, as soon as the dhcp-server returns a different hostname or the user changes some setting... data los => crtical. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555732 Peter Varkoly <varkoly@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Critical |Normal --- Comment #3 from Peter Varkoly <varkoly@novell.com> 2009-11-16 15:54:53 UTC --- The table /etc/postfix/helo_access is unnecessary. This will not be used in /etc/postfix/main.cf. I'll remove it from SuSEconfig.postfix. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555732 http://bugzilla.novell.com/show_bug.cgi?id=555732#c4 Peter Varkoly <varkoly@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |FIXED --- Comment #4 from Peter Varkoly <varkoly@novell.com> 2009-11-21 17:59:20 UTC --- fixed with bnc#555814 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555732 http://bugzilla.novell.com/show_bug.cgi?id=555732#c5 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:released:11.2:31091 --- Comment #5 from Swamp Workflow Management <swamp@suse.com> 2010-02-15 10:18:50 UTC --- Update released for: postfix, postfix-debuginfo, postfix-debugsource, postfix-devel, postfix-doc, postfix-mysql, postfix-mysql-debuginfo, postfix-postgresql, postfix-postgresql-debuginfo Products: openSUSE 11.2 (debug, i586, x86_64) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555732 http://bugzilla.novell.com/show_bug.cgi?id=555732#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (555732) was mentioned in https://build.opensuse.org/request/show/64172 11.2 / postfix -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com