Age | Commit message (Collapse) | Author | Files | Lines |
|
Turns out this bug is introduced by commit
b4f893eb294883909759fc9fd825eade1a9f308c, which is later than
when themulti-seat branch was created.
This happens when user logout, c-k-d tries to activate the reserved
Login window session, and send out the two signals in
change_active_session().
The old_session is the session that user just log out, which should
be removed after logout. There is race condition here, if the
old_session get unrefed to 0 before the g_signal_emit call,
then a core dump happens. Reported in:
https://bugs.freedesktop.org/show_bug.cgi?id=28598
|
|
When not in compat-mode the max login name length is 64 which
should cover most sane uses. Additionally this patch makes the
command line options show up in --help. Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=36364
|
|
CppCheck marks this as a warning that P might be used in sizeof
instead of P->tty_text so we'll use sizeof (P->tty_text) to make
it explicit.
|
|
|
|
This patch adds man pages for the binaries it ships to /usr/bin
and /usr/sbin.
https://github.com/ConsoleKit2/ConsoleKit2/issues/4
https://bugs.freedesktop.org/show_bug.cgi?id=24824
|
|
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678506 for
additional details.
|
|
|
|
Pulls in fixes from:
http://anoncvs.estpak.ee/cgi-bin/cgit/openbsd-ports/tree/sysutils/consolekit/patches/patch-src_ck-sysdeps-openbsd_c
|
|
|
|
This prevents Linux from spawning 63 threads. Now there's one
monitor thread that watches for the active VT to change.
Based on the VT_WAITEVENT patch by Kan-Ru Chen.
Fixes:
https://github.com/ConsoleKit2/ConsoleKit2/issues/1
https://bugs.freedesktop.org/show_bug.cgi?id=17720
https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/148454
|
|
Avoids some GLIB-Critical runtime messages by properly resetting the
source id variables after removing the source.
Patch provided by Manfred Hampl.
|
|
When DISPLAY is set to a remote display, the remote display server
is down/unreachable and you su from user to root (or some other user),
this can take ~30 seconds+ to complete.
ps reveals ck-get-x11-server-pid is waiting on network connection to
the xserver that will eventually timeout.
Since it is impossible to get the process ID of the other end of a
TCP connection (manpages say Xlib uses TCP connections when
DISPLAY has a hostname: part) this patch skips getting the PID for
remote DISPLAYs.
References:
If the DISPLAY variable has a hostname component, e.g.
"remotehost:0.0", XOpenDisplay will use a TCP connection to it,
and the fd it returns later will be a TCP socket.
(http://tronche.com/gui/x/xlib/display/opening.html)
It is only possible to get the peer socket's PID for UNIX domain
sockets. (E.g. On linux, SO_PEERCRED is only usable for UNIX domain
sockets (i.e. PF_UNIX) )( http://linux.die.net/man/7/socket)
Bug report and patch provided by Joe Mullally.
https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/517323
|
|
Otherwise GCC nags us with warnings.
|
|
When building outside of linux, again isn't referenced so toss it
in an ifdef to suppress the warning.
|
|
atexit is part of stdlib.h.
|
|
When --enable-debug=full is passed, debugging is always enabled.
This patch also moves the debug check below the option parsing
so it properly takes effect. Additionally, a couple more debug
messages have been added and some quotation marks were removed
from the configure.ac script.
|
|
|
|
|
|
Patches taken from:
https://github.com/avsm/openbsd-ports/tree/master/sysutils/consolekit/patches
|
|
|
|
Include the patches listed in:
http://svnweb.freebsd.org/ports/head/sysutils/consolekit/files/
Credit goes to the FreeBSD team for this work.
|
|
Patches taken from
https://github.com/DragonFlyBSD/DPorts/tree/master/sysutils/consolekit
|
|
|
|
And build DragonflyBSD the same as FreeBSD.
|
|
|
|
Ck does NOTHING at the origin if its built without polkit or RBAC supports, except
display a warning using g_warning() (which does not make sense).
The trick is to to call do_stop()/do_restart() in the #else directive :)
|
|
|
|
See http://launchpad.net/bugs/1130923
|
|
|
|
In the else branch, e is used uninitialized. Move the cast outside
of the if/else block to prevent this.
|
|
|
|
|
|
The freebsd specific code does not handle empty string in environment
correctly. Fix submitted by Petr Salinger.
|
|
Signed-off-by: Eric Koegel <eric.koegel@gmail.com>
|
|
Patch written by Rafal Muzylo.
Signed-off-by: Eric Koegel <eric.koegel@gmail.com>
|
|
http://bugs.freedesktop.org/show_bug.cgi?id=47587.
Signed-off-by: Eric Koegel <eric.koegel@gmail.com>
|
|
Patch written by Robert Millan.
Signed-off-by: Eric Koegel <eric.koegel@gmail.com>
|
|
Patch written by Robert Millan.
Signed-off-by: Eric Koegel <eric.koegel@gmail.com>
|
|
|
|
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
|
|
|
|
|
|
Without this the UDEVDIR never gets substituted and the rules file is
installed to root filesystem /rules.d/ as opposed to /lib/udev/rules.d/
|
|
Fix the unconditional PATH_MAX usage in pam-ck-connector/pam-ck-connector.c by
using a variable-length malloc'ed buffer.
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552393
https://bugs.freedesktop.org/show_bug.cgi?id=24738
|
|
Currently consolekit fails to build on GNU/Hurd mainly because there's no
sysdeps backend for the GNU OS implemented.
The attached patch proposes a sysdeps-gnu backend, which implements the process
management using Hurd's libps, the *ttyent API for the part of the console
implementation and the rest using similar (valid) approaches of other backends.
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552393
https://bugs.freedesktop.org/show_bug.cgi?id=24738
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=33924
|
|
|
|
|
|
The udev-acl tool has been removed from udev in version 182.
Add this tool to ConsoleKit for systems which don't use systemd-logind.
|
|
GDM screenscrapes the output and so we need the full username.
https://bugzilla.gnome.org/show_bug.cgi?id=650330
|