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 709574 Details for
Bug 918273
[abrt] NetworkManager-0.9.8.0-1.fc18: _dbus_abort: Process /usr/sbin/NetworkManager was killed by signal 6 (SIGABRT)
[?]
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]
Reinstall property filter on dbus restart
dbus-change.patch (text/plain), 2.06 KB, created by
Dan Williams
on 2013-03-13 13:29:44 UTC
(
hide
)
Description:
Reinstall property filter on dbus restart
Filename:
MIME Type:
Creator:
Dan Williams
Created:
2013-03-13 13:29:44 UTC
Size:
2.06 KB
patch
obsolete
>diff --git a/src/nm-manager.c b/src/nm-manager.c >index 929fb46..46a7ffd 100644 >--- a/src/nm-manager.c >+++ b/src/nm-manager.c >@@ -215,6 +215,7 @@ typedef struct { > #endif > > NMDBusManager *dbus_mgr; >+ guint dbus_connection_changed_id; > NMUdevManager *udev_mgr; > NMBluezManager *bluez_mgr; > >@@ -4252,6 +4253,7 @@ dispose (GObject *object) > g_assert (dbus_connection); > dbus_connection_remove_filter (dbus_connection, prop_filter, manager); > } >+ g_signal_handler_disconnect (priv->dbus_mgr, priv->dbus_connection_changed_id); > g_object_unref (priv->dbus_mgr); > > if (priv->bluez_mgr) >@@ -4499,6 +4501,26 @@ periodic_update_active_connection_timestamps (gpointer user_data) > } > > static void >+dbus_connection_changed_cb (NMDBusManager *dbus_mgr, >+ DBusGConnection *connection, >+ gpointer user_data) >+{ >+ NMManager *self = NM_MANAGER (user_data); >+ DBusConnection *dbus_connection; >+ >+ if (connection) { >+ dbus_connection = dbus_g_connection_get_connection (connection); >+ g_assert (dbus_connection); >+ >+ /* Register property filter on new connection; there's no reason this >+ * should fail except out-of-memory or program error; if it does fail >+ * then there's no Manager property access control, which is bad. >+ */ >+ g_assert (dbus_connection_add_filter (dbus_connection, prop_filter, self, NULL)); >+ } >+} >+ >+static void > nm_manager_init (NMManager *manager) > { > NMManagerPrivate *priv = NM_MANAGER_GET_PRIVATE (manager); >@@ -4540,6 +4562,10 @@ nm_manager_init (NMManager *manager) > priv->state = NM_STATE_DISCONNECTED; > > priv->dbus_mgr = nm_dbus_manager_get (); >+ priv->dbus_connection_changed_id = g_signal_connect (priv->dbus_mgr, >+ NM_DBUS_MANAGER_DBUS_CONNECTION_CHANGED, >+ G_CALLBACK (dbus_connection_changed_cb), >+ manager); > > priv->modem_manager = nm_modem_manager_get (); > priv->modem_added_id = g_signal_connect (priv->modem_manager, "modem-added",
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 918273
:
705637
|
705638
|
705639
|
705640
|
705641
|
705642
|
705643
|
705644
|
705645
|
705646
|
705647
| 709574