From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B8B06138350 for ; Mon, 13 Apr 2020 13:19:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C21AE0AFF; Mon, 13 Apr 2020 13:19:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A9F42E0AF4; Mon, 13 Apr 2020 13:19:53 +0000 (UTC) Received: from tuxbrain.localnet (unknown [176.120.163.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: asturm) by smtp.gentoo.org (Postfix) with ESMTPSA id 6C26334F21E; Mon, 13 Apr 2020 13:19:52 +0000 (UTC) From: Andreas Sturmlechner To: gentoo-dev@lists.gentoo.org Cc: gentoo-pr@lists.gentoo.org Subject: [gentoo-dev] [RFC] News Item v3: Desktop profile switching USE default to elogind Date: Mon, 13 Apr 2020 15:19:28 +0200 Message-ID: <8978858.eNJFYEL58v@tuxbrain> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart20099850.4csPzL39Zc"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Archives-Salt: 50f599f0-4769-4545-83e9-4bae8ab42d3a X-Archives-Hash: 1e04482926a395d62e677962c4585451 --nextPart20099850.4csPzL39Zc Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" One last RFC before this will be implemented. News will be displayed to anyone having sys-auth/consolekit installed. Title: Desktop profile switching USE default to elogind Author: Andreas Sturmlechner Posted: 2020-04-13 Revision: 1 News-Item-Format: 2.0 Display-If-Installed: sys-auth/consolekit Modern desktop environments make use of PAM session tracking for users, login sessions and seats. [1] The most user-visible part of that is device and file permissions management and reboot/shutdown handling without superuser rights. Users with systemd can stop reading here and continue with their daily routine. ConsoleKit2 is unmaintained upstream for almost two years [2]. There are many longstanding bugs and papercuts with consumers that aren't being fixed, not least because these code paths receive very little testing. Enter the elogind project [3], which is a standalone logind implementation based on systemd code, currently maintained by a fellow Gentoo user. We have had sys-auth/elogind available in Gentoo since the beginning of 2017, and meanwhile it has gained support [4] in KDE Plasma, Gnome [5], Cinnamon, MATE and Xfce, as well as most other former consolekit consumers. Consequently, the desktop profile is switching away from consolekit to elogind. Users of sys-auth/consolekit who selected a different profile should consider doing the same. A guide is available [6]. Migration is easy, but if run from within a consolekit session that session may become broken. Rely either on the profile, or set USE="elogind -consolekit" in make.conf yourself. Make sure there is no consolekit debris in /etc/portage/package.use: # grep -R consolekit /etc/portage/package.use Rebuild all affected consumers and remove sys-auth/consolekit: # emerge --ask --changed-use --deep @world # emerge --depclean consolekit Optional, but recommended in case of trouble such as missing reboot/shutdown capabilities in the DM: # rc-update add elogind boot For users of startx instead of one of the supported DMs, do not forget to update ~/.xinitrc accordingly (ck-launch-session is gone without replacement). PS: Subsequently, this will lead to the last-riting of sys-power/pm-utils [7] which is dead even longer than the original ConsoleKit(1) project. KDE Plasma users sticking with sys-auth/consolekit are then going to lose suspend from GUI without superuser rights. [1] https://wiki.gentoo.org/wiki/ConsoleKit [2] https://github.com/ConsoleKit2/ConsoleKit2 [3] https://github.com/elogind/elogind/blob/master/README.md [4] https://bugs.gentoo.org/show_bug.cgi?id=elogind-support [5] https://blogs.gentoo.org/leio/2019/03/26/gnome-3-30/ [6] https://wiki.gentoo.org/wiki/Elogind [7] https://bugs.gentoo.org/659616 --nextPart20099850.4csPzL39Zc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQGTBAABCgB9FiEE0boeld+XzHuYwChrAardCbqe1nUFAl6UZuBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx QkExRTk1REY5N0NDN0I5OEMwMjg2QjAxQUFERDA5QkE5RUQ2NzUACgkQAardCbqe 1nVEmAf/ajNma+n6SCqWIzsg6F8nBPtmQjRCJang4laoWFvOkGZ5UzxuPxu0YVcQ TTUg4qteDNCcyQPziPLRntRuz0uQZEqR2jrJlhOGP8d0fEM+AzCXtK4x67pf/3kx yg40p10Id58279xlE5mixBUBpKK2jD614DTYV1FW//DfyVo3G287lChFJ++6i8gz m/wfssKEEFNGzNIpT7Akxw4BLSWYKKceKbeAu9PvG0CM6I7L66JIYCsdOLRyGulr M88ndHfVr3N/kF0455Hvb3Yaa9MGT/0FWlkisJNROF8NzxDY0OKFc38O5VYLwr5b grlEDMy81s+3ONwzxhzMV6+Trn+Dpw== =1HCS -----END PGP SIGNATURE----- --nextPart20099850.4csPzL39Zc--