[Pkg-utopia-maintainers] Bug#561106: Patch for Bug#561106: consolekit: console-kit-daemo segfaults at startup
Michel Messerschmidt
www at michel-messerschmidt.de
Sat Dec 19 15:29:22 UTC 2009
I had the same problem with segfaults due to a .svn subdirectory in
/etc/ConsoleKit/seats.d/
This patch fixed it for me:
mic at 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);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20091219/72f348bf/attachment.pgp>
More information about the Pkg-utopia-maintainers
mailing list