#1144676 Upgrading gnome-terminal kills existing terminals

Package:
gnome-terminal
Source:
gnome-terminal
Description:
GNOME terminal emulator application
Submitter:
Josh Triplett
Date:
2026-08-18 11:35:02 UTC
Severity:
normal
#1144676#3
Date:
2026-08-18 03:52:58 UTC
From:
To:
With previous versions of gnome-terminal, upgrading would take effect on
a subsequent run of gnome-terminal, but would not interrupt existing
terminals. However, with the new version of gnome-terminal, upgrading
kills all open gnome-terminal sessions; it appears that it restarts the
systemd user unit.

Please consider changing this to stop killing running terminals, which
may have valuable data or context in them.

#1144676#8
Date:
2026-08-18 08:56:41 UTC
From:
To:
Control: severity -1 serious

This is probably a side-effect of the debhelper compat level bump to 14,
which restarts systemd user units by default. I agree that this is
undesirable for the specific case of a terminal emulator, and I don't
think the package should migrate to testing until this is fixed.

I now wonder whether gnome-console has the same bug?

ptyxis (the default terminal emulator in new installations of Debian
testing with GNOME) doesn't, but probably only because it hasn't been
migrated to compat level 14 yet. We should be careful not to introduce
that bug when it does move to compat level 14.

     smcv

#1144676#15
Date:
2026-08-18 09:31:43 UTC
From:
To:
It does not, because gnome-console doesn't ship a systemd user service,
only a D-Bus session service. So this is only a gnome-terminal bug right
now (but we should be careful not to introduce it into ptyxis or
gnome-console later).

     smcv

#1144676#20
Date:
2026-08-18 11:13:48 UTC
From:
To:
Do you want me to do a new gnome-terminal upload to switch it back to
debhelper compat 13 now?

Can we think of any other GNOME packages that we would not want to
update to debhelper compat 14 until we implement a workaround?

Thank you,
Jeremy Bícha

#1144676#23
Date:
2026-08-18 11:22:59 UTC
From:
To:
Hello,

Bug #1144676 in gnome-terminal 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/extras/gnome-terminal/-/commit/c799b6ce80144a79fe7458a74c72a8142946e808
------------------------------------------------------------------------
Revert "Update debhelper compat to 14"

In debhelper compat level 14, systemd user services are restarted on
upgrade, and unlike system services there is currently no way to
configure this not to happen. We don't want all running terminals to
exit during an upgrade.

This reverts commit 8a7cccd5b0a1e511084daf74185f28d08b736081.

Closes: #1144676
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1144676

#1144676#30
Date:
2026-08-18 11:26:01 UTC
From:
To:
No need, I already uploaded one. (diffoscope says there's no functional
change other than the maintainer scripts.)

Anything that has a systemd user service, where it would be a serious
problem for that service to restart when upgraded. (gnome-shell!)

If in doubt, test the upgrade by installing it locally (a "live"
upgrade, not a reboot-to-upgrade), and if your session survives, it's
probably OK.

     smcv

