Date: Fri, 27 Nov 2009 07:47:10 GMT From: Scot Hetzel <swhetzel@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/140929: [patch] sysutils/consolekit: "Would reject message..." in auth.log Message-ID: <200911270747.nAR7lAQ1086517@www.freebsd.org> Resent-Message-ID: <200911270750.nAR7o11k014558@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 140929 >Category: ports >Synopsis: [patch] sysutils/consolekit: "Would reject message..." in auth.log >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Nov 27 07:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Scot Hetzel >Release: FreeBSD 8.0 >Organization: >Environment: FreeBSD dv8t01 8.0-PRERELEASE FreeBSD 8.0-PRERELEASE #0: Wed Nov 25 05:24:30 CST 2009 swhetzel@dv8t01:/usr/obj/usr/src/8.0-REL/sys/GENERIC amd64 >Description: I am getting the following messages in /var/log/auth.log: Nov 18 01:40:04 dv8t01 dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.19" (uid=1001 pid=2858 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.ConsoleKit" (uid=0 pid=1117 comm=")) Nov 18 01:40:04 dv8t01 dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.19" (uid=1001 pid=2858 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.ConsoleKit" (uid=0 pid=1117 comm=")) Nov 18 01:40:04 dv8t01 dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.19" (uid=1001 pid=2858 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.ConsoleKit" (uid=0 pid=1117 comm=")) Nov 18 01:40:04 dv8t01 dbus-daemon: Would reject message, 1 matched rules; type="method_call", sender=":1.19" (uid=1001 pid=2858 comm=") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination="org.freedesktop.ConsoleKit" (uid=0 pid=1117 comm=")) I googled for the error, and found that the ConsoleKit.conf file that is installed with version 0.3.0 is the cause of the problem. The consolekit developers have corrected this problem with the latest version. After patching the port to use the latest version, I no longer see this problem when upgrading the port to version 0.4.1 >How-To-Repeat: install ConsoleKit 3.0, and then start kdm >Fix: The attached patch upgrades the port to version 0.4.1 Note: patch-data_ConsoleKit.conf is no longer required, as these changes are now in the consolekit 0.4.1. Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/sysutils/consolekit/Makefile,v retrieving revision 1.12 diff -u -r1.12 Makefile --- Makefile 24 Apr 2009 06:38:19 -0000 1.12 +++ Makefile 24 Nov 2009 15:45:33 -0000 @@ -6,8 +6,7 @@ # $MCom: ports-stable/sysutils/consolekit/Makefile,v 1.2 2009/04/18 22:09:26 marcus Exp $ PORTNAME= consolekit -PORTVERSION= 0.3.0 -PORTREVISION= 8 +PORTVERSION= 0.4.1 CATEGORIES= sysutils gnome MASTER_SITES= http://people.freedesktop.org/~mccann/dist/ DISTFILES= ConsoleKit-${PORTVERSION}${EXTRACT_SUFX} Index: distinfo =================================================================== RCS file: /home/ncvs/ports/sysutils/consolekit/distinfo,v retrieving revision 1.5 diff -u -r1.5 distinfo --- distinfo 10 Jan 2009 05:21:48 -0000 1.5 +++ distinfo 24 Nov 2009 15:45:39 -0000 @@ -1,3 +1,3 @@ -MD5 (ConsoleKit-0.3.0.tar.bz2) = 43b02a52212330b54cfb34c4044d9ce0 -SHA256 (ConsoleKit-0.3.0.tar.bz2) = cbcfbb3df2dc76855c99c1cdff04a257ec5270fa62e1d21b0d057b08d88c0fd4 -SIZE (ConsoleKit-0.3.0.tar.bz2) = 393694 +MD5 (ConsoleKit-0.4.1.tar.bz2) = 48eda4483cc97841d5f88e8e003eb6d7 +SHA256 (ConsoleKit-0.4.1.tar.bz2) = f032adc6146d745034315054c5822a7a09f30e20a40d6e802221fa977354403e +SIZE (ConsoleKit-0.4.1.tar.bz2) = 398080 Index: files/patch-data_ConsoleKit.conf =================================================================== RCS file: files/patch-data_ConsoleKit.conf diff -N files/patch-data_ConsoleKit.conf --- files/patch-data_ConsoleKit.conf 24 Apr 2009 06:38:19 -0000 1.2 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,20 +0,0 @@ ---- data/ConsoleKit.conf.orig 2008-04-19 01:39:49.000000000 -0400 -+++ data/ConsoleKit.conf 2009-04-17 01:51:54.000000000 -0400 -@@ -32,6 +32,8 @@ - <allow send_interface="org.freedesktop.ConsoleKit.Manager" - send_member="GetSeats"/> - <allow send_interface="org.freedesktop.ConsoleKit.Manager" -+ send_member="GetSessions"/> -+ <allow send_interface="org.freedesktop.ConsoleKit.Manager" - send_member="GetSessionForCookie"/> - <allow send_interface="org.freedesktop.ConsoleKit.Manager" - send_member="GetSessionForUnixProcess"/> -@@ -91,6 +93,8 @@ - send_member="GetIdleHint"/> - <allow send_interface="org.freedesktop.ConsoleKit.Session" - send_member="GetIdleSinceHint"/> -+ <allow send_interface="org.freedesktop.ConsoleKit.Session" -+ send_member="SetIdleHint"/> - </policy> - - </busconfig> Index: files/patch-src_ck-run-programs.c =================================================================== RCS file: files/patch-src_ck-run-programs.c diff -N files/patch-src_ck-run-programs.c --- files/patch-src_ck-run-programs.c 5 Apr 2009 00:57:33 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,10 +0,0 @@ ---- src/ck-run-programs.c.orig 2009-04-04 20:55:11.000000000 -0400 -+++ src/ck-run-programs.c 2009-04-04 20:55:39.000000000 -0400 -@@ -225,6 +225,7 @@ ck_run_programs (const char *dirpath, - out_loop: - g_free (child_argv[0]); - } -+ g_dir_close (dir); - out: - g_strfreev (env_for_child); - } >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911270747.nAR7lAQ1086517>