Your message dated Fri, 28 Mar 2025 08:34:21 +0000
with message-id <[email protected]>
and subject line Bug#1042008: fixed in needrestart 3.9-1
has caused the Debian Bug report #1042008,
regarding xrdp: Please add an override for needrestart to avoid accidentally 
breaking apt upgrades
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.)


-- 
1042008: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042008
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xrdp
Version: 0.9.21.1-1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

XRDP should be integrated with needrestart so that the default behaviour of 
NeedRestart::UI::Debconf’s dialogs becomes safer. Currently, the xrdp and 
xrdp-sesman services are selected automatically for restarting when 
libraries affecting running desktop packages in xrdp session are updated. 
This is unlike all normal local display managers, which have a specific 
exemption because the user might be running their system upgrade from a 
graphical session.

   $ cat /etc/needrestart/needrestart.conf
   [...]
   # Override service default selection (hash of regex).
   $nrconf{override_rc} = {
      [...]
      # display managers
      qr(^gdm) => 0,
      qr(^kdm) => 0,
      qr(^nodm) => 0,
      qr(^sddm) => 0,
      qr(^wdm) => 0,
   [...]

These overrides prevent the upgrade getting accidentally terminated should 
the admin applying the upgrade click through the dialogs without looking, 
by giving them safe default behaviour.

This hash defined in the main conffile can be extended to support 
additional service regexes with a drop-in conffile stub:

   $ cat /etc/needrestart/conf.d/xrdp.conf
   # Ensure that the xrdp display manager isn’t offered for restart.
   $nrconf{override_rc}{qr(^xrdp)} = 0;

This causes the XRDP services to be initially *deselected* in the 
needrestart dialogs that are hooked by apt, instead of *selected* 
initially. This is safer because clicking through the needrestart dialog 
does not cause an apt or apt-get launched in a graphical session to 
terminate when xrdp restarts. Xrdp becomes like any other graphical display 
manager.

(Brought to you by me having to remember to do this every time. Sometimes I 
am lazy and, well, oops.)


   many thanks,
   Andrew

--- End Message ---
--- Begin Message ---
Source: needrestart
Source-Version: 3.9-1
Done: Patrick Matthäi <[email protected]>

We believe that the bug you reported is fixed in the latest version of
needrestart, 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.
Patrick Matthäi <[email protected]> (supplier of updated needrestart 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: SHA256

Format: 1.8
Date: Fri, 28 Mar 2025 09:08:16 +0100
Source: needrestart
Architecture: source
Version: 3.9-1
Distribution: unstable
Urgency: medium
Maintainer: Patrick Matthäi <[email protected]>
Changed-By: Patrick Matthäi <[email protected]>
Closes: 1017417 1030843 1042008 1098809
Changes:
 needrestart (3.9-1) unstable; urgency=medium
 .
   * New upstream release.
     - Remove merged patch 11-core-fix-regression.
     - Added override for lxc.
       Closes: #1017417
     - Added override for xrdp.
       Closes: #1030843
     - Print executable in verbose mode.
       Closes: #1042008
   * Bump Standards-Version to 4.7.2.
   * Add apt to build depends.
     Closes: #1098809
Checksums-Sha1:
 bdfe76da06b41a745972e508b5dd2aa64babfec1 1825 needrestart_3.9-1.dsc
 55251cdf6c7bb424e92d28065cbcf58bf2815684 79561 needrestart_3.9.orig.tar.gz
 29307e13cbc08c01fd00b433d4a8e37221d2f90f 12440 needrestart_3.9-1.debian.tar.xz
 ab49cce27beee9dffb27c6892d0585ecd6c875c8 6846 
needrestart_3.9-1_source.buildinfo
Checksums-Sha256:
 7712b69f0f0d9f86d2e10770f1a36a271ab16092113c2e2b69c87dc61b01aa8e 1825 
needrestart_3.9-1.dsc
 709f4ac9e87483fc7cb1887c5720f671e1f9a509ad92b99a5dc6bb3189592cda 79561 
needrestart_3.9.orig.tar.gz
 01a3d350cfa49111a8f64a0949c0e5138e99809d301788327e1860d7a21a3bdf 12440 
needrestart_3.9-1.debian.tar.xz
 b44b5583c627180a5379d5b1d970fa9d5635d3532ef6071fc36b0ec8e5aa0de1 6846 
needrestart_3.9-1_source.buildinfo
Files:
 2b7ee689df80659a7e6d8485156b5e8e 1825 admin optional needrestart_3.9-1.dsc
 f4293c04b29009cc393908c97ccc521a 79561 admin optional 
needrestart_3.9.orig.tar.gz
 f746263806fcf3bf6ed9b30aa09808af 12440 admin optional 
needrestart_3.9-1.debian.tar.xz
 182748dbd5f492a23305e1907b8ca9ad 6846 admin optional 
needrestart_3.9-1_source.buildinfo

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

iQIzBAEBCAAdFiEEWKA9xYJCWk3IuQ4TEtmwSpDL2OQFAmfmWggACgkQEtmwSpDL
2OS+ng//eDhPpGaxQCHKx2B8slGhs9CntcmOqV8blYp57ajZ2N3Md0pUmXpMt9pM
Oqr0aUyvI2ksAU2ehgpAa4F1WuVSjq5LSTKy6qHzFlNncK/BafDyNfX6mXiPKkUh
G3taACQIXYgEPbPZXJDtz5qqDEcjJLlD4WZB8FFgETcrbS9rAqXzpR656uarSO0q
nPFR1cGy97NDNZqF5gFWWI/uMSYomUALvPsipnL/Rv+wgDtakdlfPcbnGJyDD5gX
2QO6Hhi9x5stQE8LERwNo2j6R9zTHbRv9YhxqO25yv7VlkrswYVUcvm1qNlV6oI5
DuqHQb4Q0thiOMbn7uVvbbIlPI05zeYmk7H6ZY/hEVTJfv9AUOORmperL7wliimI
Z4R+OzGnuobx1pMAsybWOGeV7XifFyRT7RbRKcDo56ghA0A4M9/QOdaVklzjaJrL
i6gFZfx2oc3GtYAPA+ymApYgo7CWVPst3Pmi56eGldKq0H1ROmBSIbDTtp4eDSvM
5OeEwKXBcBt4aUhdVIZ6vOFrXMzlA733QIUSLg60jlpe+hBXDyS3iCLAzT7I2T08
zD7x356prqhF0uymPzycPebVh+eFOIpkDgOqSRWwndn+1vag6Zk3lkqhXD9w1IUE
HefLW83psAUiIyDBZAiTp8uws1H0Iaht4sQulLiJfJa6DaUg3hQ=
=vsu+
-----END PGP SIGNATURE-----

Attachment: pgphROKMhfdOs.pgp
Description: PGP signature


--- End Message ---

Reply via email to