commit 4a1e58fd29c7cdf48dea879191a45db2cfcca0d1
Author: Colin Watson <cjwatson@ubuntu.com>
Date:   Sat Nov 20 17:57:22 2010 +0100

    Retry opening console device on EIO

    As reported in https://launchpad.net/bugs/544139, ConsoleKit sometimes
    fails to
    track the active VT. This particular case was tracked down to a
    race condition
    that happens if you try to open /dev/console while the current TTY
    is currently
    being closed. This yields an -EIO error, in which case CK should
    just try
    again.

    For a more detailled summary of the problem from a kernel perspective,
    please
    see
    https://bugs.launchpad.net/ubuntu/+source/linux/+bug/554172/comments/245
    .

    https://bugs.freedesktop.org/show_bug.cgi?id=31790

 src/ck-sysdeps-unix.c |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

commit 14d5ef815d3f1a1a7d72bdc242c7ebb085372c8d
Author: Lennart Poettering <lennart@poettering.net>
Date:   Thu Apr 14 01:12:51 2011 +0200

    systemd: don't pull in sysinit.target

    In case of shutdown when sysinit.target is not up yet (i.e. emergency
    mode or suchlike) ensure that we don't try to start sysinit.target
    before shutting down.

 data/console-kit-log-system-restart.service.in |    1 -
 data/console-kit-log-system-start.service.in   |    1 -
 data/console-kit-log-system-stop.service.in    |    1 -
 3 files changed, 0 insertions(+), 3 deletions(-)

commit 91c73e774a033b6399624d8d5991543c70623ee0
Author: Lennart Poettering <lennart@poettering.net>
Date:   Thu Feb 17 01:37:33 2011 +0100

    build-sys: post release version bump

 NEWS         |    6 ++++++
 configure.ac |    3 +--
 2 files changed, 7 insertions(+), 2 deletions(-)

commit f19bd45476536439b0f9fe01808f5d118238c5b1
Author: Lennart Poettering <lennart@poettering.net>
Date:   Thu Feb 17 00:53:54 2011 +0100

    build-sys: make sure make install can be run twice in a row

    https://bugs.freedesktop.org/show_bug.cgi?id=32130

 data/Makefile.am |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

commit a3db5f00cfb924d3d93da5eca0914d23d7102fcd
Author: Lennart Poettering <lennart@poettering.net>
Date:   Thu Jan 20 19:19:46 2011 +0100

    systemd: fix reference to systemd units

 data/console-kit-log-system-restart.service.in |    2 +-
 data/console-kit-log-system-stop.service.in    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit bdd4b0ca1c7e766649349a4b2a131f1f795d6ad6
Author: DJ Lucas <dj@linuxfromscratch.org>
Date:   Fri Dec 17 15:23:35 2010 -0500

    ck-connector: advertise libexecdir

    This lets apps know where consolekit helpers are installed.

    https://bugs.freedesktop.org/show_bug.cgi?id=18427

 libck-connector/ck-connector.pc.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit ad93ff6f212815f7b8cdd4b0f6796965f61f26a3
Author: Lennart Poettering <lennart@poettering.net>
Date:   Fri Nov 19 02:33:52 2010 +0100

    systemd: fix name of unit

 data/console-kit-log-system-restart.service.in |    2 +-
 data/console-kit-log-system-start.service.in   |    2 +-
 data/console-kit-log-system-stop.service.in    |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

commit 14bab7395cad34e1780c984b9028fdd5555f6165
Author: Lennart Poettering <lennart@poettering.net>
Date:   Fri Nov 19 02:33:42 2010 +0100

    build-sys: post release version bump

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit bea922dbab5fb65997c62a98585a35741cbb1a5a
Author: Lennart Poettering <lennart@poettering.net>
Date:   Wed Nov 17 02:03:34 2010 +0100

    update NEWS

 NEWS |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

commit 72bc55ded76c567adee241094ba3147c72706f79
Author: Lennart Poettering <lennart@poettering.net>
Date:   Wed Nov 17 01:50:46 2010 +0100

    Revert "linux: Use VT_WAITEVENT if available to avoid spawn too
    many threads"

    This reverts commit 2782cc8d4950effbc4407455e72bd4750cef6e11.

    VT_WAITEVENT is racy unfortunately, since events that happen
    between the
    time we woke up from a VT_WAITEVENT and we go into the next
    VT_WAITEVENT
    are lost completely.

 NEWS                  |    1 -
 src/ck-sysdeps-unix.c |   44 --------------------------------------------
 src/ck-sysdeps.h      |    2 --
 src/ck-vt-monitor.c   |   48
 ++++++++----------------------------------------
 4 files changed, 8 insertions(+), 87 deletions(-)

commit d36415dcc3cd26a7d1def2f12b4d1c59e13d704e
Author: Lennart Poettering <lennart@poettering.net>
Date:   Wed Nov 17 01:49:37 2010 +0100

    Revert "linux: Check for VT_WAITEVENT ioctl during runtime"

    This reverts commit 24dc214f55e7c7c17d888d0ccf94cd3625767462.

    VT_WAITEVENT is racy unfortunately, since events that happen
    between the
    time we woke up from a VT_WAITEVENT and we go into the next
    VT_WAITEVENT
    are lost completely.

 src/ck-vt-monitor.c |   58
 ++++++++-------------------------------------------
 1 files changed, 9 insertions(+), 49 deletions(-)

commit e74c174728bfa582d8187392bdbc11fe940c2df3
Author: Lennart Poettering <lennart@poettering.net>
Date:   Wed Nov 17 00:45:40 2010 +0100

    systemd: simplify unit files a little

 data/console-kit-log-system-restart.service.in |    6 +++---
 data/console-kit-log-system-start.service.in   |    6 +++---
 data/console-kit-log-system-stop.service.in    |    6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

commit 8564260aa0a2ab18f908079f886f7689844bfad5
Author: Lennart Poettering <lennart@poettering.net>
Date:   Wed Nov 17 00:45:16 2010 +0100

    systemd: log shutdown when doing kexec reboot

 data/Makefile.am |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

commit 25b5d47b961542ceca5f589cc69041b2d941c054
Author: Michael Biebl <biebl@debian.org>
Date:   Sun Sep 19 21:17:26 2010 +0200

    dbus: bump dependency on dbus-glib to 0.82

    dbus-glib >= 0.82 requires dbus >= 1.1 so we can safely remove
    DBUS_API_SUBJECT_TO_CHANGE.

 configure.ac            |    2 +-
 src/ck-manager.c        |    1 -
 src/ck-seat.c           |    1 -
 src/ck-session-leader.c |    1 -
 src/ck-session.c        |    1 -
 src/ck-vt-monitor.c     |    1 -
 src/main.c              |    1 -
 tools/list-sessions.c   |    1 -
 8 files changed, 1 insertions(+), 8 deletions(-)

commit 24dc214f55e7c7c17d888d0ccf94cd3625767462
Author: Michael Biebl <biebl@debian.org>
Date:   Mon Sep 20 00:45:16 2010 +0200

    linux: Check for VT_WAITEVENT ioctl during runtime

    Since 2782cc8d4950effbc4407455e72bd4750cef6e11 ConsoleKit fails, if it
    has been compiled on a linux kernel >= 2.6.32 but is run with an older
    kernel. Check for VT_WAITEVENT ioctl during runtime and fallback
    to the
    old behaviour of creating a thread for every possible vt.

 src/ck-vt-monitor.c |   58
 +++++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 49 insertions(+), 9 deletions(-)

commit 2d16bc565247b8d8653e7eb4a7a6b0d940142bb6
Author: Michael Biebl <biebl@debian.org>
Date:   Mon Sep 6 22:52:25 2010 +0200

    build-sys: Bump GLIB_REQUIRED_VERSION to 2.14 for GRegex

    https://bugs.freedesktop.org/show_bug.cgi?id=30041

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 95ba1f7d70251830cf1dc0e0516ea0a4715272df
Author: Luca Favatella <slackydeb@gmail.com>
Date:   Mon Sep 20 00:13:33 2010 +0200

    build-sys: extend configure check for kfreebsd

    https://bugs.freedesktop.org/show_bug.cgi?id=30051
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511270

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit c163d26a97f4f69422ec4ea0cfe4c7e211d824c1
Author: Lennart Poettering <lennart@poettering.net>
Date:   Tue Sep 14 01:08:06 2010 +0200

    systemd: make sure the file system is writable before we write
    log data

 data/console-kit-log-system-restart.service.in |    3 ++-
 data/console-kit-log-system-start.service.in   |    3 ++-
 data/console-kit-log-system-stop.service.in    |    3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

