Bug 863707
Summary: | network service start tries to activate all wireless connections | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John L Magee <jlmagee> |
Component: | initscripts | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 17 | CC: | iarlyy, jonathan, jpopelka, lnykryn, notting, plautrba, rvokal, vpavlin |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | initscripts-9.45-1.fc19 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-03-15 14:41:17 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
John L Magee
2012-10-06 19:28:44 UTC
I am not sure that it is wise to skip all ifcgs with NM_CONTROLLED. They are handled with network script, when NM is not present. Maybe we should just skip calling nmcli of wireless devices on boot. Untested patch: diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup index f931dd8..53decee 100755 --- a/sysconfig/network-scripts/ifup +++ b/sysconfig/network-scripts/ifup @@ -66,6 +66,9 @@ then fi if [ "$_use_nm" = "true" -a -n "$UUID" ]; then + if [ "foo$2" = "fooboot" ] && [ "${TYPE}" = "Wireless" ] + exit 0 + fi nmcli con up uuid "$UUID" exit $? fi This would cause different behavior between the case when NM is enabled and when it isn't. That's probably OK, though. I don't think that this difference will be a problem for someone. Just please note that there is a small typo in my patch, there is missing "then" + if [ "foo$2" = "fooboot" ] && [ "${TYPE}" = "Wireless" ]; then Patch committed upstream. |