summaryrefslogtreecommitdiff
path: root/NEWS
blob: e51b21b3ebfb3bb9bae589fdd4930bed70d80f3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
==============
Version 1.0.2
==============

Stable release of ConsoleKit2. Thank you to everyone who submitted
pull requests.

Bug fixes:
- Fix undefined behavior in ck-log-system-start
- When assigning session to active VT prefer graphical sessions
- XDG_VTNR support
- Handle the legacy 'user' property as an override setting
- login_session_id will be G_MAXUINT32 when unset
- pam-ck allow VTNR to be double-digit
- Properly filter the sessions for the specified user

==============
Version 1.0.1
==============

Stable release of ConsoleKit2. Thank you to everyone who submitted
pull requests.

Changes since 1.0.0:
- Check for enough swap space before allowing hibernate operation
- XDG_VTNR support
- Add NetBSD support
- Fix a potential crash condition after successfully suspending.
- Fix some libdir/scripts stuff
- Filter out the kdm user

==============
Version 1.0.0
==============

Stable release of ConsoleKit2

This is the first release of ConsoleKit2 considered stable. It
incorporates many changes since the fork from ConsoleKit. Please
see the previous development release notes for the full list of
changes.


Notable changes since 0.9.5:
- On Linux, if cgmanager is installed and running, ConsoleKit2
  will use it to track the sessions. The method of session tracking
  supersedes the XDG_SESSION_COOKIE
- Respect multilib/multiarch filesystem layouts.
  Patch by Kylie McClain
- Filter out the sddm user the same as the gdm user
- Update the gettext portion of the build system
- Prevent an infinite loop when removing inhibitors
- Add Bulgarian language translations

==============
Version 0.9.5
==============
[Please note that this is a development release.]

Development release of ConsoleKit2 targeting the 1.0 release.
Please report all problems to
https://github.com/ConsoleKit2/ConsoleKit2/issues

- Add new DBUS method: ListInhibitors
- Mark sessions as local explicitly when not built with PAM support
- Watch and handle dbus NameOwnerChanged events
- Add an --enable-tests configure option 

==============
Version 0.9.4
==============
[Please note that this is a development release.]

Development release of ConsoleKit2 targeting the 1.0 release.
Please report all problems to
https://github.com/ConsoleKit2/ConsoleKit2/issues

- Cksession return empty string when login session id not set
- Test code now cleans up any created sessions
- Fix issue #26, where polkit and networkmanager weren't working
  because the CKDB wasn't getting the correct uid set.

Translation Updates: Russian, Spanish, Spanish (Latin America)

==============
Version 0.9.3
==============
[Please note that this is a development release.]

Development release of ConsoleKit2 targeting the 1.0 release.
Please report all problems to
https://github.com/ConsoleKit2/ConsoleKit2/issues

Changes to the public DBUS API:
    - Adds the "mode" parameter to the inhibit call
    - Additional error messages are now returned i.e.
      CkSeat's ActivateSession can return CK_SEAT_ERROR_ALREADY_ACTIVE
    - PrepareForSleep PrepareForShutdown signals added

- Coverity scan and cppcheck static analysis fixes
- Don't delete the inhibit named pipe files on startup
- Add "mode" to the inhibit dbus call to better match logind
- Remove the pam-foreground-compat script, it was causing race conditions
- Port ConsoleKit2 to GDBus, these changes required a glib min version
  bump to 2.40
- A TRACE macro was added for additional debugging when built with
--enable-debug=full
- Add transifex client configuration
- Fix build without PolicyKit/Polkit (Ivailo Monev)
- Include gio header required for GAsyncResult (Ivailo Monev)
- OpenBSD: unbreak get_kinfo_proc by properly initializing the
  length (Antoine Jacoutot)
- Check for Linux-PAM features rather than just Linux, for
  OpenPAM support. (Andrew Aldridge)
- Fix a warning message about the Source ID not being found during
  remote ck session log out.
- Add -with-rundir configure flag (Robby Workman)
- Revert the "Fix crash on logout/login via SunRay" as it caused
  regressions
