Your message dated Sun, 13 Nov 2022 05:05:25 +0000
with message-id <e1ou5bn-0041au...@fasolo.debian.org>
and subject line Bug#1023318: fixed in screen 4.9.0-3
has caused the Debian Bug report #1023318,
regarding screen: re-adds /usr/bin/screen to /etc/shells 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 ow...@bugs.debian.org
immediately.)
--
1023318: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023318
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: screen
Version: 4.9.0-2
Tags: patch
Severity: serious
Justification: Debian policy 10.7.3
When upgrading or reinstalling screen, it adds /usr/bin/screen to
/etc/shells even if one locally removed it there. Such behaviour
violates Debian policy section 10.7.3. I propose managing the entry
declaratively using dpkg triggers and am attaching a patch for your
convenience.
Helmut
diff --minimal -Nru screen-4.9.0/debian/changelog screen-4.9.0/debian/changelog
--- screen-4.9.0/debian/changelog 2022-08-24 03:45:18.000000000 +0200
+++ screen-4.9.0/debian/changelog 2022-11-02 10:03:05.000000000 +0100
@@ -1,3 +1,10 @@
+screen (4.9.0-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Update /etc/shells using dpkg triggers. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de> Wed, 02 Nov 2022 10:03:05 +0100
+
screen (4.9.0-2) unstable; urgency=medium
* Add patch to fix bash example in man page. (LP: #1986839) Thanks to
diff --minimal -Nru screen-4.9.0/debian/control screen-4.9.0/debian/control
--- screen-4.9.0/debian/control 2022-08-23 19:15:25.000000000 +0200
+++ screen-4.9.0/debian/control 2022-11-02 10:03:05.000000000 +0100
@@ -18,7 +18,8 @@
Package: screen
Architecture: any
Depends: ${misc:Depends},
- ${shlibs:Depends}
+ ${shlibs:Depends},
+ debianutils (>= 5.3-1~)
Suggests: byobu | screenie | iselect (>= 1.4.0-1),
ncurses-term
Description: terminal multiplexer with VT100/ANSI terminal emulation
diff --minimal -Nru screen-4.9.0/debian/rules screen-4.9.0/debian/rules
--- screen-4.9.0/debian/rules 2021-08-05 15:30:52.000000000 +0200
+++ screen-4.9.0/debian/rules 2022-11-02 10:03:02.000000000 +0100
@@ -63,6 +63,7 @@
rm -f $(ROOT)/usr/share/info/dir*
# Remove documentation from udeb
rm -rf $(ROOT_UDEB)/usr/share/info $(ROOT_UDEB)/usr/share/man
+ install -D -m644 debian/shells
$(ROOT)/usr/share/debianutils/shells.d/screen
override_dh_installinit:
dh_installinit --no-start --init-script=screen-cleanup
diff --minimal -Nru screen-4.9.0/debian/screen.postinst
screen-4.9.0/debian/screen.postinst
--- screen-4.9.0/debian/screen.postinst 2021-02-23 11:18:41.000000000 +0100
+++ screen-4.9.0/debian/screen.postinst 2022-11-02 10:00:59.000000000 +0100
@@ -30,8 +30,6 @@
if [ ! -e $servicefile ]; then
ln -s /dev/null $servicefile
fi
-
- add-shell /usr/bin/screen || true
fi
#DEBHELPER#
diff --minimal -Nru screen-4.9.0/debian/screen.postrm
screen-4.9.0/debian/screen.postrm
--- screen-4.9.0/debian/screen.postrm 2021-02-18 09:51:15.000000000 +0100
+++ screen-4.9.0/debian/screen.postrm 2022-11-02 10:01:12.000000000 +0100
@@ -13,8 +13,4 @@
rmdir -p --ignore-fail-on-non-empty /lib/systemd/system
fi
-if [ "$1" = disappear ]; then
- remove-shell /usr/bin/screen || true
-fi
-
#DEBHELPER#
diff --minimal -Nru screen-4.9.0/debian/screen.prerm
screen-4.9.0/debian/screen.prerm
--- screen-4.9.0/debian/screen.prerm 2021-02-18 09:51:15.000000000 +0100
+++ screen-4.9.0/debian/screen.prerm 1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-#!/bin/sh
-set -e
-
-if [ "$1" = remove ] || [ "$1" = deconfigure ]; then
- remove-shell /usr/bin/screen || true
-fi
-
-#DEBHELPER#
diff --minimal -Nru screen-4.9.0/debian/shells screen-4.9.0/debian/shells
--- screen-4.9.0/debian/shells 1970-01-01 01:00:00.000000000 +0100
+++ screen-4.9.0/debian/shells 2022-11-02 10:02:02.000000000 +0100
@@ -0,0 +1 @@
+/usr/bin/screen
--- End Message ---
--- Begin Message ---
Source: screen
Source-Version: 4.9.0-3
Done: Axel Beckert <a...@debian.org>
We believe that the bug you reported is fixed in the latest version of
screen, 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 1023...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Axel Beckert <a...@debian.org> (supplier of updated screen 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 13 Nov 2022 05:09:57 +0100
Source: screen
Architecture: source
Version: 4.9.0-3
Distribution: unstable
Urgency: medium
Maintainer: Axel Beckert <a...@debian.org>
Changed-By: Axel Beckert <a...@debian.org>
Closes: 1023318
Changes:
screen (4.9.0-3) unstable; urgency=medium
.
[ Helmut Grohne ]
* Update /etc/shells using dpkg triggers. (Closes: #1023318)
.
[ Axel Beckert ]
* Update Helmut's patch to use more debhelper style file installing.
* Drop lintian overrides for false positives fixed in Lintian.
Checksums-Sha1:
e041993b2cc357e43e38aa84c543495bb869f8af 2294 screen_4.9.0-3.dsc
ed96c08a5eb6ce73ad52fbde8e4e07e15757047c 46476 screen_4.9.0-3.debian.tar.xz
505e5229c68b558fbd030e0b60b85055da673978 7038 screen_4.9.0-3_source.buildinfo
Checksums-Sha256:
3d28858091c8873c121e9080002d51aef2919bb9352b65a2da249e95be8ca0db 2294
screen_4.9.0-3.dsc
99af2a531ac3f8528c1411fa8762452a284de335dac93bfb848c34cfbd87aaba 46476
screen_4.9.0-3.debian.tar.xz
cc2feb70a9eca547e72aa9b01ae2748e411d633ecc1c1bec1beafb3e39209d23 7038
screen_4.9.0-3_source.buildinfo
Files:
554b4b005604ce48b78d181a2859658e 2294 misc standard screen_4.9.0-3.dsc
f97ea135bf3f4d97fbd9042878563890 46476 misc standard
screen_4.9.0-3.debian.tar.xz
2eee4d86a5cb36ffba604c58072e9c38 7038 misc standard
screen_4.9.0-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEERoyJeTtCmBnp12Ema+Zjx1o1yXUFAmNwb3kACgkQa+Zjx1o1
yXWhnw//Zwh5mGW6Nvp8+Kb7q1UZYspBItNcE3VQuEczGIQpxcahADA+Zc7aq04K
Kz55iYUZCf3hEv4ZK4mhomCS5tzL0OvW5i3j/yt0G92Oot7tLUCCP/gt3FWzuJLQ
EllB42co0+L2pUY06Nhm9mb7qW3lU9A4H+ZqKNRuZfPloLIeKspmsj/tTjMhu0Uq
+JxUnWx1Ax34evf2j/SPRp0FPazyUCUBpHqTlqV+IJMvZK4cDybr+x6bO7E/lME1
61w6T38SoAFqFK2UJF3klAEShIEIplpu08LhPBmveY+SshzRLoo0fvJMrEksXa2Q
jcIopImCrJeldQSR1Ez4axIZZ3tiMq3yN+kEBg+lKpnVcIGwJ8G2E1aygpMuJVik
ZmOdncBCpD6iQqPNIpE7o57Giv0Pkps+zfH8I9tWqMuzIzXvP9xL1zLLXcVqmpBr
cKaah0vwqh5dQxMCyUA1j35aCkZMKUamunNDkHTe9vVW7M5EkgfrYJN4oH6INepb
Sxz44X4e4gsTON1iWuDocu9nM2YpbcMA41Wrap5UhR8S/r/bWYf1x8VbSR5uzY4d
sti4Y/uLp6Zbs6m06vF0p/yUstcYf9MWdSqXQr/VMBS2IoZnkUYnuAd7I3SeLT2N
am3n7KPdkpwt6qM3rw9HE/zO8Vw97h4cvSShXwIsU9V3bh8f1BI=
=qB1V
-----END PGP SIGNATURE-----
--- End Message ---