Debian Bug report logs -
#21722
dpkg-divert doesn't work with relative filenames
Reported by: Nicolás Lichtmaier <nick@feedback.net.ar>
Date: Sun, 26 Apr 1998 23:33:01 UTC
Severity: wishlist
Fixed in version dpkg/1.16.3
Done: Guillem Jover <guillem@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>
:
Bug#21722
; Package dpkg-dev
.
(full text, mbox, link).
Acknowledgement sent to Nicol�s Lichtmaier <nick@feedback.net.ar>
:
New bug report received and forwarded. Copy sent to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>
.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: dpkg-dev
Version: 1.4.0.22
If I do:
cd /usr/bin ; dpkg-divert --local --rename dpkg-buildpackage
...it won't work (and the user may not notice it!). This is
counterintuitive. I suggest that you do a realpath(3) of the filename given.
Bug reassigned from package `dpkg-dev' to `dpkg'.
Request was from Nicolás Lichtmaier <nick@feedback.net.ar>
to control@bugs.debian.org
.
(full text, mbox, link).
Changed bug title.
Request was from Nicolás Lichtmaier <nick@feedback.net.ar>
to control@bugs.debian.org
.
(full text, mbox, link).
Severity set to `wishlist'.
Request was from Thomas Hood <jdthood@yahoo.co.uk>
to control@bugs.debian.org
.
(full text, mbox, link).
Added tag(s) pending.
Request was from Guillem Jover <guillem@debian.org>
to control@bugs.debian.org
.
(Sat, 31 Mar 2012 19:48:04 GMT) (full text, mbox, link).
Message sent on
to Nicolás Lichtmaier <nick@feedback.net.ar>
:
Bug#21722.
(Sat, 31 Mar 2012 19:48:07 GMT) (full text, mbox, link).
Message #16 received at 21722-submitter@bugs.debian.org (full text, mbox, reply):
tag 21722 pending
thanks
Hello,
Bug #21722 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:
http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=1a7d184
---
commit 1a7d184fc65b91fc155d2724aad73b59aea8b9c8
Author: Guillem Jover <guillem@debian.org>
Date: Sat Mar 31 20:30:54 2012 +0200
dpkg-divert: Check all dpkg-divert filename arguments
This makes sure the filename is absolute and does not contain newlines.
Closes: #21722
diff --git a/debian/changelog b/debian/changelog
index a6ece05..3385031 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ dpkg (1.16.3) UNRELEASED; urgency=low
* Do not look for newline beyond the read buffer on dpkg-deb extract.
* Check update-alternative name and link arguments for all commands.
Closes: #665050
+ * Check all dpkg-divert filename arguments to be absolute and to not
+ contain newlines. Closes: #21722
[ Updated dpkg translations ]
* French (Christian Perrier)
Reply sent
to Guillem Jover <guillem@debian.org>
:
You have taken responsibility.
(Fri, 27 Apr 2012 08:51:54 GMT) (full text, mbox, link).
Notification sent
to Nicolás Lichtmaier <nick@feedback.net.ar>
:
Bug acknowledged by developer.
(Fri, 27 Apr 2012 08:51:54 GMT) (full text, mbox, link).
Message #21 received at 21722-close@bugs.debian.org (full text, mbox, reply):
Source: dpkg
Source-Version: 1.16.3
We believe that the bug you reported is fixed in the latest version of
dpkg, which is due to be installed in the Debian FTP archive:
dpkg-dev_1.16.3_all.deb
to main/d/dpkg/dpkg-dev_1.16.3_all.deb
dpkg_1.16.3.dsc
to main/d/dpkg/dpkg_1.16.3.dsc
dpkg_1.16.3.tar.bz2
to main/d/dpkg/dpkg_1.16.3.tar.bz2
dpkg_1.16.3_amd64.deb
to main/d/dpkg/dpkg_1.16.3_amd64.deb
dselect_1.16.3_amd64.deb
to main/d/dpkg/dselect_1.16.3_amd64.deb
libdpkg-dev_1.16.3_amd64.deb
to main/d/dpkg/libdpkg-dev_1.16.3_amd64.deb
libdpkg-perl_1.16.3_all.deb
to main/d/dpkg/libdpkg-perl_1.16.3_all.deb
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 21722@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Guillem Jover <guillem@debian.org> (supplier of updated dpkg 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 27 Apr 2012 10:10:10 +0200
Source: dpkg
Binary: libdpkg-dev dpkg dpkg-dev libdpkg-perl dselect
Architecture: source amd64 all
Version: 1.16.3
Distribution: unstable
Urgency: low
Maintainer: Dpkg Developers <debian-dpkg@lists.debian.org>
Changed-By: Guillem Jover <guillem@debian.org>
Description:
dpkg - Debian package management system
dpkg-dev - Debian package development tools
dselect - Debian package management front-end
libdpkg-dev - Debian package management static library
libdpkg-perl - Dpkg perl modules
Closes: 21722 155676 155799 552517 588077 664964 665050 666752 667037 669012 669047 670048
Changes:
dpkg (1.16.3) unstable; urgency=low
.
[ Guillem Jover ]
* Do not look for newline beyond the read buffer on dpkg-deb extract.
* Check update-alternative name and link arguments for all commands.
Closes: #665050
* Check all dpkg-divert filename arguments to be absolute and to not
contain newlines. Closes: #21722
* Print errors while reading the file list files on a new line instead
of just after the progress percentage. Closes: #552517
* Document in dpkg-source(1) that patches for source format â3.0 (quilt)â
are expected to apply without any fuzz. Closes: #666752
Based on a patch by Luca Capello <luca@pca.it>.
* Remove redundant -Wformat-security from default dpkg-buildflags, which
is already implied by -Werror=format-security. Closes: #664964
Suggested by Peter Eisentraut <petere@debian.org>.
* Document in dpkg-query(1) that commands producing multiple paragraphs
will preserve the order of the packages specified on the argument list.
* Change start-stop-daemon --exec on GNU/Hurd, FreeBSD, NetBSD, OpenBSD
and Solaris to check for executables matching device and inode numbers
instead of filenames.
* Change start-stop-daemon --name on GNU/Hurd to check the process' argv[1]
in addition to argv[0], to handle both binaries and interpreted scripts.
Reported by Mats Erik Andersson <mats.andersson@gisladisker.se>.
* Handle deb format versions as major.minor integers instead of strings or
floats, the latter being susceptible to parsing errors depending on the
current locale (although this was only affecting the old deb format).
* Ignore the minor format version number for deb-split format, unifying
the behaviour with the deb format.
* Add support for an abitable containing arch attribute overrides.
* Add x32 support to abitable, ostable and triplettable. Closes: #667037
* Fix start-stop-daemon to work with relative --exec arguments and --chdir.
Closes: #669047
* Ignore request to rename a file owned by the diverting package on
«dpkg-divert --add --rename». Closes: #588077
* Clarify dpkg-gensymbols(1) by way of examples that architecture wildcards
are supported in symbols files. Closes: #670048
* Fix memory leak due to Dpkg::Control objects not being garbage-collected.
Thanks to Ben Harris <bjh21@cam.ac.uk>. Closes: #669012
* Compute the md5sum hash on unpack for empty files too, so that these
can be checked correctly for matching content when installing multiple
package instances.
* Generate md5sums files automatically at unpack time if missing from the
binary package. Closes: #155676, #155799
* Add missing list and md5sums database file checks to «dpkg --audit».
.
[ Helge Kreutzmann ]
* Fix a typo in man/dpkg-buildflags.1.
.
[ Updated dpkg translations ]
* French (Christian Perrier).
* German (Sven Joachim).
* Swedish (Peter Krefting).
.
[ Updated dselect translations ]
* French (Christian Perrier).
* German (Sven Joachim).
* Swedish (Peter Krefting).
.
[ Updated scripts translations ]
* French (Christian Perrier).
* Swedish (Peter Krefting).
.
[ Updated scripts translations ]
* French (Christian Perrier).
* German (Helge Kreutzmann).
* Swedish (Peter Krefting).
Checksums-Sha1:
bb4963fae9946db782220765afbd3743d1896383 1362 dpkg_1.16.3.dsc
b82a62c1b5e85adcc947f28a264ef7b7ee8580ca 5599915 dpkg_1.16.3.tar.bz2
29a3fc00855cd8a0365acb11d473b7bf82bed6d5 640096 libdpkg-dev_1.16.3_amd64.deb
153ac818bcd482b1d42e8823ed4f9334dd40db20 2354904 dpkg_1.16.3_amd64.deb
4cf4bb413809e3981900ef03a664891bc180b397 1079334 dselect_1.16.3_amd64.deb
e2d9f21746f0ba2f803fff16f215eb65b56a6792 1184282 dpkg-dev_1.16.3_all.deb
475bfac569ad4865bf5c9a134b6d55c3e63a85b7 881242 libdpkg-perl_1.16.3_all.deb
Checksums-Sha256:
d49eb619ebe10cfdf0ab13ab59a627518ae57e1b3d793ab05f23f105060a44f6 1362 dpkg_1.16.3.dsc
8048890ca92a3ca317a4fdd557f8e9b2b3ce560743e8e70813496f9a7096d8d8 5599915 dpkg_1.16.3.tar.bz2
83571879e30c5ee19f17038adb2b3d88604ddeec0d0bd60623c6a4e303782fa3 640096 libdpkg-dev_1.16.3_amd64.deb
ccfa31ca47729ed42f79367cfa9e6ae3dc5b76616e1708d190c52a1b0f768b26 2354904 dpkg_1.16.3_amd64.deb
c86ceea341dca6704dc5b4fe63fc9c262751a9fa654d73930acc691c25dec379 1079334 dselect_1.16.3_amd64.deb
352173d2e19d4b40c0e596e01a5bc41e4f24e8c2514020e73adc38bba9ef7bb0 1184282 dpkg-dev_1.16.3_all.deb
a25a757012281ce83dde6a727cf1587f18a670c63186964c3192ffc617b94f50 881242 libdpkg-perl_1.16.3_all.deb
Files:
c48022e8aacde7046c5b8b9163fea8cb 1362 admin required dpkg_1.16.3.dsc
20189e2926ada3dda4f77ef2e36999af 5599915 admin required dpkg_1.16.3.tar.bz2
525113c10668ca1edeccf81f63300562 640096 libdevel optional libdpkg-dev_1.16.3_amd64.deb
a7096c5f626d1fa1d5cc5b3d0e94f9c7 2354904 admin required dpkg_1.16.3_amd64.deb
c276e506628a9c218a8fc25343fef1f7 1079334 admin optional dselect_1.16.3_amd64.deb
e269f80cd82dc477cfeae69edfa07129 1184282 utils optional dpkg-dev_1.16.3_all.deb
4251ef6c75be3087e2202f4803d4df7a 881242 perl optional libdpkg-perl_1.16.3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAk+aV7YACgkQuW9ciZ2SjJu8OwCfTAK3+/za0kD9SwhYkxrsVwwF
0YQAoKt6GKTLul6ylFX21YTBbfegF/Xw
=cztM
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org
.
(Tue, 05 Jun 2012 07:37:15 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Fri Apr 26 17:34:38 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.