Bug 888329
Summary: | Initscripts should ask NetworkManager if it is managing an interface | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Antoni Segura Puimedon <asegurap> |
Component: | NetworkManager | Assignee: | Dan Williams <dcbw> |
Status: | CLOSED DUPLICATE | QA Contact: | Desktop QE <desktop-qa-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3 | CC: | asegurap, bazulay, danken, dcbw, initscripts-maint-list, jklimes, lnykryn, lpeer, notting, psimerda, rkhan, tpelka |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-25 23:32:23 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: |
Description
Antoni Segura Puimedon
2012-12-18 14:05:31 UTC
I'd like to add, that an alternative fix would be that NetworkManager would just honor the NM_CONTROLLED setting regardless of HWADDR (as there are some devices like bonds that have potentially changing mac addresses) and that they would use the ip device name just like you can get it in org.freedesktop.NetworkManager.GetDeviceByIpIface From sysconfig.txt: "NM_CONTROLLED=yes|no If set to 'no', NetworkManager will ignore this connection/device." So I think that this behavior should be fixed in NM and only if it can't be fixed there we should talk about workaround it in initscripts. (In reply to comment #1) > I'd like to add, that an alternative fix would be that NetworkManager would > just honor the NM_CONTROLLED setting regardless of HWADDR (as there are some > devices like bonds that have potentially changing mac addresses) and that > they would use the ip device name just like you can get it in > org.freedesktop.NetworkManager.GetDeviceByIpIface This will not change any soon. (In reply to comment #2) > From sysconfig.txt: > "NM_CONTROLLED=yes|no > If set to 'no', NetworkManager will ignore this connection/device." > So I think that this behavior should be fixed in NM and only if it can't be > fixed there we should talk about workaround it in initscripts. AFAIK NetworkManager doesn't handle files without HWADDR at all, I don't think this is a viable solution. Let's wait for Dan's comment on this. But what Antoni is asking for, is actually not a workaround for a NM bug. He just wants the network scripts to ignore *all* interfaces that NetworkManager manages. That could happen at any time. You can have conflicting configuration in /etc/sysconfig/network-scripts and /etc/NetworkManager/system-connections, for example. But there's no NM tool network scripts could ask when NM is not started (yet). Having it changed to ignore all interfaces that NM manages would be a change of behavior that isn't really appropriate for a minor RHEL update, in my opinion. (In reply to comment #6) > Having it changed to ignore all interfaces that NM manages would be a change > of behavior that isn't really appropriate for a minor RHEL update, in my > opinion. Well, if it can't be for 6.4, at least I think they should play nice for Fedora 17+ and the future major version of RHEL. This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. (In reply to comment #7) > (In reply to comment #6) > > Having it changed to ignore all interfaces that NM manages would be a change > > of behavior that isn't really appropriate for a minor RHEL update, in my > > opinion. > > Well, if it can't be for 6.4, at least I think they should play nice for > Fedora 17+ and the future major version of RHEL. Yes, this is likely to be fixed in F19+ and future versions of RHEL. See bug 824130, which I'm duping this bug to since the fix for both is the same. *** This bug has been marked as a duplicate of bug 824130 *** |