Acknowledgement sent
to Simon McVittie <smcv@debian.org>:
New Bug report received and forwarded. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>.
(Thu, 27 Jan 2022 20:27:04 GMT) (full text, mbox, link).
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gnome-session: should manage session with systemd --user, if
available
Date: Thu, 27 Jan 2022 20:23:32 +0000
Package: gnome-session
Version: 40.1.1-3
Severity: wishlist
Recent-ish upstream versions of gnome-session have been able to manage the
whole login session as a group of `systemd --user` services:
https://wiki.gnome.org/Initiatives/SystemdUser
In Debian terms, this requires libpam-systemd and dbus-user-session.
In particular, one benefit of this is that it makes gnome-shell able to
survive Xwayland crashing or being killed.
At the moment, we compile the code for this but do not enable it. It can
be enabled by hacking /usr/bin/gnome-session (or the session registration
.desktop file) to pass the --systemd option to the executable.
Alternatively, we could configure with it enabled by default.
To be nice to dbus-x11 and sysvinit users, we should make sure that
on systems lacking the prerequisites, this gracefully degrades to the
equivalent of `gnome-session --builtin` (the opposite of --systemd). I
think it already does, but haven't tried it yet.
smcv
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>: Bug#1004448; Package gnome-session.
(Sat, 29 Jan 2022 11:42:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Simon McVittie <smcv@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>.
(Sat, 29 Jan 2022 11:42:02 GMT) (full text, mbox, link).
Subject: Re: gnome-session: should manage session with systemd --user, if
available
Date: Sat, 29 Jan 2022 11:38:30 +0000
Control: found -1 40.1.1-2
Control: severity -1 normal
On Thu, 27 Jan 2022 at 20:23:36 +0000, Simon McVittie wrote:
> Recent-ish upstream versions of gnome-session have been able to manage the
> whole login session as a group of `systemd --user` services:
> https://wiki.gnome.org/Initiatives/SystemdUser
In fact gnome-session in stable already does this, and it appears
to have been disabled by mistake in testing/unstable. The patch
debian/patches/debian/Make-sure-to-pass-systemd-when-we-re-managing-the-user-se.patch
was removed about a year ago, but we're still configuring with
-Dsystemd_session=enable rather than -Dsystemd_session=default, which
means systemd --user session management is still opt-in but we're no longer
opting in.
With -Dsystemd_session=default, I believe we would now have the intended
semantics: users of dbus-user-session (the majority) get a systemd-based
session, and dbus-x11/sysvinit systems get the old code path.
smcv
Marked as found in versions gnome-session/40.1.1-2.
Request was from Simon McVittie <smcv@debian.org>
to 1004448-submit@bugs.debian.org.
(Sat, 29 Jan 2022 11:42:03 GMT) (full text, mbox, link).
Severity set to 'normal' from 'wishlist'
Request was from Simon McVittie <smcv@debian.org>
to 1004448-submit@bugs.debian.org.
(Sat, 29 Jan 2022 11:42:03 GMT) (full text, mbox, link).
Message sent on
to Simon McVittie <smcv@debian.org>:
Bug#1004448.
(Sat, 29 Jan 2022 12:36:03 GMT) (full text, mbox, link).
Subject: Bug#1004448 marked as pending in gnome-session
Date: Sat, 29 Jan 2022 12:33:22 +0000
Control: tag -1 pending
Hello,
Bug #1004448 in gnome-session reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:
https://salsa.debian.org/gnome-team/gnome-session/-/commit/214e34f798cc6b7c581ea5361e5b41190f6d2731
------------------------------------------------------------------------
d/rules: Configure with systemd_session=default on Linux
Prior to version 40.1.1-2, we were configuring with
systemd_session=enable, which compiled the implementation of systemd
session management but made it opt-in; and then we patched in an override
to run gnome-session with --systemd (the new opt-in code path) on systems
with systemd --user, or with --builtin (the old code path) otherwise.
40.1.1-2 removed the patch, but did not change the build-time
configuration, so systemd mode was still opt-in but we no longer
opted in. Complete this change by switching the default to systemd mode:
on Linux systems that have dbus-user-session, we will prefer systemd
mode, and on systems that do not (such as those using sysvinit) we'll
fall back to the old code path with a warning.
The old code path will not necessarily remain supported forever, since
one of the motivations for the systemd mode was to simplify GNOME
session startup.
Closes: #1004448
------------------------------------------------------------------------
(this message was generated automatically)
--
Greetings
https://bugs.debian.org/1004448
Added tag(s) pending.
Request was from Simon McVittie <noreply@salsa.debian.org>
to 1004448-submitter@bugs.debian.org.
(Sat, 29 Jan 2022 12:36:03 GMT) (full text, mbox, link).
Reply sent
to Simon McVittie <smcv@debian.org>:
You have taken responsibility.
(Sat, 29 Jan 2022 19:09:03 GMT) (full text, mbox, link).
Notification sent
to Simon McVittie <smcv@debian.org>:
Bug acknowledged by developer.
(Sat, 29 Jan 2022 19:09:03 GMT) (full text, mbox, link).
Subject: Bug#1004448: fixed in gnome-session 41.3-1
Date: Sat, 29 Jan 2022 19:04:09 +0000
Source: gnome-session
Source-Version: 41.3-1
Done: Simon McVittie <smcv@debian.org>
We believe that the bug you reported is fixed in the latest version of
gnome-session, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1004448@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Simon McVittie <smcv@debian.org> (supplier of updated gnome-session package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 29 Jan 2022 14:42:02 +0000
Source: gnome-session
Architecture: source
Version: 41.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Changed-By: Simon McVittie <smcv@debian.org>
Closes: 1004448
Changes:
gnome-session (41.3-1) unstable; urgency=medium
.
* Team upload
.
[ Jeremy Bicha ]
* New upstream release
* debian/rules: Drop unneeded -Wl,--as-needed
* Build-Depend on dh-sequence-gnome instead of gnome-pkg-tools
* Revert "Leave compatibility symlinks in /usr/lib/gnome-session".
This was no longer needed in either gdm3 or gnome-control-center
since before bullseye.
.
[ Simon McVittie ]
* d/rules: Configure with systemd_session=default on Linux.
On Linux systems that have dbus-user-session, we now prefer systemd
mode, as we did in bullseye (until it was accidentally disabled in
40.1.1-2). On systems that do not, such as those using sysvinit, we'll
fall back to the old code path with a warning.
The old code path will not necessarily remain supported by upstream
forever, since one of the motivations for the systemd mode was to
simplify GNOME session startup, but at the moment it still works.
(Closes: #1004448)
* Depend on default-dbus-session-bus | dbus-session-bus instead of
dbus-x11
* Standards-Version: 4.6.0 (no changes required)
Checksums-Sha1:
ca1943728a41245347866192698c051e55524a33 2658 gnome-session_41.3-1.dsc
cd0d99e1bbc4f0d0ebca52a301893e5adf95dddd 483396 gnome-session_41.3.orig.tar.xz
4a69d6aa7df7f38238e8bc44158d32d43c5cc557 36524 gnome-session_41.3-1.debian.tar.xz
32acbf6de4da85630cf5f7ef809570f38fbca292 14155 gnome-session_41.3-1_source.buildinfo
Checksums-Sha256:
4b70d5a62a463f8fe9e6ec61c9bcadb3efdd4a604ba38fa460700d4e09ae18e5 2658 gnome-session_41.3-1.dsc
ee4a229053f522624054889609335b885287cf67bbde0dc9fd882b01ec9b5b39 483396 gnome-session_41.3.orig.tar.xz
161969e60ec1f138c5401ff6d7ecdc457becd0ae303da8c2704cacd5bbcaf93d 36524 gnome-session_41.3-1.debian.tar.xz
5d2fc973b5362eecf9c64eed62c326a69217c0ed71a9db62b7e5807e47e2277e 14155 gnome-session_41.3-1_source.buildinfo
Files:
fa23b04efa950d82bb261e8288e609f9 2658 gnome optional gnome-session_41.3-1.dsc
f0ccb8a21871a7dce3c3b104fe33a31a 483396 gnome optional gnome-session_41.3.orig.tar.xz
39db36b45ab7303bf433f1727947148d 36524 gnome optional gnome-session_41.3-1.debian.tar.xz
082475d1d407a7b58d6bb52abdfa1fb1 14155 gnome optional gnome-session_41.3-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAmH1i8IACgkQ4FrhR4+B
TE/HRRAApIipqHf6JGtbmlaJ+u1lnE5sIMIV2wt8e3ei/ITzcvWKy2k/81jeqxf+
I+3Sw41Pw+kO9dD0WzWrmrL3/FeeYc4H4lJNmQ+WnPssDPUh//R4CwLeoftMzJNn
wtZtyqk5kDz90CqoOwAhjdSddAXcenpwsGS1jwijg84gIPz1Lexkz7K6CacwaoJ4
kRlPKIaU5uGnQU0dgcc/79+ljC3/MDCBlr+GnC9pJO5rHvNDUkfgXWyUjfRP9jlT
QZmMPmJSr9/hU/692suS1EFTu07fLRDA2fyPfHpfqXxxlzw1GiAaKXHpJbYia9Vf
noT0FK3F5evfqO/b84lIpNZFDexz0qDQa1g1vDXfCLLCefOYkAUIloJy0LiFXLXa
sc2Txfsf4itsDHovAgr4hEBFYS+03939ZPmIbwkvWhPPYHHNGMsS+tzG/KPnfTjJ
MaHsedkX/czBpjeOJDY/6xXCgFJHka890kCyl1V6gcRMeW17FQftFX+shWJKqaKd
ab8eiZzjQZZBSj70kzNb7x/j+vexwgaLFmFCfhYVZKTxcVSeUP9wdQFVmMKaf6+G
4vTcvIJGB1ww4qUXsWu9QtajtHbJmTs1/U/aZxvjtZNWKYwp3zl8ON4amTDzC3Vu
aL29NowK3HJhvaZQ4jcGaa4kE+equQlkJbwaXHe9tRCaQ/QLf0M=
=hpdQ
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 04 Mar 2022 07:25:33 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.