Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1339648

Summary: systemd starts the network script before systemd-udev finishes ethernet interfaces renaming
Product: Red Hat Enterprise Linux 7 Reporter: Zdenek Pytela <zpytela>
Component: initscriptsAssignee: initscripts Maintenance Team <initscripts-maint-list>
Status: CLOSED ERRATA QA Contact: Leos Pol <lpol>
Severity: high Docs Contact:
Priority: high    
Version: 7.2CC: jscotka, lpol, mkolaja, rmanes, vjadhav, xbai
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: initscripts-9.49.31-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1369016 (view as bug list) Environment:
Last Closed: 2016-11-04 06:44:08 UTC Type: Bug
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: 1369016    
Attachments:
Description Flags
/etc/sysconfig/network-scripts/network-functions patch none

Description Zdenek Pytela 2016-05-25 14:09:52 UTC
Created attachment 1161454 [details]
/etc/sysconfig/network-scripts/network-functions patch

Description of problem:
Systemd starts network script to bring up networking sooner than systemd-udev has finished renaming ethernet interfaces. Required interfaces are not found and networking is not functional

Version-Release number of selected component (if applicable):
systemd-208-20.el7_1.6.x86_64
initscripts-9.49.24-1.el7.x86_64

How reproducible:
always on customer's site

Steps to Reproduce:

Actual results:
network: Bringing up interface em1:  ERROR    : [/etc/sysconfig/network-scripts/ifup-eth] Device em1 does not seem to be present, delaying initialization.

Expected results:
<no error>

Additional info:
There was a bugzilla, now closed notabug:
https://bugzilla.redhat.com/show_bug.cgi?id=1060330

Using NetworkManager to bing up interfaces is not an option though.

A simple patch of network-functions (attached) helps.

Comment 15 errata-xmlrpc 2016-11-04 06:44:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2456.html

Comment 20 Vishwanath Jadhav 2018-02-05 16:46:00 UTC
New initscripts old version ``initscripts-9.49.17-1.el7.x86_64`` new version ``initscripts-9.49.41-1.el7.x86_64`` 

Old Systemd Version: 
1. systemd-libs-208-11.el7.x86_64
2. systemd-208-11.el7.x86_64
3. systemd-sysv-208-11.el7.x86_64

New Systemd Version:
1. systemd-libs-219-53.el7.x86_64
2. systemd-219-53.el7.x86_64
3. systemd-sysv-219-53.el7.x86_64

Comment 21 Lukáš Nykrýn 2018-02-06 10:10:15 UTC
In your case you are using NetworkManager, which is the reason why initscripts does not wait for that device:
Feb 05 11:34:23 dell-per920-02.khw.lab.eng.bos.redhat.com NetworkManager[2694]: <warn> Failed to activate 'em3': Connection 'em3' is not available on the device em3 at this time.

That error is mostly harmless since NM will bring the device up when it appears.