Bug#813786: marked as done (apt: Warning "Can't drop privileges" when running "apt-get source" as root)
Your message dated Thu, 05 Jan 2017 21:03:45 +0000
with message-id <E1cPFCL-000855-8F@fasolo.debian.org>
and subject line Bug#813786: fixed in apt 1.4~beta3
has caused the Debian Bug report #813786,
regarding apt: Warning "Can't drop privileges" when running "apt-get source" as root
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 owner@bugs.debian.org
immediately.)
--
813786: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813786
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: apt: Warning "Can't drop privileges" when running "apt-get source" as root
- From: Raphaël Hertzog <hertzog@debian.org>
- Date: Fri, 05 Feb 2016 10:39:43 +0100
- Message-id: <145466518361.24722.4711614008761415566.reportbug@x230-buxy.home.ouaza.com>
Package: apt
Version: 1.2.1
Severity: normal
Simple to reproduce:
$ LANG=C sudo apt-get source debian-installer
[sudo] password for rhertzog:
Reading package lists... Done
Building dependency tree
Reading state information... Done
NOTICE: 'debian-installer' packaging is maintained in the 'Git' version control system at:
git://git.debian.org/d-i/debian-installer.git
Please use:
git clone git://git.debian.org/d-i/debian-installer.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 1 373 kB of source archives.
Get:1 http://nas/debian unstable/main debian-installer 20160106 (dsc) [3 434 B]
Get:2 http://nas/debian unstable/main debian-installer 20160106 (tar) [1 370 kB]
Fetched 1 373 kB in 0s (26,2 MB/s)
dpkg-source: info: extracting debian-installer in debian-installer-20160106
dpkg-source: info: unpacking debian-installer_20160106.tar.gz
W: Can't drop privileges for downloading as file 'debian-installer_20160106.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
$ ls -ald debian-installer*
drwxr-xr-x 5 root root 4096 janv. 1 16:27 debian-installer-20160106
-rw-r--r-- 1 root root 3434 janv. 6 06:12 debian-installer_20160106.dsc
-rw-r--r-- 1 root root 1370014 janv. 6 06:12 debian-installer_20160106.tar.gz
There's no such error when you run apt-get source as a normal user (which
is the usual case).
-- Package-specific info:
-- System Information:
Debian Release: stretch/sid
APT prefers squeeze-lts
APT policy: (500, 'squeeze-lts'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages apt depends on:
ii adduser 3.113+nmu3
ii debian-archive-keyring 2014.3
ii gnupg 1.4.20-1
ii gnupg2 2.1.11-2
ii gpgv 1.4.20-1
ii libapt-pkg5.0 1.2.1
ii libc6 2.21-7
ii libgcc1 1:5.3.1-7
ii libstdc++6 5.3.1-7
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none>
ii aptitude 0.7.5-3
ii dpkg-dev 1.18.4
ii python-apt 1.1.0~beta1
ii synaptic 0.83+b1
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 1.4~beta3
We believe that the bug you reported is fixed in the latest version of
apt, 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 813786@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated apt 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@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 05 Jan 2017 20:50:01 +0100
Source: apt
Binary: apt libapt-pkg5.0 libapt-inst2.0 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source
Version: 1.4~beta3
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Description:
apt - commandline package manager
apt-doc - documentation for APT
apt-transport-https - https download transport for APT
apt-utils - package management related utility programs
libapt-inst2.0 - deb package format runtime library
libapt-pkg-dev - development files for APT's libapt-pkg and libapt-inst
libapt-pkg-doc - documentation for APT development
libapt-pkg5.0 - package management runtime library
Closes: 440057 709092 724744 813786 845775 845969 846514 849235
Changes:
apt (1.4~beta3) unstable; urgency=medium
.
[ Lukasz Kawczynski ]
* Honour Acquire::ForceIPv4/6 in the https transport
.
[ David Kalnischkies ]
* reword "Can't drop priv" warning message (Closes: #813786) (LP: #1522675)
* let {dsc,tar,diff}-only implicitly enable download-only
* remove needless fork() in apt-get source
* default to --no-check for dpkg-source call (Closes: 724744)
* warn if clearsigned file has ignored content parts
* ensure generation of valid EDSP error stanzas
* add --indep-only for build-dep command (Closes: #845775)
* allow default build-essentials to be overridden
* expand -f to --fix-broken in error messages.
Thanks to Kristian Glass for initial patch! (Closes: #709092)
* separating state variables regarding server/request (Closes: #440057)
* fix minimum pkgs option for dpkg --recursive usage
* allow warning generation for non-whitelisted options
.
[ Oriol Debian ]
* Catalan program translation update (Closes: #846514)
.
[ Frans Spiesschaert ]
* Dutch manpages translation update (Closes: #849235)
.
[ Niels Thykier ]
* ParseDepends: Support passing the desired architecture (Closes: #845969)
Checksums-Sha1:
79cec732b9721a4a3ba432ba491346c760791344 2565 apt_1.4~beta3.dsc
13b1b47165d69252810c6f84ae0019c7554c5640 2061292 apt_1.4~beta3.tar.xz
Checksums-Sha256:
04428e7fbb0887bafe598ec5ad0589b757b2956c622a8aa638ed5f8a956a1c08 2565 apt_1.4~beta3.dsc
f721b03fa3f8a2013fdd0f42312f765143ccc98f0f0c07fb4c78d82794314ea4 2061292 apt_1.4~beta3.tar.xz
Files:
01076a1136405b99601664e190cda817 2565 admin important apt_1.4~beta3.dsc
e43e896bc4c7a1e8e40d67804ad3410f 2061292 admin important apt_1.4~beta3.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEEzeVhi4gF/W4gLOnC1zw55WWAs4YFAlhupD4PHGpha0BkZWJp
YW4ub3JnAAoJENc8OeVlgLOGn/4P/jqzBcEyOLCCsGXesOJ6Gur8TjO1yfpVydy0
jboAF7O11sgEDsVHSMfVeIvIK/CCqPo9D9aSfaKmGxxeg6w2LiPvyGZzw8eOAyFo
3hZQTqKIoM31AaPPRoGJRWJR5k95Mh+NtQHbWxsXVFP7AF/FUQ6xQn6PrciiHGR8
8VYIZ3v2Ev/Qs4qKcMbedyy3ePZdVrLDbROdVOtI+XZnoxLY7O5BjFkbc4jEMtxE
1gbkdLxxKj/+y+Ofc6wfXYjuzct5mJyfXO3gWYMisEdbr+vTifEDqzCr8c7UQwZI
FHkEG+/0EYiVslPcpY8soDsQ3KnNcSpRsEj4/0afspVEfvuyFX5UIKRTeKoK6Y+z
iG4orZkOAxRtkejDihdYFkhPUX1LOdFpK6R9BJ25liZI19+1L12maTDUEyJ5PqOO
aUXRne3/rVVeSee1BkzjrHSPb9rRoPukVBCKhxVwMwljK1efOcTltVON0YCYDlJZ
+fWusVjNFwLARuU2Ut+VCWuHLD6h7nmNZ1n8mupnWKbYk5SUr0QATQKy04E6uJIE
+OApCwvne2EZWRRrrHKKVCbxFqB+kpFIISLtKlB/MlUvDndOivKfceDGd/TWwrT0
+hcbzjKF3O7pnmUJfT9HVjpxy+QkyI4Zg7gj2YiSEXbNIpnzD5xW5KLYnL1vY9aY
FOEB4RuH
=RM2y
-----END PGP SIGNATURE-----
--- End Message ---
Reply to: