summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* update for release0.2.8William Jon McCann2008-02-112-0/+13
|
* add tools to log restart and stop eventsWilliam Jon McCann2008-02-113-0/+368
| | | | | This should probably be used by init instead of logging the event from CK.
* fix typo in dbus policy fileWilliam Jon McCann2008-02-112-2/+2
|
* touch the history file to create it for people not using packagesWilliam Jon McCann2008-02-071-0/+2
|
* mkdir /var/log/ConsoleKit at install timeWilliam Jon McCann2008-02-061-0/+1
|
* set a global flag so that D-Bus does not change the SIGPIPE handler in the ↵William Jon McCann2008-02-051-2/+7
| | | | PAM module
* when a parsing error occurs don't return an empty eventWilliam Jon McCann2008-02-012-14/+19
|
* post release version bumpWilliam Jon McCann2008-01-301-1/+1
|
* update for 0.2.7 release0.2.7William Jon McCann2008-01-301-0/+15
|
* update gitignore filesWilliam Jon McCann2008-01-293-1/+5
|
* add a helper to write a system start record to the CK historyWilliam Jon McCann2008-01-293-1/+188
|
* add support for logging start/stop/restartWilliam Jon McCann2008-01-294-169/+564
| | | | Also enable reporting this information with ck-history.
* fix typo in man pageWilliam Jon McCann2008-01-281-1/+1
|
* make autogen work with aclocal 1.10Marc-Andre Lureau2008-01-282-162/+19
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=14175
* allow session type filtering for all report formatsWilliam Jon McCann2008-01-281-9/+22
|
* make polkit optional and use RBAC on SolarisBrian Cameron2008-01-286-22/+110
| | | | | | | | | | | | | | | | This patch makes polkit an optional dependency. If present it builds with it. If not, polkit support is disabled. This patch also adds a --enable-rbac-shutdown=<key> option. If set, then ConsoleKit will allow shutdown/reboot if the user has the RBAC key authorization defined. For example, since the GDM GUI program runs as the "gdm" user, setting the key for the "gdm" user allows the login program to shutdown and reboot via ConsoleKit. Also this patch modifies the tools/solaris/ck-system-restart and tools/solaris/ck-system-stop scripts to call "/sbin/init 6" and "/sbin/init 5", which are the right commands for Solaris.
* fixes for solarisBrian Cameron2008-01-282-2/+3
| | | | | | | | | | Fixes two bugs I found in the code. The first is that we need some NULL protection around the g_strdup_printf where we build CK_SESSION_X11_DISPLAY to avoid a crash. Second, I noticed a bug in the ck_unix_pid_get_hash function where we weren't parsing the data right and causing the hash to not get set properly.
* add session-type filtering to ck-historyWilliam Jon McCann2008-01-282-8/+16
|
* try to activate x11-display-device not only display-deviceWilliam Jon McCann2008-01-281-2/+5
|
* post release version bumpWilliam Jon McCann2008-01-241-1/+1
|
* update for 0.2.6 release0.2.6William Jon McCann2008-01-241-0/+7
|
* be a little smarter about how we compute the number of usersWilliam Jon McCann2008-01-231-2/+94
|
* fix policy action nameWilliam Jon McCann2008-01-231-2/+2
|
* post release version bumpWilliam Jon McCann2008-01-231-1/+1
|
* release 0.2.50.2.5William Jon McCann2008-01-231-0/+6
|
* history should log to /var/log not /var/runWilliam Jon McCann2008-01-233-3/+3
|
* post release version bumpWilliam Jon McCann2008-01-231-1/+1
|
* release 0.2.40.2.4William Jon McCann2008-01-232-0/+38
|
* actually register the error type with dbusWilliam Jon McCann2008-01-231-0/+1
|
* add GetSessions method to Manager interfaceWilliam Jon McCann2008-01-235-1/+57
|
* add error type to managerWilliam Jon McCann2008-01-232-1/+27
|
* initial stop/restart supportWilliam Jon McCann2008-01-2218-77/+890
| | | | | | Add Stop and Restart methods to the Manager object. We'll rename the Manager object to System in the near future. Use libpolkit to determine authorization.
* use VT_GETSTATE and tty0 to identify a console_ioctl on linuxPeter Jones2007-12-081-4/+9
| | | | | | | | | | | | | ConsoleKit tries to find a valid fd it can issue VT_WAITACTIVE against by iterating across a file list and issuing ioctl(fd, KDGKBTYPE, &arg), then checking the return value. Not all console devices support this ioctl, so in some cases it never finds a valid file descriptor to use, and from then on never marks any session active. We probably ought to be using something like VT_GETSTATE instead of a keyboard ioctl, but that's not sufficient to fix it. One fix that seems to work, though I'm not completely sure if it's the best answer, is to add /dev/tty0 to the list of files to try before /dev/console.
* remove obsolete sysv init scriptMichael Biebl2007-12-082-84/+1
| | | | | | | given that my first patch get's applied, it makes sense to remove the old sysv init script, as it's not really needed anymore. Besides, most distros will not use this init script anyways as they have special policies for their init script and provide their own.
* start CK service on-demand using D-Bus system activationMichael Biebl2007-12-082-1/+12
| | | | | | | the attached patch installs a D-Bus system service file. This way the CK service can be started on demand. This obviously makes the sysv init script obsolete. Requirements are dbus >= 1.1.2
* dump session leader infoWilliam Jon McCann2007-10-222-3/+21
|
* error out if unknown options are passed on command lineWilliam Jon McCann2007-10-221-2/+9
|
* move session leader stuff into a separate classWilliam Jon McCann2007-10-224-377/+762
| | | | This will make it easier to dump/restore.
* try to handle log rotationWilliam Jon McCann2007-10-221-8/+45
|
* add support for reporting from logrotated filesWilliam Jon McCann2007-10-224-19/+154
|
* add a basic --frequent reportWilliam Jon McCann2007-10-221-0/+109
|
* Merge branch 'master' of git+ssh://git.freedesktop.org/git/ConsoleKitWilliam Jon McCann2007-10-211-1/+1
|\
| * add bugzilla urlWilliam Jon McCann2007-10-201-1/+1
| |
* | add last mode, filtering by user/seat; shorten logged idsWilliam Jon McCann2007-10-212-21/+190
|/
* check for oldest being nullWilliam Jon McCann2007-10-191-2/+4
|
* rename --last to --last-compatWilliam Jon McCann2007-10-191-3/+3
|
* a few fixes for last patchWilliam Jon McCann2007-10-191-4/+25
|
* add a last compatible outout format to ck-historyWilliam Jon McCann2007-10-191-6/+169
|
* use AC_GNU_SOURCE instead of #defineWilliam Jon McCann2007-10-182-2/+3
|
* add a basic ck-history commandWilliam Jon McCann2007-10-1710-629/+1458
| | | | | Refactor some event logging code to share with ck-history. At the moment the command only prints the events.