Your message dated Sun, 13 Sep 2026 08:48:50 +0000
with message-id <[email protected]>
and subject line Bug#1142730: fixed in debhelper 14.4
has caused the Debian Bug report #1142730,
regarding dh_installsystemduser: Debhelper 14 and restart all user services
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1142730: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1142730
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: debhelper
Version: 14.3
Severity: important
X-Debbugs-Cc: [email protected]
Control: affects -1 plasma-workspace
Control: block 1142512 by -1

Hey,

ISSUE
-----

We switched to Debhelper 14 we end up that plasma-workspace breaks for
several users (#1142512). The reason is that Debhleper 14 automatically
restarts user sservices. After investigating the issue we end up, that
it is a unhappy combination of dh_installsystemduser stanzas. And only
users running a X11 session while trigger the update are affected.

Three services have a [ install ] - section in their service file so
dh_installsystemduser enables those services. So far so good, that was
the default for Debhelper 13, too and never triggered an issue.

plasma-kcminit.service
plasma-ksmserver.service
plasma-plasmashell.service

With Debhelper 14 the automatic restart of all user services was added
(if they are running or enabled).
So because those three services are enabled in the first step, the
service restart behaviour now starts those services. In the end you get
a plasmashell on top of XFCE, not that expacted ;) Additionally for
users running a KDE Plasma on X11 will break their session. A restart on
wayland don't break anything, but never the less those three services
get started.

Maybe a unrelated issue I see is that the grep for a install section is too
simple to trigger enable of a service. At least plasma-kcminit.service
only has an alias in the install - section. From my understanding this
alias does not need any file or symlink to be created, to be useful, so
a enable stanza should not been added for this service.

THOUGHTS
---------

At least the start of unstarted services should not happen, if the target,
they are part of, is not started.

For me it looks unsafe to just restart any user service while upgrading
without asking the admin (who execute the upgrade).
At least on KDE Plasma uses a lot user services and restarting them may
break the Desktop, as seen here. Restarting gpg or wireplumber service
without consent is also not a good idea, as it breaks a working user.

Wouldn't be the proper solution in extending the "service restart dpkg
trigger" to care also about user services? This helper already knows
about outdated user services, that needs a restart.

Regards,

hefee