- OpenBSD cleanups and sync (Antoine Jacoutot)
- PrepareForSleep/Shutdown signals are now emitted
- Ensure the 90-consolekit file is correctly installed
- SystemdService file is now conditionally installed
- Fix installing the logrotate file

Translation Updates: Russian, Spanish, Spanish (Latin America)

==============
Version 0.9.2
==============
[Please note that this is a development release.]

Development release of ConsoleKit2 targeting the 1.0 release.
Please report all problems to
https://github.com/ConsoleKit2/ConsoleKit2/issues


Changes to the public DBUS API:
    - Adds the PowerOff/Reboot and respective Can APIs.
    - Adds the PolkicyKit interactivity flag to the
      API calls. Same as logind.

Other minor changes:
- Default to not building systemd units
- Add a note about CONFIG_AUDITSYSCALL and PAM
- Minor autotools changes.
- Change inhibit locks internally to allow multiple instances
  of the same application to hold a lock.

==============
Version 0.9.1
==============
[Please note that this is a development release.]

Development release of ConsoleKit2 targeting the 1.0 release.
Please report all problems to
https://github.com/ConsoleKit2/ConsoleKit2/issues

Only one commit with this release but since it changes the
public DBUS API it's better to get it out now before someone
starts writing for the 0.9.0 APIs.

Hybrid Suspend has been added as a sleep method. The sleep
API has been reworked to emulate logind so that supporting
both is easier.

==============
Version 0.9.0
==============
[Please note that this is a development release.]

Development release of ConsoleKit2 targeting the 1.0 release.
Please report all problems to
https://github.com/ConsoleKit2/ConsoleKit2/issues

ConsoleKit2 is a fork of ConsoleKit since it is no longer maintained.

Added OpenBSD and DragonFlyBSD backends, pulled in FreeBSD and
GNU/kFreeBSD provided to the ConsoleKit bugtracker or on distro's
public repositories. As well as many other patches floating around
so that distributions no longer have to carry large patchsets.
Please report any other patches required or currently in use and
those can be added as well.

The 63 threads issue has been resolved if the Linux kernel has
support for the notification required.

ConsoleKit2 supports suspending and hibernation for Linux, FreeBSD,
DragonFlyBSD, and OpenBSD through a DBUS API.


 * Add in the logrotate and consolekit xinitrc script and install
   them to their standard location with configure switches.
 * Add a new DBUS interfaces for suspend/hibernation of the system
   as well as the ability to inhibit it and stop/reeboot actions.
 * Translation support added.
 * Check the return value of sysconf before passing it to calloc.
 * Only close fds that were opened.
 * Fix a resource leak.
 * ck-log-system-start: always create log directory. Patch by
   Daniel Drake.
 * Prevent possible use-after-free condition. Patch by
   Anders Kaseorg.
 * Fix crash on logout/login via SunRay. Patch by Halton Huo.
 * Fix ck-history truncating login names.
 * Call thread_data_free before g_thread_exit.
 * Add man pages. Patch by Brian Cameron.
 * Fix for rejected GetAll properties by GDBus. Patch by
   Teodor MICU.
 * Linux: Use /sys/class/tty/tty0/active for VT change
   notifications (the 63 threads issue)
 * Set source id to 0 after calling g_source_remove.
   Patch by Manfred Hampl.
 * Return early when remote DISPLAY variable set.
   Patch by Joe Mullally.
 * Various deprecated functions and other compile warnings
   were fixed.
 * Add an --enable-debug=full which always enables debugging.
 * Add OpenBSD backend. Patches by Robert Nagy and ajacoutot.
 * Improve FreeBSD backend.
 * Add DragonFlyBSD backend.
 * Be able to shutdown or reboot even without polkit or RBAC
   support. Patch by Romain Perier.
 * udev-acl install to usr.
 * Add support for devices with long names.
   Patch by Aleix Conchillo FlaquƩ.
 * Cleanup console tag files on application startup and shutdown.
 * Fix uninitialized variable.
 * Use correct type in tools/ck-history.c Patch by Rafal Muzylo.
 * Add a configure switch for PolicyKit. Patch by Samuli Suominen.
 * Enables the FreeBSD VT ioctls on GNU/kFreeBSD.
   Patch by Robert Millan.
 * Fallback to getpeereid() on FreeBSD and GNU/kFreeBSD.
   Patch by Robert Millan.