#1144676#35
Date:
2026-08-18 11:33:58 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gnome-terminal, 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 1144676@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-terminal 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: Tue, 18 Aug 2026 12:22:02 +0100
Source: gnome-terminal
Architecture: source
Version: 3.60.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian GNOME Extras Maintainers <pkg-gnome-extras-maintainers@lists.alioth.debian.org>
Changed-By: Simon McVittie <smcv@debian.org>
Closes: 1144676
Changes:
 gnome-terminal (3.60.0-4) unstable; urgency=medium
 .
   * Team upload
   * Revert "Update debhelper compat to 14".
     In debhelper compat level 14, systemd user services are restarted
     on upgrade, and unlike system services there is currently no way to
     configure this not to happen. We don't want all running terminals
     to exit during an upgrade. (Closes: #1144676)
   * Disable dh_dwz, consistent with debhelper compat level 14 defaults
Checksums-Sha1:
 53cdb28abfdbdaf71fe3229980b3ecb8ce9d95a5 2957 gnome-terminal_3.60.0-4.dsc
 ac3d6ec692eb07193f8d5683dcd9efc3c110b329 31420 gnome-terminal_3.60.0-4.debian.tar.xz
 99db53212fb643d57dd12bee9089eb7e5bb84aa1 5084580 gnome-terminal_3.60.0-4.git.tar.xz
 797a24bf819b5027b8225567bd02cca781c55017 17584 gnome-terminal_3.60.0-4_source.buildinfo
Checksums-Sha256:
 bd194a2452544599f7dad1d04f793ee6f60d24e166c5ed4cdb17f5343ff4332e 2957 gnome-terminal_3.60.0-4.dsc
 83bd7b8a53f10eaa63987f7d8d7f1644374c664aedea818630669960e67cdf06 31420 gnome-terminal_3.60.0-4.debian.tar.xz
 cafd39c4a24bd6affcbf8f2905034bc5a78f5e1a2bcfe33a66839346ee9b7f1a 5084580 gnome-terminal_3.60.0-4.git.tar.xz
 253b5c98d94589d937868fd25c0ab22bd7dc0794b5ad35cd98eec241f4e57bee 17584 gnome-terminal_3.60.0-4_source.buildinfo
Files:
 940e539972fe0b427d63eaa291b3bfe1 2957 gnome optional gnome-terminal_3.60.0-4.dsc
 233a897f8b0c16c113b83bf3c92f8147 31420 gnome optional gnome-terminal_3.60.0-4.debian.tar.xz
 309368b8f55ba37d00aeaaebde608504 5084580 gnome None gnome-terminal_3.60.0-4.git.tar.xz
 d9582c0a6d226cfac8d3577e90fb8844 17584 gnome optional gnome-terminal_3.60.0-4_source.buildinfo
Git-Tag-Info: tag=9ae38cdf864658eeb0a4fe7468b8b8a5caded94d fp=7a073ad1ae694fa25bff62e5235c099d3eb33076
Git-Tag-Tagger: Simon McVittie <smcv@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmqEQNwACgkQYG0ITkaD
wHlhJQ//Q+ayyckIEyhdeP/XIUAg+7RiF3pDvOBkUikO/5iS6NnAhvPpsThYpDmg
JKIKoVSn1Nb+2Zqt1K4InAprqs/zzdiePR0oAj7RY/Amz+l5AFQIKfsS6IKxQw/0
LIknLbyrYnY4i2rslviAPxmoVm7QXMxqeVmJoyRmJ86C+ic/q6QQ15mPP3K+cOvs
dk8rndEc9pebPxvc8NSpL8NifGDuggZ7JP4wJfZd2AULJHSwss+Psygfn6BbWx+M
Vv/+KTMtSnbU3jpdmsui/MR/t8/GEc7Jy4Kj4M40HBSpqrLIsrTJnNE2/jTk35oz
2E010hQCSjbdMqWF1L4j0abYmcAwPTcnQVjZn1xKb4dnnw2bBNJiCIKfzkhw1BUf
ycJfq6ziSTkO93jGYuNBLVD66njN3dYu064f5hQ3KZwZGAtjLPw/mPtvD0+3dfwr
uJs02L13sGn3HRJHv9fQbQ+dophYeVJlOdzTX+VvJ6HSy/SqE20hfCqh7NdRoInG
L75ziM9eAUJpA/TL6tTMld0kwjX4n3iJDtXFjDsObV2sgnRH/nPlQhUkeOMe5ggO
NbbsbYe2OBAplZUiCmFG18oOLFpiShKH0QWwLBXVfMfY41GKuP0IILruT7kO8v2A
qRHGxGtB+uWCRmm9awz6JKw/2iRIdYsqRdB73Zkw1O5wWnD9n+8=
=L2g8
-----END PGP SIGNATURE-----