Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 305069 Details for
Bug 444502
NM_CONTROLLED is ignored
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
crude debug "instrumentation"
nm-system-settings-debugonly.patch (text/plain), 2.25 KB, created by
Gene Czarcinski
on 2008-05-11 20:50:58 UTC
(
hide
)
Description:
crude debug "instrumentation"
Filename:
MIME Type:
Creator:
Gene Czarcinski
Created:
2008-05-11 20:50:58 UTC
Size:
2.25 KB
patch
obsolete
>diff -uNr NetworkManager-0.7.0.old/system-settings/plugins/ifcfg-fedora/plugin.c NetworkManager-0.7.0/system-settings/plugins/ifcfg-fedora/plugin.c >--- NetworkManager-0.7.0.old/system-settings/plugins/ifcfg-fedora/plugin.c 2008-05-10 17:22:19.000000000 -0400 >+++ NetworkManager-0.7.0/system-settings/plugins/ifcfg-fedora/plugin.c 2008-05-10 17:23:16.000000000 -0400 >@@ -779,6 +779,7 @@ > SCPluginIfcfg *plugin = SC_PLUGIN_IFCFG (user_data); > SCPluginIfcfgPrivate *priv = SC_PLUGIN_IFCFG_GET_PRIVATE (plugin); > struct inotify_event evt; >+ static int debugctr=0; > > /* read the notifications from the watch descriptor */ > while (g_io_channel_read_chars (channel, (gchar *) &evt, sizeof (struct inotify_event), NULL, NULL) == G_IO_STATUS_NORMAL) { >@@ -798,6 +799,10 @@ > if (!path && !strlen (filename)) > continue; > >+ PLUGIN_PRINT (IFCFG_PLUGIN_NAME, "**debug** %u *********************************", debugctr++); >+ PLUGIN_PRINT (IFCFG_PLUGIN_NAME, "**debug** path='%s', filename='%s'", path, filename); >+ PLUGIN_PRINT (IFCFG_PLUGIN_NAME, "**debug** evt.mask=%x ", evt.mask); >+ PLUGIN_PRINT (IFCFG_PLUGIN_NAME, "**debug** evt.wd=%x, priv.wd=%x ", evt.wd, priv->wd); > if (evt.wd == priv->wd) { > if ( strncmp (filename, IFCFG_TAG, strlen (IFCFG_TAG)) > && strncmp (filename, KEYS_TAG, strlen (KEYS_TAG))) >@@ -817,6 +822,7 @@ > handle_connection_changed (plugin, filename); > } else if (evt.mask & IN_CLOSE_WRITE) { > /* Updated connection */ >+ PLUGIN_PRINT (IFCFG_PLUGIN_NAME, "**debug** IN_CLOSE_WRITE - 1"); > handle_connection_changed (plugin, filename); > } > } else if ((evt.wd > priv->wd) && (path != NULL)) { /* handle hardlinks */ >@@ -824,7 +830,7 @@ > basename = g_path_get_basename(path); > strncpy(filename,basename,PATH_MAX); > g_free(basename); >- >+ PLUGIN_PRINT (IFCFG_PLUGIN_NAME, "**debug** basename = '%s'", filename); > if ( strncmp (filename, IFCFG_TAG, strlen (IFCFG_TAG)) > && strncmp (filename, KEYS_TAG, strlen (KEYS_TAG))) > continue; >@@ -843,6 +849,7 @@ > handle_connection_changed (plugin, filename); > } else if (evt.mask & IN_CLOSE_WRITE) { > /* Updated connection */ >+ PLUGIN_PRINT (IFCFG_PLUGIN_NAME, "**debug** IN_CLOSE_WRITE - 2"); > handle_connection_changed (plugin, filename); > } > } else {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 444502
:
304895
|
304896
|
305067
|
305068
| 305069