commit 146e68f5c39653ba5878c6f32b3700d7fbabf777
Author: Lennart Poettering <lennart@poettering.net>
Date:   Tue Sep 7 02:58:59 2010 +0200

    post release version bump

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 55803876769bd0903cb0efda597bfd5a657adb86
Author: Lennart Poettering <lennart@poettering.net>
Date:   Mon Sep 6 16:34:13 2010 +0200

    systemd: keep around console-kit-log-system-start.service after it
    was run to avoid that it can be triggered twice

 data/console-kit-log-system-start.service.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 2782cc8d4950effbc4407455e72bd4750cef6e11
Author: Kan-Ru Chen <koster@debian.org>
Date:   Thu Aug 19 13:45:03 2010 +0800

    linux: Use VT_WAITEVENT if available to avoid spawn too many threads

    Starting from linux kernel 2.6.32 there is a new ioctl VT_WAITEVENT
    which can monitor vt switches and return new vt number.

    https://bugs.freedesktop.org/show_bug.cgi?id=17720

 NEWS                  |    1 +
 src/ck-sysdeps-unix.c |   44 ++++++++++++++++++++++++++++++++++++++++++++
 src/ck-sysdeps.h      |    2 ++
 src/ck-vt-monitor.c   |   48
 ++++++++++++++++++++++++++++++++++++++++--------
 4 files changed, 87 insertions(+), 8 deletions(-)

commit 98e36b216189966f21259bb33f1a25290a9ab23e
Author: Lennart Poettering <lennart@poettering.net>
Date:   Sun Sep 5 23:28:45 2010 +0200

    NEWS: update for 0.4.2

 NEWS |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

commit afedbb80497e0a26f2026336943b1e37a8e696af
Author: Lennart Poettering <lennart@poettering.net>
Date:   Fri Sep 3 19:24:18 2010 +0200

    systemd: install unit files for CK logging calls

    This follows the basic scheme of the Upstart scripts we already ship

 data/.gitignore                                |    3 ++
 data/Makefile.am                               |   38
 ++++++++++++++++++++++-
 data/console-kit-log-system-restart.service.in |    9 +++++
 data/console-kit-log-system-start.service.in   |    9 +++++
 data/console-kit-log-system-stop.service.in    |    9 +++++
 5 files changed, 66 insertions(+), 2 deletions(-)

commit 5a81bb666df3d8469d282e63d452ac2dea96b313
Author: Lennart Poettering <lennart@poettering.net>
Date:   Wed Jul 21 16:55:44 2010 +0200

    systemd: install systemd unit files

 Makefile.am                                |    3 +++
 configure.ac                               |    9 +++++++++
 data/.gitignore                            |    1 +
 data/Makefile.am                           |   12 +++++++++++-
 data/console-kit-daemon.service.in         |   15 +++++++++++++++
 data/org.freedesktop.ConsoleKit.service.in |    1 +
 6 files changed, 40 insertions(+), 1 deletions(-)

commit 30f0968b9a7f544d1afc8908888dc403be6112b8
Author: William Jon McCann <jmccann@redhat.com>
Date:   Tue Aug 3 15:26:58 2010 -0400

    Only load seat files with a .seat extension

 src/ck-manager.c |   10 ++++++----
 src/ck-seat.c    |    2 ++
 2 files changed, 8 insertions(+), 4 deletions(-)

commit 7b9212fa6aff55420c58f2cacd0a941762920337
Author: Anders Kaseorg <andersk@mit.edu>
Date:   Tue Aug 3 15:07:39 2010 -0400

    Fix a few memory leaks

    https://bugs.freedesktop.org/show_bug.cgi?id=26227

 src/ck-manager.c |    7 +++++++
 src/ck-session.c |    3 ++-
 2 files changed, 9 insertions(+), 1 deletions(-)

commit 4f88228f31a63c026c424a92827f26ad7535275c
Author: William Jon McCann <jmccann@redhat.com>
Date:   Thu Jun 3 20:02:35 2010 -0400

    Only set sessions to be is-local=true if set by a trusted party

    https://bugs.freedesktop.org/show_bug.cgi?id=28377

 src/ck-manager.c                |  166
 ++++++++++++++++++++++++++++++++++++++-
 tools/ck-collect-session-info.c |   10 +--
 2 files changed, 165 insertions(+), 11 deletions(-)

