Your message dated Wed, 25 May 2016 07:48:53 +0000
with message-id <[email protected]>
and subject line Bug#812729: fixed in libmtp 1.1.11-1
has caused the Debian Bug report #812729,
regarding libmtp apport hook: Please stop attaching /var/log/udev
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.)
--
812729: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812729
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libmtp
Version: 1.1.10-2
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch xenial
Hello,
libmtp's apport hook still tries to attach /var/log/udev. But this is
an Upstart-ism (maybe even Ubuntu-ism), and neither particularly
useful nor even present/updated under systemd or sysvinit. (Please see
https://launchpad.net/bugs/1537211 for some details).
The attached patch moves to apport.hookutils.attach_hardware()
instead, which attaches more information and the complete udev
database. This will then also contain hardware which got plugged in
after boot.
I also took the liberty to remove the trailing whitespace.
Thanks for considering,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
diff -Nru libmtp-1.1.10/debian/apport/source_libmtp.py
libmtp-1.1.10/debian/apport/source_libmtp.py
--- libmtp-1.1.10/debian/apport/source_libmtp.py 2015-10-28
23:07:38.000000000 +0100
+++ libmtp-1.1.10/debian/apport/source_libmtp.py 2016-01-26
08:55:41.000000000 +0100
@@ -12,13 +12,13 @@
import apport.hookutils
def add_info(report, ui):
-
+
ui.information('Please make sure the affected device is connected and on
before continuing.')
-
+
apport.hookutils.attach_related_packages(report, [
"udev",
])
-
+
# Try using the mtp-detect command to obtain more information
if apport.hookutils.command_available("mtp-detect"):
report['MTPDetect'] = apport.hookutils.command_output("mtp-detect")
@@ -29,11 +29,10 @@
"to an existing bug report by running the command "\
"'apport-collect -p libmtp9 '<bugnumber>', replacing "\
"<bugnumber> with the number of your bug report.")
-
+
# Obtain information about changes to udev configuration files
apport.hookutils.attach_conffiles(report, "udev")
- # Attach the udev log file
- apport.hookutils.attach_file_if_exists(report, '/var/log/udev', 'UdevLog')
-
+ apport.hookutils.attach_hardware(report)
+
# Get all connected USB devices
report['USBDevices'] = apport.hookutils.usb_devices()
diff -Nru libmtp-1.1.10/debian/changelog libmtp-1.1.10/debian/changelog
--- libmtp-1.1.10/debian/changelog 2015-10-28 23:12:52.000000000 +0100
+++ libmtp-1.1.10/debian/changelog 2016-01-26 08:57:25.000000000 +0100
@@ -1,3 +1,10 @@
+libmtp (1.1.10-2ubuntu1) xenial; urgency=medium
+
+ * debian/apport/source_libmtp.py: Stop attaching /var/log/udev (which is
+ only created under Upstart). Use apport's attach_hardware() instead.
+
+ -- Martin Pitt <[email protected]> Tue, 26 Jan 2016 08:56:36 +0100
+
libmtp (1.1.10-2) unstable; urgency=medium
* debian/apport/source_libmtp.py:
--- End Message ---
--- Begin Message ---
Source: libmtp
Source-Version: 1.1.11-1
We believe that the bug you reported is fixed in the latest version of
libmtp, 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.
Alessio Treglia <[email protected]> (supplier of updated libmtp 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, 25 May 2016 08:27:31 +0100
Source: libmtp
Binary: libmtp9 libmtp-common libmtp-runtime libmtp-dev libmtp-dbg libmtp-doc
mtp-tools
Architecture: source all amd64
Version: 1.1.11-1
Distribution: unstable
Urgency: medium
Maintainer: Alessio Treglia <[email protected]>
Changed-By: Alessio Treglia <[email protected]>
Description:
libmtp-common - Media Transfer Protocol (MTP) common files
libmtp-dbg - Media Transfer Protocol (MTP) debugging symbols
libmtp-dev - Media Transfer Protocol (MTP) development files
libmtp-doc - Media Transfer Protocol (MTP) library documentation
libmtp-runtime - Media Transfer Protocol (MTP) runtime tools
libmtp9 - Media Transfer Protocol (MTP) library
mtp-tools - Media Transfer Protocol (MTP) library tools
Closes: 812729
Changes:
libmtp (1.1.11-1) unstable; urgency=medium
.
[ Alessio Treglia ]
* Imported Upstream version 1.1.11
* Drop debian/patches/0001-players.patch, applied upstream
.
[ Martin Pitt ]
* debian/apport/source_libmtp.py: Stop attaching /var/log/udev (which is
only created under Upstart). Use apport's attach_hardware() instead.
(Closes: #812729)
Checksums-Sha1:
008e40bf8a4442f2bc68fd832b9ef040c303fab0 2327 libmtp_1.1.11-1.dsc
4f7e79e15e6a0d0a3d76adbd1ca6d6c27d4b8424 788911 libmtp_1.1.11.orig.tar.gz
9a556e5533c8fcb8029b5440b20ba2e27b75800b 23091 libmtp_1.1.11-1.debian.tar.gz
41415d0f68aa00d3f551ed6ab59d5d4fb5b8f51d 78964 libmtp-common_1.1.11-1_all.deb
d611cc5bf29860f6634f92872e933f68674d0f55 282972 libmtp-dbg_1.1.11-1_amd64.deb
d9faedbcb82928549df48207d8baf08ec1da31cd 50446 libmtp-dev_1.1.11-1_amd64.deb
be878d604ca34a2d0c7944d822c24490f292c767 362714 libmtp-doc_1.1.11-1_all.deb
07ee8df7a0d436a46c0e712ae2fc8a4589bc49ab 9622
libmtp-runtime-dbgsym_1.1.11-1_amd64.deb
267b57bfbbd61967f94cf21489860b03003879f5 46304
libmtp-runtime_1.1.11-1_amd64.deb
b76ad29c6c805cab7826bccc32e03da3e3fe6e12 184250 libmtp9_1.1.11-1_amd64.deb
10566c9acc7b378d1c0ef5864aecc97a527993df 183216
mtp-tools-dbgsym_1.1.11-1_amd64.deb
620c10be8446049564cf44960e780327df5da2f2 74712 mtp-tools_1.1.11-1_amd64.deb
Checksums-Sha256:
b1523c2a2de425d2c64902553f7fcbb9166797f37c9d0dc857fcb18c21ddee8d 2327
libmtp_1.1.11-1.dsc
15d96dff79a4f7ad14338894a4096d4ac584c6ad25fdcca955bc4726303287e9 788911
libmtp_1.1.11.orig.tar.gz
c85cc92ca2e917f996d0a4cbd9e4bf030ef6445a6cd9b0f4df1580415631d3b2 23091
libmtp_1.1.11-1.debian.tar.gz
de6a14f06cf5a99a066d85cfde85911ca1050615adebebf384ecda49224ab96a 78964
libmtp-common_1.1.11-1_all.deb
36b7de8208929766d50b227ad9836f8db26369b87c14b702c0ddcdd86a11cee9 282972
libmtp-dbg_1.1.11-1_amd64.deb
9a1d41385f1fb4fe91d2237b48efa34e80b7f4e1bcc51fb314e8e6bb8a424bb5 50446
libmtp-dev_1.1.11-1_amd64.deb
8c846cc99be7707d8fc836ba06f20c6eae9a82e36d2f6034dc649fcfb4f9c355 362714
libmtp-doc_1.1.11-1_all.deb
9530a87443895b01453e940c71514461c344a7a99c5d6233fea6aaf9923cff3f 9622
libmtp-runtime-dbgsym_1.1.11-1_amd64.deb
d4648106275376e5ccb3d67908718dd7bc79d771fbc5f995240fbdfd4fd3b09d 46304
libmtp-runtime_1.1.11-1_amd64.deb
634239c82216be749339d84e9e31d68d4caccb9e2378af018cc1c7526b5b3a18 184250
libmtp9_1.1.11-1_amd64.deb
f339d520be2889a05f1f60bae3cc538d8c4b7eb0d6be22a24c170b966ba9085a 183216
mtp-tools-dbgsym_1.1.11-1_amd64.deb
b46e42424d2470f753d1a812f3cd544ab661042997b17e4998ecef2a0e9c696e 74712
mtp-tools_1.1.11-1_amd64.deb
Files:
a1d6e380790b015c75546dcd303fbb05 2327 libs optional libmtp_1.1.11-1.dsc
eea14dd30ddd08bbe39cfcb57564a4b8 788911 libs optional libmtp_1.1.11.orig.tar.gz
a7038f1f68e4b95b278abeb67a719698 23091 libs optional
libmtp_1.1.11-1.debian.tar.gz
b16547354373e089fbe4e0497e15d359 78964 libs optional
libmtp-common_1.1.11-1_all.deb
991209c158e72e68c83a35892fcb3972 282972 debug extra
libmtp-dbg_1.1.11-1_amd64.deb
fbfa16cdd64b6185025ff840d1882787 50446 libdevel optional
libmtp-dev_1.1.11-1_amd64.deb
c454f70b0278b031f512fbf273732ab0 362714 doc optional
libmtp-doc_1.1.11-1_all.deb
657504c58af4cf30f066fc2c69dd87dc 9622 debug extra
libmtp-runtime-dbgsym_1.1.11-1_amd64.deb
1e6040b2add5a98ef9eac00d5659b561 46304 libs optional
libmtp-runtime_1.1.11-1_amd64.deb
e721f21472afb6d644c06922e602a9da 184250 libs optional
libmtp9_1.1.11-1_amd64.deb
4115c2dabda680003099c59fb563391a 183216 debug extra
mtp-tools-dbgsym_1.1.11-1_amd64.deb
dd63ac5c6922fde20ac9804c2f5ea07b 74712 utils optional
mtp-tools_1.1.11-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJXRVUqAAoJEOikiuUxHXZaFIEP/0qtRZwTHyqlhCwsrOqpP+/n
9nmNDjMpC5Yqob/UGLWSfkOpXxlrPqsnz8qhRMZg4intHkOXzWasmYnmKECLsZft
z5Vw5kT+sqZDW0dmMVnMVH/y7JTL6tJ3cE4/F8ZyLQHsj6PpnYjjpexvvqvOVKGe
K9jZgZ9AvgION9FPxt8F7OpVjldKznzFXqsIk2P+g+S2tkjGCxCTJNKe5IqpjC5O
qSs55Q9UF2A9C1PGhcmzoWkdXK+u+6J89g89RGikfskiVJUex5zLLrI6YRZGRJv9
/q3VZA8Uxz6TDqWcQzPmkwF8wk3A3MjQGylp52nUdcra36lxe9JPmUirwcsPU3IT
8yLgdCfNeUVRLJMMYsJRowxhnsbwP3/YSmZ/KxgDPh5t2AzOzbMJygcUBMupdMCv
1KUiJBQbyXoutNEBC3WNOmNWQwCqkGsTZvWZphnChYlFptIAFNta7UeZQ2MuM1sq
k60JFxv+LSCQt3h1e/O0bqchJ/VD7AqxGFa6A6uaX4Wbn7jDk0MSQQz+f1PE2B6a
KB6DmIsfxiSvmqZjp0b728Xb2P/nwAvnDCLuvzBTy+cBiqsUFz9DN8Z0Olq/ANlm
2TyhkyW9to+AOJADeas8CxcJQbochhU0TXlXQWlzz1chTgLu6KWHMMW8hxWZDmGh
EGA/s4QrCRvhLw1WjL0X
=ZFyl
-----END PGP SIGNATURE-----
--- End Message ---