==============
Version 0.4.6
==============

 NOTE: ConsoleKit is no longer actively maintained and this will most
 likely be the final release. You are advised to switch to logind:
 http://www.freedesktop.org/software/systemd/man/systemd-logind.service.html

 * Don't truncate --frequent output to 8 chars in ck-history (Ray Strode)
 * Import udev-acl tool from udev (Michael Biebl)
 * Add support for GNU/Hurd (Pino Toscano)
 * Build system fixes (Samuli Suominen)

==============
Version 0.4.5
==============

 * Loop around opening /dev/console to deal with BKL-less kernels (Colin Watson)
 * systemd fixes (Lennart Poettering)

==============
Version 0.4.4
==============

 * systemd fixes (Lennart Poettering)

==============
Version 0.4.3
==============

 * Revert VT_WAITEVENT usage, since it is racy (Lennart Poettering)
 * systemd fixes (Lennart Poettering)

==============
Version 0.4.2
==============

 * Ensure we only care for seat files ending in .seat (William Jon McCann)
 * Various Solaris improvements (Halton Huo)
 * Make build silent (Ray Strode)
 * Don't take bus name until ready (Ray Strode)
 * systemd hookup (Lennart Poettering)
 * add --since option to ck-history (William Jon McCann)
 * Reduce number of threads on Linux (Kan-Ru Chen)
 * Other fixes (Anders Kaseor, Frederic Crozat, Matthias Clasen, Michael Biebl, William Jon McCann)

==============
Version 0.4.1
==============

 * Fix a crasher (William Jon McCann)
 * fix a small memory leak (Matthias Clasen)
 * update email address (William Jon McCann)