-- System Information:
Debian Release: forky/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (100, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.1.3+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages debhelper depends on:
ii  autotools-dev            20240727.1+nmu1
ii  dh-autoreconf            22
ii  dh-strip-nondeterminism  1.15.1-1
ii  dpkg                     1.23.7
ii  dpkg-dev                 1.23.7
ii  dwz                      0.17-1
ii  file                     1:5.47-4
ii  libdebhelper-perl        14.3
ii  libdpkg-perl             1.23.7
ii  man-db                   2.13.1-1
ii  perl                     5.40.1-8
ii  po-debconf               1.0.22

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  2.202601

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: debhelper
Source-Version: 14.4
Done: Niels Thykier <[email protected]>

We believe that the bug you reported is fixed in the latest version of
debhelper, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niels Thykier <[email protected]> (supplier of updated debhelper 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 13 Sep 2026 08:22:22 +0000
Source: debhelper
Architecture: source
Version: 14.4
Distribution: unstable
Urgency: medium
Maintainer: Debhelper Maintainers <[email protected]>
Changed-By: Niels Thykier <[email protected]>
Closes: 114716 1142220 1142577 1142730 1144222
Changes:
 debhelper (14.4) unstable; urgency=medium
 .
   [ Jeremy Bícha ]
   * meson: Use meson install --no-rebuild by default for compat 14+
     (Closes: #1142577)
 .
   [ Athos Ribeiro ]
   * Improve automated substvar injection documentation
 .
   [ Charles Plessy ]
   * Note that `dh_installdocs` does not copy empty files.
 .
   [ Johannes Schauer Marin Rodrigues ]
   * autoscripts/postinst-init-nostart: missing DPKG_ROOT
 .
   [ Niels Thykier ]
   * dh_installsystemduser: Avoid warnings when unit is declared unrestartable
   * dh_computeautosubstvars: Improve auto-detection for Commands field
     (Closes: #114716)
   * Revert "Remove mention of `single-binary` from compat 15 - it happens in 
14"
   * Improve warning message for implicit `single-binary` addon.
     Thanks to Andrey Rakhmatullin <[email protected]> and
     Jeremy Bicha <[email protected]> (Closes: #1144222)
 .
   [ Luca Boccassi ]
   * upgrade-checklist: update note on user units handling (Closes: #1142730)
 .
   [ Américo Monteiro ]
   * Update on Portuguese translation of the man pages (Closes: #1142220)
Checksums-Sha1:
 deb8dc56d0dba36ecdf08038487e14cc4fa689e1 2067 debhelper_14.4.dsc
 b86dfa035ba1da095380fa6ab0101f0ff5aa2b57 645328 debhelper_14.4.tar.xz
 6638ccd38f7f0ef7a206db087b4ca99c32cb9b6c 1622384 debhelper_14.4.git.tar.xz
 6df7c78e156f5a4584d811219d5d4e8955d06c0d 17664 debhelper_14.4_source.buildinfo
Checksums-Sha256:
 9bcf51963b823ab407e68b5c3226f5c5c6b00fc41a7328bc5dbab6ee23ec2b0b 2067 
debhelper_14.4.dsc
 be99f71963922d0145226c850d64ec8bdc4763ddf22bf1ebeb332a7c92ed0cf4 645328 
debhelper_14.4.tar.xz
 4808200e3595d9f4a5175822fc13a0f9bb0646a5567d10c56f48ef30c4416a08 1622384 
debhelper_14.4.git.tar.xz
 298ffb02c8f96cc38261a77ba17a8e84230851d3f79a9135500bedd2dc7b07a5 17664 
debhelper_14.4_source.buildinfo
Files:
 05ff7670483383104193db0a60703091 2067 devel optional debhelper_14.4.dsc
 3a07789f5d16e6ac17bc786eff5e2077 645328 devel optional debhelper_14.4.tar.xz
 b79bfbea6741dd7548f8e1f540b95cac 1622384 devel None debhelper_14.4.git.tar.xz
 5608a67ecf820a2f3811808a9265ba25 17664 devel optional 
debhelper_14.4_source.buildinfo
Git-Tag-Info: tag=b9e00110a663af49f234d3a10bf49e24fba4a289 
fp=f5e7199aef5e5c67e555873f740d68888365d289
Git-Tag-Tagger: Niels Thykier <[email protected]>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmqmXlkACgkQYG0ITkaD
wHkACg/+PYr459x4q4bTq2x3+7ukqjOJWZMeuHQu07Q4Wt/0BSbvI+4W2HnPhoGZ
6Nuw3sEoWjENBQAFro0pThGgOn3H+NDMVule4h1tMMnFLsRPPqnUrJq3Bf+2VHIN
G0S+k/7rTUQ3HnLK9Ikr2LqrgRtMkV4syCAC9jHsgl7i5w5+RDWDGrtpFY5fqeWn
XHMCZyxIJhcI9705UfD9dd3k1Sv6oQpTnkfAXu3Hq6crPNSQrejABWhxE3nAFTsV
Yi0VMZG40B6YXuoUjlp8USRhaOW6Pf+Asuf8/f23UcduiRycZWkshzjraP67ltbq
rNQvTMr6o0Yp41esT6hQrz4xi9M57nL9OI18ENc1Bykit0kX6tO1S2SAHo7w0Q7B
NAQ1XN+w1eRmly1V1/1TJYfh1liM+TTYt1a9q0jknjdEYFvgCjqHmNKpFya2h1nu
ofTAa9nv+nDmlvE2aNDbuYvz4YefLoQL/3X5wMmjML2SHvwepC0+oztbDt4d1sKn
I0+5YWyQ4snZ+XInPCreWp6xdFe4iZ08kSquVW3FbrsvsFbiTzZsqVsHpbAnOAlM
Ucxfm8ORpSNyuT9W8UhSt603U4hniO0aQJNncCFcsJNuFWJbwKYS1wx1fQtiJeIY
XtxkCENHhBK30EDC5pYMEMsXkiSXnDo7a6I38mEpmxBZ6cNY9dw=
=iqg0
-----END PGP SIGNATURE-----

Attachment: pgptzyZcpH56w.pgp
Description: PGP signature


--- End Message ---

Reply via email to