Your message dated Wed, 22 Jul 2026 11:04:23 +0000
with message-id <[email protected]>
and subject line Bug#1137070: fixed in greetd 0.10.3-6
has caused the Debian Bug report #1137070,
regarding greetd: (sysvinit script) should not restart on upgrade
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.)


-- 
1137070: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1137070
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: greetd
Version: 0.10.3-5
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected]

Hello,
thank you for maintaining greetd on Debian :)

currently greetd, when used with sysvinit, is restarted on upgrade, because of
this snipped that is added by debhelper (dh_intallinit) in postinstall

# Automatically added by dh_installinit/13.28
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = 
"abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
        if [ -z "$DPKG_ROOT" ] && [ -x "/etc/init.d/greetd" ]; then
                update-rc.d greetd defaults >/dev/null
                if [ -n "$2" ]; then
                        _dh_action=restart
                else
                        _dh_action=start
                fi
                invoke-rc.d --skip-systemd-native greetd $_dh_action || exit 1
        fi
fi
# End automatically added section

usually restarting a display manager is disruptive (it crashes the running 
session)
so every other display manager just skips the restart action on upgrade;
also, greetd itself already skips the restart action for the systemd service.

skipping restart on upgrade can be done by overriding dh_intallinit in rules 
file,
as follow

diff -Naur ./greetd-0.10.3/debian/rules ./greetd-0.10.3-patched/debian/rules
--- ./greetd-0.10.3/debian/rules        2025-11-10 11:26:53.000000000 +0100
+++ ./greetd-0.10.3-patched/debian/rules        2026-05-19 07:19:16.790198750 
+0200
@@ -33,6 +33,9 @@
 override_dh_installsystemd:
        dh_installsystemd --no-stop-on-upgrade --no-start
 
+override_dh_installinit:
+       dh_installinit --no-stop-on-upgrade
+
 execute_after_dh_fixperms:
        chmod a-x debian/greetd/usr/lib/systemd/system/greetd.service

Optionally you can also add --no-start if you want to match more closely systemd
Please consider this change for the next greetd upload.

Best,
Lorenzo


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.17.9+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: runit (via /run/runit.stopit)

Versions of packages greetd depends on:
ii  adduser              3.155
ii  init-system-helpers  1.69
ii  libc6                2.42-16
ii  libgcc-s1            16.1.0-1
ii  libpam0g             1.7.0-5+b2

greetd recommends no packages.

Versions of packages greetd suggests:
pn  wlgreet  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: greetd
Source-Version: 0.10.3-6
Done: Marc Dequènes (Duck) <[email protected]>

We believe that the bug you reported is fixed in the latest version of
greetd, 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.
Marc Dequènes (Duck) <[email protected]> (supplier of updated greetd 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: Wed, 22 Jul 2026 19:48:46 +0900
Source: greetd
Architecture: source
Version: 0.10.3-6
Distribution: unstable
Urgency: medium
Maintainer: Marc Dequènes (Duck) <[email protected]>
Changed-By: Marc Dequènes (Duck) <[email protected]>
Closes: 1023982 1137070 1137075 1140127
Changes:
 greetd (0.10.3-6) unstable; urgency=medium
 .
   [ Andrew Bower ]
   * Identify service as providing -display-manager sysvinit facility.
 .
   [ Luca Boccassi ]
   + Stop deleting system user and group on purge (for security reasons).
   * Install and use sysusers.d/tmpfiles.d config files
 .
   [ Marc Dequènes (Duck) ]
   * Update PAM configuration to include common-* instead of login
     (Closes: #1140127).
   * Support display-manager selection for systemd and sysinit systems
     (Closes: #1023982, #1137075).
   * Do not stop on upgrade or start after install for sysinit too
     (Closes: #1137070).
   * Add status action to the init script.
   * Convert watch file to uscan format v5 (deb822).
   * Bump Standards-Version to 4.7.4 (no changes).
Checksums-Sha1:
 7c6b0215fb99cd537a6e59c340392cfe0384ab54 2230 greetd_0.10.3-6.dsc
 948533967b888dd9fc293526e20d7d58c551f22c 27300 greetd_0.10.3-6.debian.tar.xz
 9868092023ac9a990ee87e62bc27e8f663d14213 15318 greetd_0.10.3-6_amd64.buildinfo
Checksums-Sha256:
 bc3594c117dea95f3bf088da29091eea07aae19cdecf8daebee249c9ef8b7864 2230 
greetd_0.10.3-6.dsc
 8d2c7e922e71634a66b40d625f3f9a326b56cd304fb1733323d99434febadbd1 27300 
greetd_0.10.3-6.debian.tar.xz
 86874b7d6f359a740b088ccf3f114ca2ca63c135019024b76bd8d31f35b2f243 15318 
greetd_0.10.3-6_amd64.buildinfo
Files:
 cd32d35bf3120fd7e7194b21796906f2 2230 misc optional greetd_0.10.3-6.dsc
 8261f3e7e88c13f6b75b68403908c6fb 27300 misc optional 
greetd_0.10.3-6.debian.tar.xz
 ed996c014be883e05f8b1083ada437e4 15318 misc optional 
greetd_0.10.3-6_amd64.buildinfo

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

iQIzBAEBCgAdFiEEcpcqg+UmRT3yiF+BVen596wcRD8FAmpgoJ4ACgkQVen596wc
RD8jSA/+NHHL8Lp+UR21HBsv/bJaB/1Hx55ot4K025ZaDnnF1UAytzqzUZ+G2Uss
s0wR919wFBoJ8JBkz8iaAiL3/aP19aAofg2neM7j2ZKv0Aw8M/+VZhD0hRtkV+bW
lpJFHx7QkGBiIHvy9BzFweGRPGpmb0xi8hlClDfmGzStZ8j+8dL0LCrA4g7LfSlp
CUUDT5Y6RWIwy+EFsuzfyEP9iUgOVE+YOu7dAZ1BcHfGym0AgtwuDzuNK5yCUW6Q
QBMGSChV87QmbLHimu2pMnQoZRdKfmixMv0bKQucgPFIE5sRc33Bc2XICmvyskUI
2riqgm49EePMUKh9grcHC6Xy3t7AD9IQOsjgNKyweHs4GdriiGpm5AvMc4GIhvfX
mQEt37q+6klHm79JcQazKgr+PSSa4UCctXa9wrATUe4SI5x/fOq04ANcSpkpPWLe
QcTCkY3BW7IuDrlj6W/hS2HItOvzI2gkQ02THxBx/Tl2sQajfRUToBC/62WQ9qXU
7En6zuuV/2UdwdDmXrc7HUg85zMb74929dJ4mfBtakS+ebbsFbWCB4t2O4HVbxOw
YFNRslo8sGQ4/n5YdAJkYwq8I9DmhLCAOpufeMh6rjGe0DfofJ4CMhVmo38SJL/5
MDV4b1aO8hcm4dqNj/dgphYr97+OSA4A7aiEtNOAeoyBdGqhtmE=
=5LER
-----END PGP SIGNATURE-----

Attachment: pgpOT099XO4Vq.pgp
Description: PGP signature


--- End Message ---

Reply via email to