polkit_authority_check_authorization oddity
Daniel Nicoletti
dantti85-pk at yahoo.com.br
Mon Jul 27 14:07:50 PDT 2009
I restarted D-Bus and polkitd-1 runs now,
but pkexec still segfaulting...
Daniel.
----- Mensagem original ----
> De: Daniel Nicoletti <dantti85-pk at yahoo.com.br>
> Para: David Zeuthen <david at fubar.dk>
> Cc: polkit-devel at lists.freedesktop.org
> Enviadas: Segunda-feira, 27 de Julho de 2009 17:52:22
> Assunto: Re: polkit_authority_check_authorization oddity
>
>
> Hi any tips on :
>
> polkitd-1 from last git
> ===========================
> hommer:/home/daniel/code/packagekit/PolicyKit# /usr/libexec/polkitd-1 &
>
>
> (process:14968): GLib-GIO-WARNING **: Could not initialize inotify
>
>
> ** (process:14968): WARNING **: Error monitoring directory
> file:///etc/polkit-1/nullbackend.conf.d: Unable to find default local directory
> monitor type
>
> Registering null backend at priority -10
>
>
> ** (process:14968): WARNING **: Error monitoring actions directory: Unable to
> find default local directory monitor type
>
> (process:14968): GLib-GIO-WARNING **: g_simple_async_result_complete() called
> from outside main loop!
>
> (process:14968): GLib-GIO-WARNING **: g_simple_async_result_complete() called
> from outside main loop!
>
> ** (process:14968): WARNING **: Error monitoring directory
> file:///etc/polkit-1/localauthority.conf.d: Unable to find default local
> directory monitor type
>
> ** (process:14968): WARNING **: Error monitoring directory
> file:///var/lib/polkit-1/localauthority/10-vendor.d: Unable to find default
> local directory monitor type
>
> ** (process:14968): WARNING **: Error monitoring directory
> file:///var/lib/polkit-1/localauthority/20-org.d: Unable to find default local
> directory monitor type
>
> ** (process:14968): WARNING **: Error monitoring directory
> file:///var/lib/polkit-1/localauthority/30-site.d: Unable to find default local
> directory monitor type
>
> ** (process:14968): WARNING **: Error monitoring directory
> file:///var/lib/polkit-1/localauthority/50-local.d: Unable to find default local
> directory monitor type
>
> ** (process:14968): WARNING **: Error monitoring directory
> file:///var/lib/polkit-1/localauthority/90-mandatory.d: Unable to find default
> local directory monitor type
> Using authority class PolkitBackendLocalAuthority
>
> (process:14968): GLib-GIO-WARNING **: g_simple_async_result_complete() called
> from outside main loop!
>
> (process:14968): GLib-GObject-WARNING **: invalid (NULL) pointer instance
>
> (process:14968): GLib-GObject-CRITICAL **: g_signal_handler_disconnect:
> assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
>
> (process:14968): GLib-GObject-CRITICAL **: g_object_unref: assertion
> `G_IS_OBJECT (object)' failed
>
> (process:14968): GLib-GObject-WARNING **: invalid (NULL) pointer instance
>
> (process:14968): GLib-GObject-CRITICAL **: g_signal_handler_disconnect:
> assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
> Error registering authority: Remote Exception invoking
> org.freedesktop.DBus.RequestName() on / at name org.freedesktop.DBus:
> org.freedesktop.DBus.Error.AccessDenied: Connection ":1.30" is not allowed to
> own the service "org.freedesktop.PolicyKit1" due to security policies in the
> configuration file[1] 14968
> [1]+ Exit 1 /usr/libexec/polkitd-1
>
>
> ========================================
> pkexec segfault
>
> (gdb) run nano
> Starting program: /usr/bin/pkexec nano
> [Thread debugging using libthread_db enabled]
> [New Thread 0x7f396ef9b760 (LWP 14963)]
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7f396ef9b760 (LWP 14963)]
> 0x00007f396e86d149 in unsetenv () from /lib/libc.so.6
> (gdb) bt
> #0 0x00007f396e86d149 in unsetenv () from /lib/libc.so.6
> #1 0x00007f396d5cc645 in ?? () from /usr/lib64/libdbus-1.so.3
> #2 0x00007f396d5ada5b in ?? () from /usr/lib64/libdbus-1.so.3
> #3 0x00007f396e104324 in ?? () from /usr/lib64/libeggdbus-1.so.0
> #4 0x00007f396e6039c3 in g_object_newv () from /usr/lib64/libgobject-2.0.so.0
> #5 0x00007f396e603d9b in g_object_new_valist () from
> /usr/lib64/libgobject-2.0.so.0
> #6 0x00007f396e603fec in g_object_new () from /usr/lib64/libgobject-2.0.so.0
> #7 0x00007f396e1040cd in egg_dbus_connection_get_for_bus () from
> /usr/lib64/libeggdbus-1.so.0
> #8 0x00007f396eb9d59e in polkit_authority_init (authority=0xc98400) at
> polkitauthority.c:101
> #9 0x00007f396e61f055 in g_type_create_instance () from
> /usr/lib64/libgobject-2.0.so.0
> #10 0x00007f396e602c7b in ?? () from /usr/lib64/libgobject-2.0.so.0
> #11 0x00007f396e60332c in g_object_newv () from /usr/lib64/libgobject-2.0.so.0
> #12 0x00007f396e603ea7 in g_object_new_valist () from
> /usr/lib64/libgobject-2.0.so.0
> #13 0x00007f396e603fec in g_object_new () from /usr/lib64/libgobject-2.0.so.0
> #14 0x00007f396eb9d76b in polkit_authority_get () at polkitauthority.c:168
> #15 0x0000000000401e59 in main (argc=2, argv=0x7fff76fc8c08) at pkexec.c:312
> (gdb)
>
>
>
> Thanks,
> Daniel.
>
>
>
>
> ____________________________________________________________________________________
> Veja quais são os assuntos do momento no Yahoo! +Buscados
> http://br.maisbuscados.yahoo.com
> _______________________________________________
> polkit-devel mailing list
> polkit-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/polkit-devel
____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
More information about the polkit-devel
mailing list