I had the same problem with segfaults due to a .svn subdirectory in 
/etc/ConsoleKit/seats.d/

This patch fixed it for me:
m...@ryu:~/src/debian/consolekit$ diff -ur consolekit-0.4.1.orig/ 
consolekit-0.4.1.new/
diff -ur consolekit-0.4.1.orig/src/ck-manager.c 
consolekit-0.4.1.new/src/ck-manager.c
--- consolekit-0.4.1.orig/src/ck-manager.c      2009-09-24 07:10:07.000000000 
+0200
+++ consolekit-0.4.1.new/src/ck-manager.c       2009-12-19 14:10:42.000000000 
+0100
@@ -2476,7 +2476,9 @@
         while ((file = g_dir_read_name (d)) != NULL) {
                 char *path;
                 path = g_build_filename (CK_SEAT_DIR, file, NULL);
-                add_seat_for_file (manager, path);
+                if (!g_file_test (path, G_FILE_TEST_IS_DIR)) {
+                    add_seat_for_file (manager, path);
+                }
                 g_free (path);
         }
 

Attachment: signature.asc
Description: Digital signature

Reply via email to