Your message dated Fri, 13 Jan 2017 18:20:16 +0000
with message-id <e1cs6sw-000djm...@fasolo.debian.org>
and subject line Bug#770052: fixed in xvt 2.1-20.3
has caused the Debian Bug report #770052,
regarding xvt: Uses absolute obsolete path for dpkg-statoverride
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.)


-- 
770052: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770052
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: xvt
Source-Version: 2.1-20.1
Severity: important
Tags: patch

Hi!

This package is using obsolete absolute paths when stating or calling
dpkg-statoverride. This has been a compatibility symlinks for a while
and got removed in dpkg 1.17.0, I'll reintroduce it in dpkg 1.17.22 but
will be removing it again in 1.18.x.

Please stop using absolute paths in maintainer scripts, as they will
suffer this kind of problem. For more info please see:

<https://lintian.debian.org/tags/command-with-path-in-maintainer-script.html>

although that lintian check does not currently trigger for this issue,
but it should.

Attached a patch fixing this, by always assuming that dpkg-statoverride
is present, which has been true for a very long time now.

Thanks,
Guillem
diff --git a/debian/postinst b/debian/postinst
index 777c1bb..565a7c4 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -14,8 +14,7 @@ update-alternatives --install /usr/bin/x-terminal-emulator \
                             /usr/share/man/man1/xvt.1.gz
 
 setgid() {
-  if ! [ -x /usr/sbin/dpkg-statoverride ] || \
-      ! dpkg-statoverride --list "$1" >/dev/null ; then
+  if ! dpkg-statoverride --list "$1" >/dev/null ; then
     chown root:utmp "$1"
     chmod 2755 "$1"
   fi

--- End Message ---
--- Begin Message ---
Source: xvt
Source-Version: 2.1-20.3

We believe that the bug you reported is fixed in the latest version of
xvt, 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 770...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <b...@debian.org> (supplier of updated xvt 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: Fri, 13 Jan 2017 19:54:47 +0200
Source: xvt
Binary: xvt
Architecture: source
Version: 2.1-20.3
Distribution: unstable
Urgency: medium
Maintainer: Sam Hocevar (Debian packages) <sam+...@zoy.org>
Changed-By: Adrian Bunk <b...@debian.org>
Description:
 xvt        - X terminal-emulator similar to xterm, but smaller
Closes: 770052
Changes:
 xvt (2.1-20.3) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Apply dpkg-statoverride fix from Guillem Jover. (Closes: #770052)
Checksums-Sha1:
 eb576b5eda8df9f02c4d36e0aa513adce6841266 1691 xvt_2.1-20.3.dsc
 04df424abd5ca47cbce16ea29b9dcec4729be901 12634 xvt_2.1-20.3.diff.gz
Checksums-Sha256:
 39bdbf91bdb6dd93d44f099924a27f177742a8ed20b49f66e4015d33e358d4c4 1691 
xvt_2.1-20.3.dsc
 af29fcb8a3691f5b49e39b1cc994376e73ca5bcac9a9331c13cfa13816d11693 12634 
xvt_2.1-20.3.diff.gz
Files:
 872f5f94ba39be927fee284398a31af7 1691 x11 optional xvt_2.1-20.3.dsc
 42e58cb780d00b226dd70480c1f2acb2 12634 x11 optional xvt_2.1-20.3.diff.gz

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

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAlh5FM0ACgkQiNJCh6LY
mLFx+BAAxIc1RDZs4XXOiNZy6ZBpupNOTcR//7CgIIV0KfufGUKHwXkRvve2oWPW
IBBbayCQH8FHgQJOjNYQmISvUQES5WPf4Pee03NeDZqEHk46fbQNlbNM8ndrnee7
Fuv0ciiVsujro3xI8+SDJ5AuFuM4fgb6ndhflUoiZOJCLdy8UR5oaZ7gUSqBHR0H
UvMMALYg4ECYlHy1INK2DrBBv+DERrVcZKHUBJk/aj2MQuwFL74JLbzjbvpjdb8W
K9f2QFQeegEVva1JCAn7dK5ztjgUNKsBan9Vn6rLcuyuluQo7SBM3kh3kHB/EgC3
cVCwi068OGuMIKyEuwcXPgUk0CTWa3aif918/8vl/N/itHDEtuRLgzpGZ4STFsbU
GsmHts0lCcK4wZpMLCrHEGeSXVJ8HUpYttmFqxEncP2exNjseG2LDYlBSxkZDIqZ
3DdujPWg195nFxopl7o8DKEQF2nj6w52BrGPdq47hoTuhC2Rck699cpJ87nHnmKU
g6QIOG2J/w3/8HOCN4uJyFghzOt9m9xeeiPZjnCw2cDmSQ2FC67DIVKkTXp+uD3N
C5q6eg5De3j3T+F4dKh3goIhb2MftpOcbtlKFAsjgCZjKQhdmSaHcik4yPXSm39g
UoaY0/YedQRtiuIm6IhbNmCO8u8JleDgFa4HCagpBnaUdSayD84=
=ZZF8
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to