polkit-0.104 make check error

Sebastien Fievet sebastien.fievet at free.fr
Thu Apr 26 15:32:29 PDT 2012


Hello there,

i have a hard time trying to have polkit-0.104 up and running.
I ran make check to root cause my problem.  All tests passed until :

/PolkitBackendLocalAuthority/check_authorization_sync_0: Error getting system bus: Could not connect: No such file or directory/bin/sh : ligne 5 : 12704 Trappe pour point d'arrêt et de trace              /home/root/build/polkit-0.104/test/mocklibc/bin/mocklibc ${dir}$tst
FAIL: polkitbackendlocalauthoritytest
===========================================================================
1 of 2 tests failed
Please report to http://lists.freedesktop.org/mailman/listinfo/polkit-devel
===========================================================================

i do have dbus and Consolekit installed and running, but in /opt instead of /usr, and want to install polkit in the
same location. 

root at goldfish: ps aux  | grep console
root       975  0.0  0.1  11864  3672 ?        SNl  00:02   0:00 /opt/sbin/console-kit-daemon --no-daemon

root at goldfish: ps aux  | grep dbus
18         927  0.0  0.0   2920  1112 ?        SNs  23:22   0:00 /opt/bin/dbus-daemon --system
seb       1053  0.0  0.0   3844   812 ?        S    23:23   0:00 dbus-launch --sh-syntax --exit-with-session
seb       1054  0.0  0.0   3072   988 ?        Ss   23:23   0:00 /opt/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session

I updated CKDB_PATH in src/polkitbackend/polkitbackendsessionmonitor.c to match the actual path :
#define CKDB_PATH "/opt/var/run/ConsoleKit/database"

What am i missing?

Thanks for your help,
Séb.


More information about the polkit-devel mailing list