Bug 700831

Summary: "Networking system disabled" message when connected to the network
Product: [Fedora] Fedora Reporter: Jaroslav Reznik <jreznik>
Component: kde-plasma-networkmanagementAssignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: kevin, ltinkl, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kdebase-workspace-4.6.2-6.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-01 03:24:19 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: 669357    
Attachments:
Description Flags
XML introspection patch none

Description Jaroslav Reznik 2011-04-29 14:33:49 UTC
Description of problem: "Network disabled" message when connected to the network, should be "Network enabled"

Version-Release number of selected component (if applicable):
0.9-0.46.20110420-1.fc15

How reproducible:
Everytime

Steps to Reproduce:
1. connect to network
2. check error message

  
Actual results:
"Network disabled" message

Expected results:
 "Network enabled" message

Additional info:

Comment 1 Jaroslav Reznik 2011-04-29 16:26:46 UTC
The problem is - knm uses partially NM 0.8 compat interfaces but the main NetworkManager object is from 0.9 and it NM 0.9 changes NM_STATEs to more granular system (compare http://projects.gnome.org/NetworkManager//developers/spec-08.html#type-NM_STATE and http://projects.gnome.org/NetworkManager/developers/migrating-to-09/spec.html#type-NM_STATE) not documented in migration guide (only new device states are documented).

Comment 2 Jaroslav Reznik 2011-04-29 17:04:18 UTC
Created attachment 495816 [details]
XML introspection patch

Comment 3 Jaroslav Reznik 2011-04-29 17:52:54 UTC
Ops, sorry, it really uses Compat interface... But still somehow related to improper state processing.

Comment 4 Jaroslav Reznik 2011-04-29 21:48:48 UTC
The problem is clear now - it does not use generated definitions from XML introspection file but unfortunatelly from NetworkManager.h (from NetworkManager-devel package) that's already in version 0.9. It should not work but there's a #define for compat reasons that assignes NM_STATE_CONNECTED value of NM_STATE_CONNECTED_GLOBAL. 

I'll post the patch tomorrow.

Comment 5 Fedora Update System 2011-04-30 09:19:58 UTC
kdebase-workspace-4.6.2-5.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/kdebase-workspace-4.6.2-5.fc15

Comment 6 Fedora Update System 2011-05-01 03:24:15 UTC
kdebase-workspace-4.6.2-6.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.