Bug 1102135
| Summary: | udev fails to rename interfaces when there's questionable bios-es | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Ben Woodard <woodard> |
| Component: | systemd | Assignee: | systemd-maint |
| Status: | CLOSED ERRATA | QA Contact: | Karel Volný <kvolny> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | harald, jscotka, kvolny, lnykryn, msekleta, systemd-maint-list, tdhooge, tgummels, udev-maint-list, woodard |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | systemd-208-12.el7 | Doc Type: | Bug Fix |
| Doc Text: |
Cause:
Rename of NIC failed because two NIC's have the same ACPI index, then no RUN jobs were executed.
Consequence:
Possibly missing effects of RUN jobs which were not executed.
Fix:
Altered udev event processing logic in a way that if rename of network device fails we execute RUN actions which relate to currently processed event.
Result:
More graceful handling of situations when device renaming fails.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-03-05 11:10:05 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: | 1081283 | ||
|
Description
Ben Woodard
2014-05-28 14:28:38 UTC
systemd-udevd should not abort the RUN jobs, if the renaming does not work. It should also reset INTERFACE. An external discussion regarding the same or a very similar issue: http://lists.freedesktop.org/archives/systemd-devel/2014-January/016482.html Workaround suggested upstream is to copy /usr/lib/udev/rules.d/80-net-name-slot.rules to /etc/udev/rules.d/ and comment out line NAME=="", ENV{ID_NET_NAME_ONBOARD}!="", NAME="$env{ID_NET_NAME_ONBOARD}" hence names incorporating physical device location are used.
Just to be clear, change we checked in for this bug alters the udev's behavior regarding RUN jobs when renaming fails. Now udev will execute RUN jobs. Hence we handle failed-to-rename cases more gracefully. Some changes to device policy naming if acpi index is the same for two devices were already discussed with Mellanox. So far there is no definite solution. 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-2015-0509.html |