When suspending my laptop by closing the lid, systemd writes to all terminals (presumably with wall): Broadcast message from bmc@camp (Mon 2022-05-30 01:21:32 UTC): The system is going down for suspend NOW! This behaviour is relatively new and very much unwanted (as well as undocumented in the changelog, as far as I can tell). I have over 20 terminals open with tmux and must clear each and every one of them, possibly losing important information in the process. The only reason using wall in this way is acceptable when restarting or shutting down the computer is because the terminal will be gone in 60 seconds anyway and there's a risk of data loss. When suspending or hibernating, that's not the case and the user presumably performed that operation because they wanted things to be as they left them, including the contents of their terminals. This change should be reverted. If some people find it desirable, it should be made opt-in so as not to break things for existing users. As a reference, a thread on the fedora-devel mailing list[0] indicates that this is in logind. I confirmed that the code is there in the latest HEAD, but did not attempt to bisect or otherwise identify the cause. [0] https://www.spinics.net/lists/fedora-devel/msg300498.html
Am 31.05.22 um 00:33 schrieb brian m. carlson: See https://github.com/systemd/systemd/issues/23520 So far this seems to be affecting mostly users on the console or using a terminal based on libutempter (such as xterm).
We believe that the bug you reported is fixed in the latest version of
systemd, 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 1012155@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Biebl <biebl@debian.org> (supplier of updated systemd 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)
Format: 1.8
Date: Fri, 03 Jun 2022 19:37:06 +0200
Source: systemd
Architecture: source
Version: 251.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>
Changed-By: Michael Biebl <biebl@debian.org>
Closes: 993292 1009032 1012155
Changes:
systemd (251.2-1) unstable; urgency=medium
.
[ Michael Biebl ]
* New upstream version 251.2
- logind: do not print wall messages to local pseudoterminals
(Closes: #1012155)
* Rebase patches
* Fix parsing of command line options in fsckd (Closes: #1009032)
* Do not require a valid version when parsing sd-boot loader entries
(Closes: #993292)
* Add dpkg file trigger for systemd-binfmt to update binfmt registrations
* Use a single NEWS file shipped in the main systemd package
.
[ Luca Boccassi ]
* autopkgtest: add cryptsetup-initramfs for upstream suite.
Needed for https://github.com/systemd/systemd/pull/23517
Checksums-Sha1:
89a774668cf0cbfca412935bb0337408e9448052 5721 systemd_251.2-1.dsc
9b2cb81138ce2a347ecbeebb54124a23a78264a4 11434645 systemd_251.2.orig.tar.gz
dcff816f0cb6d77091c56468143af90efe4d1911 163340 systemd_251.2-1.debian.tar.xz
ab9f43c020873fcac0e29c3df4c0e10b310e0e9f 10450 systemd_251.2-1_source.buildinfo
Checksums-Sha256:
e0f2f80df433335d72f9260b860d3312ff7bdbdfd628e292170ab9a905c1825b 5721 systemd_251.2-1.dsc
5b371e824fe3e3128f2338b8db8cd37171f8e249eea88077eea468f73d833545 11434645 systemd_251.2.orig.tar.gz
2723048c97d4b1e013279c620a13b1f1503cf4998bf20eaa2b9ef89781220510 163340 systemd_251.2-1.debian.tar.xz
9eb376eb8b87e5c3f80992e4bf9ed30a3a588adf30e0a0a5548fabbb7cb7ddca 10450 systemd_251.2-1_source.buildinfo
Files:
09a1fa2da1c3cddff003e4c9cc1ba3bc 5721 admin optional systemd_251.2-1.dsc
b5cc5a46e80ab3aa25f8e15f763b05fa 11434645 admin optional systemd_251.2.orig.tar.gz
46aedbe4bb32ecd0481cbcfbefcaba67 163340 admin optional systemd_251.2-1.debian.tar.xz
8bfecd17b3b05aacc4668a6932c4cdf3 10450 admin optional systemd_251.2-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEECbOsLssWnJBDRcxUauHfDWCPItwFAmKaeBcACgkQauHfDWCP
ItzXvA/+NuccHF9BaEM+z2+77noh3h+8j/xkI927r6ZTrLqZGlK2Itwvx+CM+di6
GRER15lp81+8HRUBF7gPDnUj9W6U3RcaeKg20DFygXDI7eCP0RjfzRz4JlhselvT
s4jjITDjaGAb6fZBnFSXiNHWFOjot7j+OrV0Bhi4H3qQNRrvneuSFjnlxCCmcPiQ
UZ7CZCdPYSVlnCitH5HbQQwvwls8neGCPOUqxO2qW1AhMl9eG6kaz7ahZzVwzYEh
rzVW1n8v96NaORjYWHXaWHYDGlfn2TdDrCX6rJKaUI78JCqX2br7MFbAwL+mgXpa
O1APrKJBi6PZK0GoDFJT1NsMk3IMV37Jdbi4Do193X4RayWrP+puTit+ecKhZRPu
2x8bZ3q/0iNoBKld8ZtMbJ11lfQd6Zv10eJQQnJkm6BiLi99CRWK3/1uKtP4j+HA
0ZMUAGuJDr9uG9eXCqQBHipi4PO4/+wjlEe8GzyPr1S9WIcfFxuoJQ+GuoN3tvDs
uyf2SbcdHT9O04vVbhv58NMTJk+gw43grfAs8qJ/ZqL3oOkJ1OYjmotCKh5NqGiw
5KhJZzVwTF8HOyStpSlImzUmHHIE3yw9JHeLV/CsJUqWZipi73+R77hpCr0L0MIw
y0huVcZfQTAefojkFoXvPyC5x8Z8O+6T13ev5iieZ4RR2nRUiao=
=CU0B
-----END PGP SIGNATURE-----