Your message dated Sat, 27 Mar 2021 12:02:07 +0000
with message-id <e1lq7dn-0004jf...@fasolo.debian.org>
and subject line Bug#953357: fixed in dput-ng 1.25+deb10u2
has caused the Debian Bug report #953357,
regarding dput-ng: crash on PermissionError
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.)
--
953357: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953357
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dput-ng
Version: 1.29
Severity: grave
justification: dput command crashes
$ dput ssh-upload ../node-clipboard_2.0.4+ds-2~bpo10+1_amd64.changes
Uploading node-clipboard using sftp to ssh-upload (host:
ssh.upload.debian.org; directory: /srv/upload.debian.org/UploadQueue/)
running allowed-distribution: check whether a local profile permits
uploads to the target distribution
running protected-distribution: warn before uploading to distributions
where a special policy applies
running checksum: verify checksums before uploading
running suite-mismatch: check the target distribution for common errors
running gpg: check GnuPG signatures before the upload
Logging into host ssh.upload.debian.org as praveen
Uploading node-clipboard_2.0.4+ds-2~bpo10+1.dsc
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dput/uploaders/sftp.py", line
283, in upload_file
self._sftp.put(filename, upload_filename, **self.putargs)
File "/usr/lib/python3/dist-packages/paramiko/sftp_client.py", line
759, in put
return self.putfo(fl, remotepath, file_size, callback, confirm)
File "/usr/lib/python3/dist-packages/paramiko/sftp_client.py", line
714, in putfo
with self.file(remotepath, "wb") as fr:
File "/usr/lib/python3/dist-packages/paramiko/sftp_client.py", line
372, in open
t, msg = self._request(CMD_OPEN, filename, imode, attrblock)
File "/usr/lib/python3/dist-packages/paramiko/sftp_client.py", line
813, in _request
return self._read_response(num)
File "/usr/lib/python3/dist-packages/paramiko/sftp_client.py", line
865, in _read_response
self._convert_status(msg)
File "/usr/lib/python3/dist-packages/paramiko/sftp_client.py", line
896, in _convert_status
raise IOError(errno.EACCES, text)
PermissionError: [Errno 13] Permission denied
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/dput", line 129, in <module>
upload_package(changes, args)
File "/usr/lib/python3/dist-packages/dput/uploader.py", line 343, in
invoke_dput
obj.upload_file(path)
File "/usr/lib/python3/dist-packages/dput/uploaders/sftp.py", line
285, in upload_file
if e.errno == os.errno.EACCES:
AttributeError: module 'os' has no attribute 'errno'
It is an uptodate sid machine and manually running 'ssh
prav...@ssh.upload.debian.org' works.
from ~/.dput.cf
# https://lists.debian.org/debian-devel-announce/2008/09/msg00007.html
[ssh-upload]
login = praveen
# login = another_username
fqdn = ssh.upload.debian.org
method = sftp
incoming = /srv/upload.debian.org/UploadQueue/
allow_dcut = 1
# Please, upload your package to the proper archive
#
https://www.debian.org/doc/manuals/developers-reference/pkgs.html#bug-security-upload
allowed_distributions = (?!UNRELEASED|.*-security)
--- End Message ---
--- Begin Message ---
Source: dput-ng
Source-Version: 1.25+deb10u2
Done: Mattia Rizzolo <mat...@debian.org>
We believe that the bug you reported is fixed in the latest version of
dput-ng, 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 953...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mattia Rizzolo <mat...@debian.org> (supplier of updated dput-ng 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: Tue, 23 Mar 2021 19:20:55 +0100
Source: dput-ng
Architecture: source
Version: 1.25+deb10u2
Distribution: buster
Urgency: medium
Maintainer: dput-ng Maintainers <dput...@packages.debian.org>
Changed-By: Mattia Rizzolo <mat...@debian.org>
Closes: 953357 984466 985618
Changes:
dput-ng (1.25+deb10u2) buster; urgency=medium
.
[ Philippe Pepiot ]
* Fix a TypeError in http upload exception handling. MR: !9
.
[ Mattia Rizzolo ]
* Fix crash in the sftp uploader in case of EACCES from the server.
Closes: #953357
* Update codenames:
+ Drop squeeze*, wheezy* and jessie-backports*.
+ Add bullseye-backports, buster-backports-sloppy.
+ Add bookworm, bookworm-proposed-updates, bookworm-security.
.
[ nicoo ]
* Make `dcut dm` also accept non-uploading DDs, since they are nowadays
treated the same as DMs when concerning upload permissions.
Closes: #985618; MR: !16
.
[ Dominic Hargreaves ]
* In dak-commands files, don't try and construct uploader email from system
hostname, instead skip the whole Uploader field, since it's optional
anyway. Closes: #984466; MR: !15
Checksums-Sha1:
0fa129e90d96908263082a4f23c70b1c4c34e9c0 2188 dput-ng_1.25+deb10u2.dsc
1be31fbadaff976f21d9d256eea80d44c4745460 85448 dput-ng_1.25+deb10u2.tar.xz
8137aeafc4de4adc3b5ace90a0373e9e24f23ad0 8666
dput-ng_1.25+deb10u2_amd64.buildinfo
Checksums-Sha256:
51d2ef4f5a66529e13324579e9b4c57be99b24bed712cab406a93bfb6f11ea62 2188
dput-ng_1.25+deb10u2.dsc
fe58e6eb29997382cd3880ce68888f81da7b248606edbb5bc26b772a4d75a5cd 85448
dput-ng_1.25+deb10u2.tar.xz
d9193784dcc4e5c262942098c3d20242719900d9ad3d58bb1073923f89645273 8666
dput-ng_1.25+deb10u2_amd64.buildinfo
Files:
7a911ac7f65ee8498269807b9bcbd81a 2188 devel optional dput-ng_1.25+deb10u2.dsc
537fe03f854b425c368c322db7857e34 85448 devel optional
dput-ng_1.25+deb10u2.tar.xz
64a9f374551263d7e5bb88c2e4fb6f00 8666 devel optional
dput-ng_1.25+deb10u2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAmBaMxIACgkQCBa54Yx2
K601lw/9GLO/5VZaZQ8rzugaQ2XhAMo/qaOmCrBr4B8Wr/EelF8pe9HRErrYqraS
qNKQBud2AOVm3Vqq0EAmzML8Ld68m6SjHvOUiPzpPPB9dOrfSmwQwiwvZHVzg5gZ
aSqF3/SrYs06/39Fcxziz9taUSL3Hh77FguhtRW+23iufGdcMKnOSCKTEW/0hrxM
fkEF18Dg05dbLsrBmayp5DhOqe69W7rVWdXGqe8Bowrzve4j1D013nSd3LK8P4+o
/dTS+IQmjp+xYg/qH+rftlC9BEZeKP9rQI7XPTmXnjhiqyxYuzZCt4WPYi0DJ6gE
S74zav66kHLII8z33mdrBNjv+Z3Hpm4sNYnXVn1li6gUvkWJQ3FXecaM36/WNfGn
4NKkaBY00f/jjHr1MJm3uiz1g/fPBulbijqSxn68UV+yarPm8zQUuPvbZSq3m+On
NM3pElGsMws0A9Um+y8dogIaDClFxTtnUeny01h2BwGsKZo+BkHGTDv8wcIUvLa4
nf+D30wBCEdKTu6R/OrkSidXbaf61pXn+SjpA1q9EGG0yL1cxzEDgEWFlRzP5MZI
7SreEieNDBguSkhhLZxTwSF7QHoSpk8TLWVHeYK6wfHYaIT6xPXT/pBIa13ts0My
YEUSLs15JaiZyprQc13jngXDr6g0DS6uXa9fA/1zhdwp8eZ7bhk=
=IKe9
-----END PGP SIGNATURE-----
--- End Message ---