commit c9f2292339540d4b9d8940bcef16b7485480c8d9
Author: William Jon McCann <jmccann@redhat.com>
Date:   Fri Jun 11 15:53:22 2010 -0400

    Add a --since option to show entries in a time window

    Doesn't load any history files it doesn't need to which should
    help performance on systems with long histories.

    https://bugs.freedesktop.org/show_bug.cgi?id=25660

 tools/ck-history.c |   96
 ++++++++++++++++++++++++++++++++++++++++------------
 1 files changed, 74 insertions(+), 22 deletions(-)

commit b8a961f91105df661957f6b86922f744bac8b91c
Author: Halton Huo <halton.huo@sun.com>
Date:   Wed May 19 12:46:25 2010 +0800

    Enhancement CanActivateSessions for OpenSolaris.

    VT switching is always enabled on Linux, but for OpenSolaris VT
    switching
    can be truned of by 'svcadm disable vtdaemon'. So we should also check
    whether the service vtdaemon is online on OpenSolaris.

    https://bugs.freedesktop.org/show_bug.cgi?id=26055

 src/Makefile.am          |    1 +
 src/ck-sysdeps-freebsd.c |    6 ++++++
 src/ck-sysdeps-linux.c   |    6 ++++++
 src/ck-sysdeps-solaris.c |   18 ++++++++++++++++++
 src/ck-sysdeps.h         |    1 +
 5 files changed, 32 insertions(+), 0 deletions(-)

commit 9f7ded3fb41f7f656895373463e5aa3ca04f86bc
Author: Halton Huo <halton.huo@sun.com>
Date:   Thu May 20 10:48:09 2010 +0800

    Revert "Enhancement CanActivateSessions for OpenSolaris."

    This reverts commit b2e65a0ab7f4c417c85433e3e9bf97befbe6da3b.

 configure.ac    |   13 -------------
 src/Makefile.am |    1 -
 src/ck-seat.c   |   26 +-------------------------
 3 files changed, 1 insertions(+), 39 deletions(-)

commit b2e65a0ab7f4c417c85433e3e9bf97befbe6da3b
Author: Halton Huo <halton.huo@sun.com>
Date:   Fri Jan 15 14:06:32 2010 +0800

    Enhancement CanActivateSessions for OpenSolaris.

    VT switching is always enabled on Linux, but for OpenSolaris VT
    switching
    can be truned of by 'svcadm disable vtdaemon'. So we should also check
    whether the service vtdaemon is online on OpenSolaris.

    https://bugs.freedesktop.org/show_bug.cgi?id=26055

 configure.ac    |   13 +++++++++++++
 src/Makefile.am |    1 +
 src/ck-seat.c   |   26 +++++++++++++++++++++++++-
 3 files changed, 39 insertions(+), 1 deletions(-)

commit e7f3952632f077ff647e303bd08950085c293297
Author: Frederic Crozat <fcrozat@mandriva.com>
Date:   Fri Jan 29 06:43:29 2010 -0500

    format not a string literal and no format arguments

    Fixes http://bugs.freedesktop.org/show_bug.cgi?id=24152

 src/ck-log-event.c |   16 ++++++++--------
 src/main.c         |    2 +-
 2 files changed, 9 insertions(+), 9 deletions(-)

commit 42315147af68f5e64f86d794061e8c03e2b8dc01
Author: William Jon McCann <jmccann@redhat.com>
Date:   Thu Jan 28 18:24:49 2010 -0500

    Use the correct property ID for idle-hint

    https://bugs.freedesktop.org/show_bug.cgi?id=25703

 src/ck-session.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit f01e054a419d7aaf10c1da321bfbff554ffc3c54
Author: Michael Biebl <mbiebl@gmail.com>
Date:   Thu Jan 28 18:11:54 2010 -0500

    Don't segfault if the seats file is invalid.

    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561106

 src/ck-manager.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

commit 2418840248f07025ad0edc96ed17e03ce5e47f3e
Author: Ray Strode <rstrode@redhat.com>
Date:   Mon Dec 21 11:14:54 2009 -0500

    Don't take bus name until ready

    Previously, we would take a bus name right away, but
    not register the manager object until later.  This
    causes a race when being activated by a method call
    on the manager object, where ConsoleKit gets started
    but the method call fails.

    https://bugs.freedesktop.org/show_bug.cgi?id=25744

 src/main.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

commit fc2870a65f6b3ed3b71bcac69c5faf3a9c759c64
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Mon Dec 21 11:13:23 2009 -0500

    Don't daemonize when activated

    It confuses some versions of D-Bus and isn't needed
    (or wanted it).

    http://bugs.freedesktop.org/show_bug.cgi?id=25642

 data/org.freedesktop.ConsoleKit.service.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 48b4b2d1174db98ee87ea4e71f4a21221043ca3f
