Bug 473284

Summary: postfix all of a sudden doesnt resolv hostnames any more (nscd/glibc related?)
Product: [openSUSE] openSUSE 11.1 Reporter: andreas bittner <abittner>
Component: Update ProblemsAssignee: Petr Baudis <pbaudis>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: maint-coord
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description andreas bittner 2009-02-06 13:08:07 UTC
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2) Gecko/20081201 Firefox/3.1b2 (.NET CLR 3.5.30729)

after yesterdays online_update my ever-working postfix on suse 11.1 stopped delivering mails to my relay smtp server at my internet service provider.

i found this discussion
http://lists.opensuse.org/opensuse/2009-02/msg00702.html

and i found also that during the upgrade from my opensuse 11.0 to opensuse 11.1 my resolv.conf got re-created during the upgrade process and its now completely empty.

my old resolv.conf file had some nameserver entries in there.

once again: this box was completely normal even with this empty resolv.conf up til yesterday morning or so, before i applied the online_updates

after that postfix log claim that it cant resolv mx records or something for the smtp relayhost of my provider. although nslookup and host can resolve that, hostname no matter what i have in resolv.conf

whats wrong with postfix and/or any other components that got updated in yesterdays onlineupdates?

my 11.1 (x86) is having the latest patches as of today.
how is resolv.conf actually supposed to look in general? does it need a nameserver entry with locally running named and nscd? back in old suse/opensuse days the yast network config applets created these nameserver lines in resolv.conf

nothing in there these days.

after re-adding the nameserver lines in resolv.conf, and restarting postfix, it immediately delivered all the mails left in the mailqueue.

Reproducible: Always

Steps to Reproduce:
1. 11.1 with latest onlineupdates
2. resolv.conf emtpy (no nameserver lines entered)
3. postfix cant resolve external smtp relay hosts and wont deliver emails
4. /var/log/mail shows loads of mx resolv errors and host errors from postfix
Comment 1 Petr Baudis 2009-02-09 10:46:21 UTC
The resolver got broken in case you use yast-setup caching nameserver, please add "nameserver 127.0.0.1" to your /etc/resolv.conf.

*** This bug has been marked as a duplicate of bug 473308 ***
Comment 2 andreas bittner 2009-02-25 18:07:55 UTC
postfix works well again after the glibc patches in
https://bugzilla.novell.com/show_bug.cgi?id=473308#c7

thanks and regards.