David Zeuthen 5bb94348f4 GDBusProxy: Call into well-known name if no name owner currently exists
This is really what (API) users expect from GDBusProxy - in
particular, mclasen and I ran into this problem while debugging a
upower issue, see

 https://bugzilla.redhat.com/show_bug.cgi?id=624125

In a nutshell, the problem is that polkitd crashes while upower holds
a PolkitAuthority object (which in turns contains a GDBusProxy for the
well-known name org.freedesktop.PolicyKit1). This means that
subsequent calls on the PolkitAuthority (which is translated into
calls into the GDBusProxy) fails since :g-name-owner is NULL.

With this fix, we'll be requesting the bus daemon to launch polkitd
since we will start calling into org.freedesktop.PolicyKit1 as soon as
we notice that there is no owner for this name.

Unfortunately our test suite doesn't cover service activation so there
is no way to reliably test this. I will file a bug about this.

Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-08-18 11:35:25 -04:00
..
2010-06-10 13:35:25 -04:00
2010-08-13 17:23:44 -04:00
2010-08-18 02:18:54 -04:00
2010-07-07 19:53:22 -04:00
2010-07-12 15:33:05 -04:00
2009-03-31 19:39:16 -04:00
2010-08-18 01:55:48 -04:00
2010-08-18 01:45:15 -04:00
2010-08-18 00:31:33 -04:00
2010-08-18 00:37:50 -04:00
2010-07-07 19:53:22 -04:00
2010-07-12 18:30:14 -04:00
2010-07-30 19:53:29 -04:00
2010-06-17 16:07:52 -04:00
2010-08-03 10:41:21 -04:00
2010-07-12 18:30:14 -04:00
2009-08-19 11:02:05 +02:00
2010-07-05 00:56:12 -04:00
2010-07-07 19:53:22 -04:00
2010-03-26 09:30:25 -04:00
2010-07-12 18:30:14 -04:00
2010-07-10 17:21:32 -04:00
2010-07-12 18:30:14 -04:00
2010-07-12 18:30:14 -04:00
2010-07-12 18:30:14 -04:00
2010-07-20 10:49:30 -04:00
2010-07-07 19:53:22 -04:00
2010-07-10 17:21:32 -04:00
2010-08-18 00:13:41 +02:00
2010-06-22 12:14:31 -04:00
2010-07-07 19:53:22 -04:00
2010-07-07 19:53:22 -04:00
2010-07-07 19:53:22 -04:00
2010-07-07 19:53:22 -04:00
2010-07-09 07:24:08 -04:00
2009-11-17 20:27:38 -06:00
2010-07-12 18:30:14 -04:00
2010-07-07 19:53:22 -04:00
2009-05-13 14:42:46 +02:00
2010-07-07 19:53:22 -04:00
2010-07-10 17:21:32 -04:00
2010-07-07 19:53:22 -04:00
2010-08-18 00:31:33 -04:00
2010-01-12 16:34:18 +01:00
2010-08-18 02:18:54 -04:00
2010-08-18 01:45:15 -04:00
2010-07-07 19:53:22 -04:00
2010-03-26 11:05:02 -04:00
2009-05-13 14:42:38 +02:00
2010-08-18 02:18:54 -04:00
2010-07-07 19:53:22 -04:00
2010-07-10 18:04:22 -04:00
2010-07-07 19:53:22 -04:00
2010-07-10 17:21:32 -04:00
2010-07-30 19:51:17 -04:00
2009-11-23 16:22:52 +01:00
2010-06-04 19:03:38 +02:00
2010-07-07 19:53:22 -04:00
2010-07-07 19:53:22 -04:00
2010-04-16 23:23:40 -04:00
2010-08-13 21:23:22 -04:00
2010-07-12 18:30:14 -04:00
2010-08-18 02:18:54 -04:00
2010-08-18 02:18:54 -04:00
2010-08-14 16:15:39 -04:00
2010-07-10 17:21:32 -04:00
2010-07-07 19:53:22 -04:00
2010-07-10 17:21:32 -04:00
2010-07-07 19:53:22 -04:00
2009-07-05 22:35:55 -04:00
2010-07-07 19:53:22 -04:00
2010-07-12 18:30:14 -04:00
2010-08-18 02:18:54 -04:00
2010-07-07 19:53:22 -04:00