Author: Halton Huo <halton.huo@sun.com>
Date:   Tue Nov 10 14:38:29 2009 +0800

    Implement CanRestart and CanStop interfaces on Solaris.

    Fixes http://bugs.freedesktop.org/show_bug.cgi?id=24992

 src/ck-manager.c |   31 ++++++++++++++++++++++---------
 1 files changed, 22 insertions(+), 9 deletions(-)

commit 42a909bbc8ede5c27e3d40606a98ab1251511dfc
Author: Halton Huo <halton.huo@sun.com>
Date:   Tue Nov 3 11:42:07 2009 +0800

    Identify major device number for vt rather than hard code as 15.
    Fixes bug http://defect.opensolaris.org/bz/show_bug.cgi?id=12322
    This is solaris only bug, won't affect other platform.

 src/ck-sysdeps-solaris.c |   22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)

commit b00450b3f9284d997e2e25fd470e7df7336f03ec
Author: Halton Huo <halton.huo@sun.com>
Date:   Fri Oct 16 11:10:37 2009 +0800

    Fix bug console-kit-daemon exit when receiving  SIGPOLL on Solaris.
    Refer to bug http://defect.opensolaris.org/bz/show_bug.cgi?id=11612

 src/ck-vt-monitor.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 909bb5d08a50384ae2a521b80768c283363dbb86
Author: Halton Huo <halton.huo@sun.com>
Date:   Fri Oct 16 11:09:58 2009 +0800

    Correct tty return value after VT support is integrated in Solaris.

 src/ck-sysdeps-solaris.c |   19 -------------------
 1 files changed, 0 insertions(+), 19 deletions(-)

commit 4661908c6dc7964c87f698edc7bbeb30ab37c986
Author: Ray Strode <rstrode@redhat.com>
Date:   Fri Sep 25 15:33:23 2009 -0400

    Turn on silent build by default

    It's all the rage these days and makes seeing warnings much
    easier.

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 3719fa53557d39d9b8a024d1cc7542ab6f9981d6
Author: William Jon McCann <jmccann@redhat.com>
Date:   Thu Sep 24 02:34:31 2009 -0400

    fix style

 src/ck-seat.c |   21 ++++++++++++++-------
 1 files changed, 14 insertions(+), 7 deletions(-)

commit f40de949f72bb0da2c64776fdda039a855ea0374
Author: William Jon McCann <jmccann@redhat.com>
Date:   Thu Sep 24 02:31:49 2009 -0400

    post release version bump

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 9ddc8aa9549425ead3bfeb2dc22f0c07ddca7718
Author: William Jon McCann <jmccann@redhat.com>
Date:   Thu Sep 24 02:29:46 2009 -0400

    Another?  So soon?

 NEWS |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

commit 6bc4a3bf403acb762dfaa0cf4eb8288b73e6aa2d
Author: William Jon McCann <jmccann@redhat.com>
Date:   Thu Sep 24 02:15:59 2009 -0400

    Fix a crasher

 src/ck-seat.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

commit d9f4838baff87ad39f1726200e1b0812b7813808
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Thu Sep 24 01:11:16 2009 -0400

    fix a small memory leak

 src/ck-manager.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

commit 76fba3d10411fc62a89d636ec2592cdf8015fbb2
Author: William Jon McCann <jmccann@redhat.com>
Date:   Thu Sep 24 01:06:07 2009 -0400

    update email address

 doc/dbus/ConsoleKit.xml.in |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

commit 2f5a8a128ac423d444882bbed5d186bc7e0d3188
Author: William Jon McCann <jmccann@redhat.com>
Date:   Thu Sep 24 00:47:04 2009 -0400

    post release version bump

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit bf1adae39b41009a54b91389b0d625fd81fdb39c
Author: William Jon McCann <jmccann@redhat.com>
Date:   Thu Sep 24 00:45:46 2009 -0400

    Update for release

 .gitignore          |    3 ++-
 NEWS                |   18 +++++++++++++++++-
 doc/dbus/.gitignore |    1 +
 3 files changed, 20 insertions(+), 2 deletions(-)

