Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mkdir /var/log/ConsoleKit at install time | William Jon McCann | 2008-02-06 | 1 | -0/+1 |
| | |||||
* | set a global flag so that D-Bus does not change the SIGPIPE handler in the ↵ | William Jon McCann | 2008-02-05 | 1 | -2/+7 |
| | | | | PAM module | ||||
* | when a parsing error occurs don't return an empty event | William Jon McCann | 2008-02-01 | 2 | -14/+19 |
| | |||||
* | post release version bump | William Jon McCann | 2008-01-30 | 1 | -1/+1 |
| | |||||
* | update for 0.2.7 release0.2.7 | William Jon McCann | 2008-01-30 | 1 | -0/+15 |
| | |||||
* | update gitignore files | William Jon McCann | 2008-01-29 | 3 | -1/+5 |
| | |||||
* | add a helper to write a system start record to the CK history | William Jon McCann | 2008-01-29 | 3 | -1/+188 |
| | |||||
* | add support for logging start/stop/restart | William Jon McCann | 2008-01-29 | 4 | -169/+564 |
| | | | | Also enable reporting this information with ck-history. | ||||
* | fix typo in man page | William Jon McCann | 2008-01-28 | 1 | -1/+1 |
| | |||||
* | make autogen work with aclocal 1.10 | Marc-Andre Lureau | 2008-01-28 | 2 | -162/+19 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=14175 | ||||
* | allow session type filtering for all report formats | William Jon McCann | 2008-01-28 | 1 | -9/+22 |
| | |||||
* | make polkit optional and use RBAC on Solaris | Brian Cameron | 2008-01-28 | 6 | -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 solaris | Brian Cameron | 2008-01-28 | 2 | -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-history | William Jon McCann | 2008-01-28 | 2 | -8/+16 |
| | |||||
* | try to activate x11-display-device not only display-device | William Jon McCann | 2008-01-28 | 1 | -2/+5 |
| | |||||
* | post release version bump | William Jon McCann | 2008-01-24 | 1 | -1/+1 |
| | |||||
* | update for 0.2.6 release0.2.6 | William Jon McCann | 2008-01-24 | 1 | -0/+7 |
| | |||||
* | be a little smarter about how we compute the number of users | William Jon McCann | 2008-01-23 | 1 | -2/+94 |
| | |||||
* | fix policy action name | William Jon McCann | 2008-01-23 | 1 | -2/+2 |
| | |||||
* | post release version bump | William Jon McCann | 2008-01-23 | 1 | -1/+1 |
| | |||||
* | release 0.2.50.2.5 | William Jon McCann | 2008-01-23 | 1 | -0/+6 |
| | |||||
* | history should log to /var/log not /var/run | William Jon McCann | 2008-01-23 | 3 | -3/+3 |
| | |||||
* | post release version bump | William Jon McCann | 2008-01-23 | 1 | -1/+1 |
| | |||||
* | release 0.2.40.2.4 | William Jon McCann | 2008-01-23 | 2 | -0/+38 |
| | |||||
* | actually register the error type with dbus | William Jon McCann | 2008-01-23 | 1 | -0/+1 |
| | |||||
* | add GetSessions method to Manager interface | William Jon McCann | 2008-01-23 | 5 | -1/+57 |
| | |||||
* | add error type to manager | William Jon McCann | 2008-01-23 | 2 | -1/+27 |
| | |||||
* | initial stop/restart support | William Jon McCann | 2008-01-22 | 18 | -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 linux | Peter Jones | 2007-12-08 | 1 | -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 script | Michael Biebl | 2007-12-08 | 2 | -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 activation | Michael Biebl | 2007-12-08 | 2 | -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 info | William Jon McCann | 2007-10-22 | 2 | -3/+21 |
| | |||||
* | error out if unknown options are passed on command line | William Jon McCann | 2007-10-22 | 1 | -2/+9 |
| | |||||
* | move session leader stuff into a separate class | William Jon McCann | 2007-10-22 | 4 | -377/+762 |
| | | | | This will make it easier to dump/restore. | ||||
* | try to handle log rotation | William Jon McCann | 2007-10-22 | 1 | -8/+45 |
| | |||||
* | add support for reporting from logrotated files | William Jon McCann | 2007-10-22 | 4 | -19/+154 |
| | |||||
* | add a basic --frequent report | William Jon McCann | 2007-10-22 | 1 | -0/+109 |
| | |||||
* | Merge branch 'master' of git+ssh://git.freedesktop.org/git/ConsoleKit | William Jon McCann | 2007-10-21 | 1 | -1/+1 |
|\ | |||||
| * | add bugzilla url | William Jon McCann | 2007-10-20 | 1 | -1/+1 |
| | | |||||
* | | add last mode, filtering by user/seat; shorten logged ids | William Jon McCann | 2007-10-21 | 2 | -21/+190 |
|/ | |||||
* | check for oldest being null | William Jon McCann | 2007-10-19 | 1 | -2/+4 |
| | |||||
* | rename --last to --last-compat | William Jon McCann | 2007-10-19 | 1 | -3/+3 |
| | |||||
* | a few fixes for last patch | William Jon McCann | 2007-10-19 | 1 | -4/+25 |
| | |||||
* | add a last compatible outout format to ck-history | William Jon McCann | 2007-10-19 | 1 | -6/+169 |
| | |||||
* | use AC_GNU_SOURCE instead of #define | William Jon McCann | 2007-10-18 | 2 | -2/+3 |
| | |||||
* | add a basic ck-history command | William Jon McCann | 2007-10-17 | 10 | -629/+1458 |
| | | | | | Refactor some event logging code to share with ck-history. At the moment the command only prints the events. | ||||
* | add event logging capability | William Jon McCann | 2007-10-16 | 5 | -6/+1430 |
| | | | | | | | | This adds the ability to log events to a history file. One idea is to be able to provide wtmp like functionality. The next step is to add a seat-aware "last" command. This will be very useful for creating graphical logins that remember the most recent/frequent logins. | ||||
* | remove emacs modeline | William Jon McCann | 2007-10-11 | 1 | -1/+0 |
| | |||||
* | maintain a file with the dump of the local database | David Zeuthen | 2007-10-10 | 6 | -7/+330 |
| | | | | | | | | This feature is useful for programs wanting to read the database without going through the D-Bus interface. This is sometimes desirable when both performance and runtime dependencies are important. For security reasons the file is only readable for the super user. | ||||
* | remove session/seat from list before signaling | William Jon McCann | 2007-10-10 | 2 | -19/+66 |
| | | | | | | We should remove the session or seat from the lists before calling out or emitting a signal. We steal from the lists and then unref the objects when the signal is complete. |