Bug 709702

Summary: nm-dispatcher.action exception: GLib-GObject-CRITICAL **: g_value_ get_string: assertion `G_VALUE_HOLDS_STRING (value)' failed
Product: [Fedora] Fedora Reporter: Sam Varshavchik <mrsam>
Component: NetworkManagerAssignee: Dan Williams <dcbw>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: dcbw
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-01 19:17:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
nm-dispatcher.action renamed to nm-dispatcher.action.orig, and an strace wrapper slipped into its place none

Description Sam Varshavchik 2011-06-01 12:42:17 UTC
Created attachment 502246 [details]
nm-dispatcher.action renamed to nm-dispatcher.action.orig, and an strace wrapper slipped into its place

nm-dispatcher.action fails to initialize the dhcp environment variables.

I was investigating why dhcp was failing to initialize the server.

I determined that the environment variables that /etc/NetworkManager/dispatcher.d/11-dhclient was expecting, were completely empty.

Wrapping nm-dispatcher.action with strace, the following was logged:

write(2, "\n(nm-dispatcher.action.orig:4743): GLib-GObject-CRITICAL **: g_value_get_string: assertion `G_VALUE_HOLDS_STRING (value)' failed\n", 129) = 129

I suspect this is what's causing the environment variable initialization to fail. Something that nm-dispatcher.action was receiving over dbus was triggering this exception.

strace attached.

Comment 1 Sam Varshavchik 2011-06-01 19:17:59 UTC
Updated to NetworkManager-0.8.999-3.git20110526.fc15, tested, this bug is fixed.