commit ca74581668475c69fba6b5ccc1be453c8cdde8e9
Author: William Jon McCann <jmccann@redhat.com>
Date:   Thu Sep 24 00:27:15 2009 -0400

    bump version before new release

 AUTHORS      |    2 +-
 configure.ac |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit ee7f189f604d2a976ab0861e11e902755c2ea6ae
Author: Halton Huo <halton.huo@sun.com>
Date:   Mon Sep 14 20:26:36 2009 -0400

    close file descriptors before exit func

    This bug is copied from
    http://defect.opensolaris.org/bz/show_bug.cgi?id=10291.
    The patch is attached, Please review it.

    Fixes https://bugs.freedesktop.org/show_bug.cgi?id=22986

 src/ck-sysdeps-solaris.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

commit 528ff2ceb4efd5db89e5e677517c6c487deb196a
Author: William Jon McCann <jmccann@redhat.com>
Date:   Mon Sep 14 20:14:41 2009 -0400

    log the kernel release and boot arguments at start time

    Someone needs to add support for non-Linux platforms.

    Fixes https://bugs.freedesktop.org/show_bug.cgi?id=23948

 src/ck-log-event.c          |   42
 +++++++++++++++++++++++++++++++++++++++++-
 src/ck-log-event.h          |    3 ++-
 tools/ck-history.c          |    5 ++---
 tools/ck-log-system-start.c |   32 ++++++++++++++++++++++++++++++++
 4 files changed, 77 insertions(+), 5 deletions(-)

commit 85cfd65a204477e22b258b01d29ab78503074290
Author: William Jon McCann <jmccann@redhat.com>
Date:   Mon Sep 14 18:18:41 2009 -0400

    show display in host field if the host isn't set

    This is consistent with how we write the wtmp records in GDM.
    https://bugs.freedesktop.org/show_bug.cgi?id=23944

 tools/ck-history.c |   22 +++++++++++++++-------
 1 files changed, 15 insertions(+), 7 deletions(-)

commit 725e76c91823ee01729890ac1fe71a97754512e4
Author: William Jon McCann <jmccann@redhat.com>
Date:   Mon Sep 14 17:12:07 2009 -0400

    print the uptime for the reboot items in the report

    Fixes https://bugs.freedesktop.org/show_bug.cgi?id=23279

 tools/ck-history.c |   41 +++++++++++++++++++++++++++++++++++++++--
 1 files changed, 39 insertions(+), 2 deletions(-)

commit 3afb5dc9c0a8ee8e1259fea6bd4b6d5fdede2d5f
Author: William Jon McCann <jmccann@redhat.com>
Date:   Mon Sep 14 16:08:16 2009 -0400

    fix logic for finding session remove events

    The logic is supposed to find any type of removal event.  This can
    be one of CK_LOG_EVENT_SEAT_SESSION_REMOVED,
    CK_LOG_EVENT_SYSTEM_START,
    CK_LOG_EVENT_SYSTEM_STOP, or CK_LOG_EVENT_SYSTEM_RESTART.

    This is used to determine if the removal was normal or
    RECORD_STATUS_CRASH,
    or RECORD_STATUS_DOWN.  And indicated in the report log as something
    like:

    "Thu Sep  3 21:28 - down   (20:20)"

 tools/ck-history.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

commit 81435b3d10d4b124c0a6b4649b4cf74378a26323
Author: William Jon McCann <jmccann@redhat.com>
Date:   Mon Sep 14 15:54:33 2009 -0400

    fix a few small leaks

    Fixes https://bugs.freedesktop.org/show_bug.cgi?id=23939

 src/ck-seat.c |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

