Bug 440280

Summary: postfix tries (and fails) to start before NetworkManager
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: NetworkManagerAssignee: Dan Williams <dcbw>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: notting, twoerner, wtogami
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 8.69-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-09 00:51:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 235705    

Description Rex Dieter 2008-04-02 16:09:12 UTC
Using NetworkManger, per F-9 default.

On boot, I see:

Starting postfix:  failed

/var/log/maillog contains
postfix/sendmail[...]: fatal: could not find any active network interfaces

Which is probably true, since it tries to start before NetworkManager.

Comment 1 Thomas Woerner 2008-04-02 16:37:27 UTC
Is there no local network interface?

Comment 2 Rex Dieter 2008-04-02 16:41:15 UTC
Apparently not until NetworkManager starts.

Comment 3 Thomas Woerner 2008-04-02 16:53:55 UTC
Then this is a NetworkManager bug. You can not start any network service without
at least local network.

Assigning to NetworkManager.

Comment 4 Rex Dieter 2008-04-02 17:05:28 UTC
fair nuf.

Not that you mention it, this may be self-inflicted, since this is an updated
box from early in the F9 dev cycle, I manually
chkconfig network off
chkconfig NetworkMananager on
awhile back.  

Should network service be enabled or disabled?  (will try it enabled to see what
happens).

Comment 5 Rex Dieter 2008-04-02 17:14:21 UTC
confirmed, with both 'network' and 'NetworkManager' services running, things
work as expected/advertised.

I'll close this.  Move along, nothing to see here.

Comment 6 Warren Togami 2008-04-02 17:17:41 UTC
Things are supposed to work with NetworkManager and without network.  Reopening.


Comment 7 Dan Williams 2008-04-03 01:32:56 UTC
was talking with notting about this today; there are two circular deps if we'd
try to start NM earlier.  The first is that dbus depends on syslog, but syslog
depends on network.  bascially sysvinit and lsb suck.  not much we can do here
until we get a better init system.

Comment 8 Bill Nottingham 2008-04-03 15:13:58 UTC
We could always bring up loopback somewhere else. That actually fits the broken
LSB definition of 'network'....

Comment 9 Colin Walters 2008-04-03 19:51:23 UTC
Also could have a smarter syslog that queues up messages until the network is
available.

Comment 10 Rex Dieter 2008-04-04 11:28:17 UTC
see also #bug #439242

Comment 11 Rex Dieter 2008-04-06 16:44:22 UTC
Seems recent fixes (in initscripts) to address bug #439242 has also resolved
this for me (postfix starts now anyway).

Comment 12 Bill Nottingham 2008-04-07 16:06:17 UTC
That's strange; it should be mostly unrelated.

Comment 13 Rex Dieter 2008-04-08 14:12:03 UTC
nevermind.  rechecked, and my comment #11 is incorrect.  still a problem alright.

Comment 14 Rex Dieter 2008-04-09 00:51:25 UTC
initscripts-8.69-1 confirmed mm, mm, good.