==============
Version 0.4.0
==============

 * Starting with this release we will not do session.d/ 'session_active_changed' callouts anymore. (Lennart Poettering)
 * get rid of session.d's session_active_changed callout (Lennart Poettering)
 * close file descriptors before exit func (Halton Huo)
 * log the kernel release and boot arguments at start time (William Jon McCann)
 * show display in host field if the host isn't set (William Jon McCann)
 * print the uptime for the reboot items in the report (William Jon McCann)
 * fix logic for finding session remove events (William Jon McCann)
 * fix a few small leaks (William Jon McCann)
 * Add seat.d/ callout directory and guarantee we dump the database before call
 * database: write the console database to disk before signalling via dbus (Len
 * Enforce that the env array has the right size (Lennart Poettering)
 * when printing size_t use %z format string (Lennart Poettering)
 * make CK database world readable (Lennart Poettering)
 * get rid of ck_seat_set_active_session() prototype since no such function exi
 * Move ck_session_run_programs() from ck-run-programs.h to ck-session.h (Lenna
 * post release version bump (Ray Strode)

==============
Version 0.3.1
==============

 * port to PolicyKit 1.0 (Matthias Clasen)
 * D-Bus policy updates (Colin Walters, Martin Pitt, Vincent Untz, William Jon McCann)
 * better diagnostic information for unimplemented backends (Daniel Macks)
 * file monitoring fixes (James Westby)
 * get VT from X display if no controlling tty is available (Ray Strode)
 * add "nox11" option to PAM module (Martin Pitt)
 * parse log entries with no body correctly (William Jon McCann)
 * fix zero-sized struct/unions (William Jon McCann)
 * solaris build fixes (Halton Huo)
 * parse gecos field for real name (William Jon McCann)
 * leak fixes (James Westby, Steve Langasek)
 * compile warning fixes (Matthias Clasen)
 * fix doc xml validation errors (William Jon McCann)
 * fix doc generation when srcdir != builddir (Ray Strode)
 * add example upstart events for logging (William Jon McCann, Ray Strode)
 * fix ChangeLog generation script to work with git-log moved to libexecdir (Ray Strode)

==============
Version 0.3.0
==============

 * API changes to make the daemon conform to the published spec

 * don't allow reboot if PolicyKit and RBAC are disabled (William Jon McCann)
 * fix path in includes (William Jon McCann)
 * reorganize the docs a bit (William Jon McCann)
 * pull updated DTD and xsl from DeviceKit-disks (William Jon McCann)
 * fix distcheck (William Jon McCann)
 * still having problems using xinclude (William Jon McCann)
 * fix the includes (William Jon McCann)
 * add missing bits (William Jon McCann)
 * use spec files directly as introspection xml and try to generate docs on the fly (William Jon McCann)
 * use object paths for seat added/removed signals per spec (William Jon McCann)
 * regenerate the docs and xml from the spec (William Jon McCann)
 * add GetLoginSessionId to exported interface (William Jon McCann)
 * fix use of unix-user as int (William Jon McCann)
 * use fortify source flag when building from git (William Jon McCann)
 * fix location of scripts again (William Jon McCann)
 * dist bzip by default (William Jon McCann)
 * fix up signal definition (William Jon McCann)
 * fix UnixUser to be uint (William Jon McCann)
 * use object paths instead of strings for signals (William Jon McCann)
 * cleanly shutdown event logging thread (William Jon McCann)
 * export login session id to the bus (William Jon McCann)
 * exit with the bus now that we're activated by the bus (William Jon McCann)
 * allow retaining authorizations for {stop,restart}-multiple-users (David Zeuthen)
 * make sure to add all override parameters (William Jon McCann)
 * fix the script to work with recent dbus-python api changes (William Jon McCann)
 * always try to detect parameters for session (William Jon McCann)
 * oops one more place (William Jon McCann)
 * install scripts into $(prefix)/lib instead of $libdir (William Jon McCann)
 * return PolicyKit results when not privileged for action (William Jon McCann)
 * fix typo (William Jon McCann)
 * initial login session id support (William Jon McCann)
 * display uid as unix-user to match api (William Jon McCann)
 * fix packaging of policy file (William Jon McCann)
 * rename policy file (William Jon McCann)
 * post release version bump (William Jon McCann)

==============
Version 0.2.10
==============

 * always create the directories we need (William Jon McCann)
 * properly get display device on Solaris (Simon Zheng)
 * fix solaris x11-display-device when no vt available (Brian Cameron)
 * solaris doesn't like printing null (Brian Cameron)
 * fix display of active vt when vt is disabled (Brian Cameron)
 * fix solaris vt handling to work when no vt available (Brian Cameron)
 * improve supporting Solaris VT switching (Simon Zheng)
 * don't include paths.h on systems that don't have it (William Jon McCann)
 * create the log file with S_IROTH and don't touch the log on build (William Jo

=============
Version 0.2.9
=============

 * ck_seat_get_active_session shouldn't return a null ssid (William Jon McCann)
 * guard against writing null string to keyfile (William Jon McCann)
 * reverse the sense of the dbus policy (William Jon McCann)
 * add a ck-launch-session tool (William Jon McCann)
 * don't set the session-type to the command name (William Jon McCann)

=============
Version 0.2.8
=============

 * add tools to log restart and stop events (William Jon McCann)
 * fix typo in dbus policy file (William Jon McCann)
 * touch the history file to create it for people not using packages (William Jon McCann)
 * mkdir /var/log/ConsoleKit at install time (William Jon McCann)
 * set a global flag so that D-Bus does not change the SIGPIPE handler in the PAM module (William Jon McCann)
 * when a parsing error occurs don't return an empty event (William Jon McCann)

=============
Version 0.2.7
=============

 * update gitignore files (William Jon McCann)
 * add a helper to write a system start record to the CK history (William Jon McCann)
 * add support for logging start/stop/restart (William Jon McCann)
 * fix typo in man page (William Jon McCann)
 * make autogen work with aclocal 1.10 (Marc-Andre Lureau)
 * allow session type filtering for all report formats (William Jon McCann)
 * make polkit optional and use RBAC on Solaris (Brian Cameron)
 * fixes for solaris (Brian Cameron)
 * add session-type filtering to ck-history (William Jon McCann)
 * try to activate x11-display-device not only display-device (William Jon McCann)

=============
Version 0.2.6
=============

        * be a little smarter about how we compute the number of users (William Jon McCann)
        * fix policy action name (William Jon McCann)

=============
Version 0.2.5
=============

        * use /var/log/ instead of /var/run for log file

=============
Version 0.2.4
=============

        * actually register the error type with dbus (William Jon McCann)
        * add GetSessions method to Manager interface (William Jon McCann)
        * add error type to manager (William Jon McCann)
        * initial stop/restart support (William Jon McCann)
        * use VT_GETSTATE and tty0 to identify a console_ioctl on linux (Peter Jones)
        * remove obsolete sysv init script (Michael Biebl)
        * start CK service on-demand using D-Bus system activation (Michael Biebl)
        * dump session leader info (William Jon McCann)
        * error out if unknown options are passed on command line (William Jon McCann)
        * move session leader stuff into a separate class (William Jon McCann)
        * try to handle log rotation (William Jon McCann)
        * add support for reporting from logrotated files (William Jon McCann)
        * add a basic --frequent report (William Jon McCann)
        * Merge branch 'master' of git+ssh://git.freedesktop.org/git/ConsoleKit (William Jon McCann)
        * add last mode, filtering by user/seat; shorten logged ids (William Jon McCann)
        * add bugzilla url (William Jon McCann)
        * check for oldest being null (William Jon McCann)
        * rename --last to --last-compat (William Jon McCann)
        * a few fixes for last patch (William Jon McCann)
        * add a last compatible outout format to ck-history (William Jon McCann)
        * use AC_GNU_SOURCE instead of #define (William Jon McCann)
        * add a basic ck-history command (William Jon McCann)
        * add event logging capability (William Jon McCann)
        * remove emacs modeline (William Jon McCann)
        * maintain a file with the dump of the local database (David Zeuthen)
        * remove session/seat from list before signaling (William Jon McCann)
        * add a way to synchronously run programs on session add/remove/activity_change (David Zeuthen)
        * don't use VT_GETSTATE when VT is unavailable (Brian Cameron)
        * try to make things work for systems that don't support VT_ACTIVATE etc (William Jon McCann)
        * add wiki to readme (William Jon McCann)
        * post release version bump (William Jon McCann)

=============
Version 0.2.3
=============

        * Use unix-user instead of user so that PAM module works

=============
Version 0.2.2
=============

        Major changes in this release:

        * FreeBSD support (Joe Marcus Clarke & Florent Thoumie)
        * Solaris support (Brian Cameron & William Jon McCann)
        * More abstraction of system dependent stuff (William Jon McCann)
        * Experimental support for seat & device configuration (William Jon McCann)
        * Add new helper for getting tty from DISPLAY (William Jon McCann)
        * a few fixes for getfd suggested by Lennart (William Jon McCann)

=============
Version 0.2.1
=============

        * disable static libs
        * use inotify to detect activity on tty when possible
        * add support for CKCON_X11_DISPLAY_DEVICE environment variable
        * daemonize earlier
        * daemonize quietly (David Zeuthen)
        * add syslog support
        * properly detect unix-user for OpenSession
        * use xlib directly for tools
        * add CanActivateSessions to Seat interface
        * install fixes (Doug Goldstein)

=============
Version 0.2.0
=============

        * add PAM module and connector library (David)
        * restrict the use of D-Bus property get/set by default
        * add x11-display-device property
        * add unix-user property and deprecate user property
        * rename host-name property to remote-host-name
        * make OpenSession asynchronously collect information for session
        * add basic idle monitoring of text sessions
        * add backend tools / framework
        * add uuid to cookie
        * rename list session tool
        * add docbook documentation
        * add spec framework
        * fix some leaks

=============
Version 0.1.2
=============

        * don't use NULL parameters
        * add system-idle-hint and system-idle-since-hint
        * add session idle-hint and idle-since-hint
        * add session creation time
        * don't spew errors when can't get a console fd
        * improve thread safety in vt monitor
        * split output of list-sessions onto separate lines
        * create/delete pid file (caglar)

=============
Version 0.1.1
=============

        * use the supplied vt number when updating active session
        * add support for reconnecting the the system bus
        * start before HAL (David)
        * don't keep last session active when switching without one (David)
        * make threads use small stack size rather than the default (Matthias)
        * change a console-kit to ConsoleKit in a few places
        * add more debugging output

=============
Version 0.1.0
=============

  ConsoleKit

        * First public release