commit b4f893eb294883909759fc9fd825eade1a9f308c
Author: Lennart Poettering <lennart@poettering.net>
Date:   Tue Aug 11 04:02:33 2009 +0200

    Add seat.d/ callout directory and guarantee we dump the database
    before callout invocation

    This adds a callout directory called seat.d/ that follows the basic
    session.d/ semantics but works on seats instead of sessions.

    As replacement for the old session.d/ 'session_active_changed'
    semantics seat.d/ knows 'seat_active_session_changed'. Which combines
    the two callouts necessary for session_active_changed into one. This
    has
    various advantages: it's not as racy, allows the suppressing of ACL
    permission changes when switching between sessions of the same user,
    reduces the amount of disk IO and finally is less ugly.

    This patch also moves all callout invocations into the CkManager.
    This
    has the advantage that we can guarantee to have fully dumped the CK
    database before the callout.

    In summary, the session.d/ directory will now get two types of callout
    invocations:

	session_added
	session_removed

    In contrast, seat.d/ gets three types:

	seat_added
	seat_removed
	seat_active_session_changed

    The 'seat_active_session_changed' callout type gets two sets of
    environment variables describing the old resp. the new session that is
    active. Either set can be left out if no session was active before, or
    no session will be active after the switch. This is similar to
    the logic
    behind D-Bus' NameOwnerChanged.

    This patch duplicates CkSeat's 'session-removed' signal into
    'session-removed-full' (and friends). Reason for that is that
    the signal
    forwarded via D-Bus needs the session id as string while the callout
    code needs the session itself as object. Since at the time of
    invocation
    the CkSeat is no longer in the seats hashtable it is hence necessary
    to
    pass the object in as argument to the signal handlers, which
    makes this
    duplification necessary to not confuse dbus-glib. For a similar reason
    'active-session-changed' is duplicated as well.

 src/Makefile.am     |	  2 +
 src/ck-manager.c    |	 56 +++++++++++++-----
 src/ck-marshal.list |	  1 +
 src/ck-seat.c	     |	161
 +++++++++++++++++++++++++++++++++++++++++++++++---
 src/ck-seat.h	     |	  5 ++
 5 files changed, 200 insertions(+), 25 deletions(-)

commit 76f0578e7a497e569438316703df254f84b548a0
Author: Lennart Poettering <lennart@poettering.net>
Date:	Tue Aug 11 03:57:27 2009 +0200

    get rid of session.d's session_active_changed callout

    The 'session_active_changed' callout is an invitaton to racy misuses
    since it splits up the session switches into two events. This
    patch gets
    rid of it.

    At this point there are two known users of the session.d/ callouts:

      - Suse/Ubuntu ship a script for emulating pam_atconsole style
	/var/run/console management for supporting D-Bus' at_console
	feature
	properly. Both Martin Pitt and Kay Sievers however are happy with
	having this feature go away. In addition I prepared a patch for
	D-Bus which makes the need for these scripts go away
	entirely. That
	patch is currently awaiting review.

      - udev's udev-acl tool currently uses this. However this doesn't
      work
	correctly anyway since it relies on that the CK database is
	correctly
	dumped before the tool is invoked, which CK does not handle
	properly
	at this time. In fact fixing this problem is the main reason why I
	came up with this patch series. Kay is also very interested in
	seeing the 'session_active_changed' logic go away.

    A later commit introduces a replacement functionality that is
    less racy.

    Please note that this patch does not drop session.d/ in its entirety.
    Only the 'session_active_changed' type callout is removed. Scripts
    that
    only rely on 'session_added'/'session_removed' will continue to work
    fine, and will continue to be supported.

 NEWS		  |    8 +++++++-
 src/ck-session.c |    2 --
 2 files changed, 7 insertions(+), 3 deletions(-)

commit 8535db29009c48a37fc2559ca0fcc5b366e1e122
Author: Lennart Poettering <lennart@poettering.net>
Date:	Mon Jul 27 18:16:15 2009 +0200

    database: write the console database to disk before signalling
    via dbus

    We simply change the order how the signal handlers for D-Bus and the
    database dumping are registered. According to the gobject docs it is
    guaranteed that the signal handlers are run in the same order as they
    are registered, so this should be safe and have the desired effect.

 src/ck-manager.c |   29 +++++++++++++++++++----------
 src/ck-seat.c	  |   19 ++-----------------
 src/ck-seat.h	  |    2 ++
 3 files changed, 23 insertions(+), 27 deletions(-)

commit 17fe9ecafedffde111fd0ac95d5688bf5a330972
Author: Lennart Poettering <lennart@poettering.net>
Date:	Tue Aug 11 03:58:45 2009 +0200

    Enforce that the env array has the right size

    Hit an assert if folks add env vars but don't increase the env
    var array
    size.

 src/ck-session.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

commit 90ddcd8249e81341ec05fdb508b6768684ce178b
Author: Lennart Poettering <lennart@poettering.net>
Date:	Tue Aug 11 04:01:09 2009 +0200

    when printing size_t use %z format string

 src/ck-seat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 242971667b66fea86d4cfb5a4d0a396e5a7b5e8b
Author: Lennart Poettering <lennart@poettering.net>
Date:	Tue Aug 11 03:54:57 2009 +0200

    make CK database world readable

    The CK database shall be readable by the D-Bus daemon which runs under
    its own user id hence make sure it is readable for non-root processes.

    To make sure this leaks no information this drops the session cookie
    from the database.

 src/ck-manager.c	 |    2 +-
 src/ck-session-leader.c |    1 -
 src/ck-session.c	 |    4 ----
 3 files changed, 1 insertions(+), 6 deletions(-)

commit 6d4959b9a573c55fe56bbaf2394f492384f19c67
Author: Lennart Poettering <lennart@poettering.net>
Date:	Tue Aug 11 03:56:48 2009 +0200

    get rid of ck_seat_set_active_session() prototype since no such
    function exists

 src/ck-seat.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

commit d4c986776d0626fc5e1d6d67232a312f9ec6ad75
Author: Lennart Poettering <lennart@poettering.net>
Date:	Tue Aug 11 03:53:40 2009 +0200

    Move ck_session_run_programs() from ck-run-programs.h to ck-session.h

    It's a method of CkSession hence it belongs in ck-session.h

 src/ck-run-programs.h |    3 ---
 src/ck-session.h      |    3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

commit ced836b356bd3235c69754e82fe8510ee377d58c
Author: Ray Strode <rstrode@redhat.com>
Date:	Wed Jul 22 16:54:01 2009 -0400

    post release version bump

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit a727d971f3dffc98bae043b69a95e02d3ab3eb88
Author: Ray Strode <rstrode@redhat.com>
Date:	Wed Jul 22 15:13:40 2009 -0400

    Fix example upstart system start script

    It was trying to write the log message way too early,
    before the root filesystem was mounted.

 NEWS			  |    2 +-
 data/ck-log-system-start |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 0f5a014b1e722998e85a3e8482a1cc7654066b8f
Author: Ray Strode <rstrode@redhat.com>
Date:	Tue Jul 21 11:00:52 2009 -0400

    Update NEWS for 0.3.1 release

 NEWS |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

commit 671d3100d48af77eb03b79c73d20e7a4611339df
Author: Ray Strode <rstrode@redhat.com>
Date:	Tue Jul 21 10:38:26 2009 -0400

    Reference entities relative to srcdir not cwd

    The docs were failing to build when srcdir != builddir
    because ConsoleKit.xml was ending up in builddir and
    all its entities are in srcdir.

    This commit makes ConsoleKit.xml load the entities from
    srcdir, which fixes make distcheck.

 doc/dbus/ConsoleKit.xml.in |	12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

commit bf40cd1b17e0bb55c606301f7d8ed65ae6791e54
Author: Ray Strode <rstrode@redhat.com>
Date:	Tue Jul 21 10:07:49 2009 -0400

    Call "git log" instead of "git-log" in Makefile

    git-log (with a hyphen) is an obsolete way to call
    git log.

 Makefile.am |	  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit 23ab6a2ef30fb6fb56f33ac44ecda5887d2b1f94
Author: Martin Pitt <martin.pitt@ubuntu.com>
Date:	Mon Jul 20 17:09:36 2009 -0400

    Add CanStop/Restart to D-Bus security policy

    This change is necessarily following commit:

    e0d9cc359b3099307067107b59ec691418e280b8

 data/ConsoleKit.conf |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

commit 89b9256ad86ddc2a9fd12d3359bc431df45c6b25
Author: Matthias Clasen <mclasen@redhat.com>
Date:	Mon Jul 20 17:08:23 2009 -0400

    Port to PolicyKit 1.0 apis

 configure.ac				    |	 5 +-
 data/Makefile.am			    |	 2 +-
 data/org.freedesktop.consolekit.policy     |	 4 +-
 src/ck-manager.c			    |  673
 +++++++++-------------------
 src/ck-manager.h			    |	 5 +
 src/org.freedesktop.ConsoleKit.Manager.xml |	10 +
 6 files changed, 226 insertions(+), 473 deletions(-)

commit 282c47eb102f839cbf3bee646ba2841362284760
Author: Ray Strode <rstrode@redhat.com>
Date:	Mon Jul 20 16:37:45 2009 -0400

    Get VT from X display if no controlling tty

    In some cases a controlling tty won't be able available to
    peek at to find the VT of the X display.  In those cases,
    we fall back to looking at the XFree86_VT property.

    We can do this because we know the display is a local display
    since we've already gotten peer credentials from its socket.

 tools/ck-get-x11-display-device.c |   72
 +++++++++++++++++++++++++++++++++++++
 1 files changed, 72 insertions(+), 0 deletions(-)
[--snip--]
