Bug#610069: marked as done (Leaked file descriptor 57 history.log)
Your message dated Fri, 20 Apr 2012 12:47:21 +0000
with message-id <E1SLDFB-0005ym-3q@franck.debian.org>
and subject line Bug#610069: fixed in apt 0.9.2
has caused the Debian Bug report #610069,
regarding Leaked file descriptor 57 history.log
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.)
--
610069: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610069
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: Leaked file descriptor 57 history.log
- From: Anthony DeRobertis <anthony@derobert.net>
- Date: Sat, 15 Jan 2011 03:28:13 -0500
- Message-id: <20110115082813.22685.89156.reportbug@Heisenberg.home>
Package: apt
Version: 0.8.10
Severity: minor
File: /usr/bin/apt-get
Saw this message while doing an upgrade in aptitude. This is while
generating grub.cfg, but it seems likely that apt itself is responsible
for /var/log/apt/history.log:
Found initrd image: /boot/initrd.img-2.6.32-5-amd64
File descriptor 57 (/var/log/apt/history.log) leaked on lvs invocation. Parent PID 16689: /bin/sh
A missing O_CLOEXEC or FD_CLOEXEC somewhere?
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::NeverAutoRemove:: "^linux-ubuntu-modules-.*";
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Never-MarkAuto-Sections:: "oldlibs";
APT::Never-MarkAuto-Sections:: "restricted/oldlibs";
APT::Never-MarkAuto-Sections:: "universe/oldlibs";
APT::Never-MarkAuto-Sections:: "multiverse/oldlibs";
APT::Periodic "";
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
APT::Update "";
APT::Update::Post-Invoke-Success "";
APT::Update::Post-Invoke-Success:::: "touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";
APT::Update::Post-Invoke-Success:: "[ ! -f /var/run/dbus/system_bus_socket ] || /usr/bin/dbus-send --system --dest=org.debian.apt --type=signal /org/debian/apt org.debian.apt.CacheChanged || true";
APT::Archives "";
APT::Archives::MaxAge "30";
APT::Archives::MinAge "2";
APT::Archives::MaxSize "500";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "extended_states";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Etc::trusted "trusted.gpg";
Dir::Etc::trustedparts "trusted.gpg.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Media "";
Dir::Media::MountPath "/media/apt";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::Log::History "history.log";
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -d /var/lib/update-notifier ]; then touch /var/lib/update-notifier/dpkg-run-stamp; fi";
Unattended-Upgrade "";
Unattended-Upgrade::Allowed-Origins "";
Unattended-Upgrade::Allowed-Origins:: "${distro_id} stable";
Unattended-Upgrade::Allowed-Origins:: "${distro_id} ${distro_codename}-security";
CommandLine "";
CommandLine::AsString "apt-config dump";
-- /etc/apt/preferences --
Package: *
Pin: release n=squeeze
Pin-Priority: 500
Package: *
Pin: release a=unstable
Pin-Priority: 150
Package: *
Pin: release a=experimental
Pin-Priority: 100
-- /etc/apt/sources.list --
# Squeeze
deb http://http.us.debian.org/debian/ squeeze main non-free contrib
deb-src http://http.us.debian.org/debian/ squeeze main non-free contrib
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
deb http://www.debian-multimedia.org squeeze main contrib non-free
deb-src http://www.debian-multimedia.org squeeze main contrib non-free
deb http://debian-multimedia.informatik.uni-erlangen.de squeeze main non-free
# Unstable
deb http://http.us.debian.org/debian/ sid main non-free contrib
deb-src http://http.us.debian.org/debian/ sid main non-free contrib
deb http://www.debian-multimedia.org sid main contrib non-free
deb-src http://www.debian-multimedia.org sid main contrib non-free
# Experimental
deb http://http.us.debian.org/debian/ experimental main non-free contrib
deb-src http://http.us.debian.org/debian/ experimental main non-free contrib
-- System Information:
Debian Release: 6.0
APT prefers testing
APT policy: (500, 'testing'), (150, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.37-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt depends on:
ii debian-archive-keyring 2010.08.28 GnuPG archive keys of the Debian a
ii gnupg 1.4.10-4 GNU privacy guard - a free PGP rep
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.5-8 GCC support library
ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none> (no description available)
ii aptitude 0.6.3-3.2 terminal-based package manager (te
ii bzip2 1.0.5-6 high-quality block-sorting file co
ii dpkg-dev 1.15.8.7 Debian package development tools
ii lzma 4.43-14 Compression method of 7z format in
ii python-apt 0.7.100.1 Python interface to libapt-pkg
ii synaptic 0.70~pre1+b1 Graphical package manager
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.9.2
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:
apt-doc_0.9.2_all.deb
to main/a/apt/apt-doc_0.9.2_all.deb
apt-transport-https_0.9.2_amd64.deb
to main/a/apt/apt-transport-https_0.9.2_amd64.deb
apt-utils_0.9.2_amd64.deb
to main/a/apt/apt-utils_0.9.2_amd64.deb
apt_0.9.2.dsc
to main/a/apt/apt_0.9.2.dsc
apt_0.9.2.tar.gz
to main/a/apt/apt_0.9.2.tar.gz
apt_0.9.2_amd64.deb
to main/a/apt/apt_0.9.2_amd64.deb
libapt-inst1.5_0.9.2_amd64.deb
to main/a/apt/libapt-inst1.5_0.9.2_amd64.deb
libapt-pkg-dev_0.9.2_amd64.deb
to main/a/apt/libapt-pkg-dev_0.9.2_amd64.deb
libapt-pkg-doc_0.9.2_all.deb
to main/a/apt/libapt-pkg-doc_0.9.2_all.deb
libapt-pkg4.12_0.9.2_amd64.deb
to main/a/apt/libapt-pkg4.12_0.9.2_amd64.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 610069@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Vogt <mvo@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@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 20 Apr 2012 11:26:16 +0200
Source: apt
Binary: apt libapt-pkg4.12 libapt-inst1.5 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all amd64
Version: 0.9.2
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description:
apt - commandline package manager
apt-doc - documentation for APT
apt-transport-https - https download transport for APT
apt-utils - package managment related utility programs
libapt-inst1.5 - 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-pkg4.12 - package managment runtime library
Closes: 610069 669061 669328 669377 669591
Changes:
apt (0.9.2) unstable; urgency=low
.
[ Michael Vogt ]
* apt-inst/contrib/extracttar.cc:
- ensure that in StartGzip the InFd is set to "AutoClose" to ensure
that the pipe is closed when InFd is closed. This fixes a Fd leak
(LP: #985452)
.
[ David Kalnischkies ]
* apt-pkg/deb/deblistparser.cc:
- only treat the native apt as essential by default (Closes: #669377)
* apt-pkg/contrib/fileutl.cc:
- redirect stderr from compressors to /dev/null
* apt-pkg/aptconfiguration.cc:
- if the compressor is not installed, but we link against it's
library accept it as a CompressionType (Closes: #669328)
* apt-pkg/contrib/sha2_internal.cc:
- do not use the input data directly but memcpy it instead as
it could be unaligned as in the http-transport which causes
a sigbus error on sparc (Closes: #669061)
* apt-pkg/cacheset.cc:
- actually return to the fallback modifier if we have detected we
should for packagenames which look like modifiers (Closes: #669591)
.
[ Adam Conrad ]
* Set FD_CLOEXEC on history.log's FD (Closes: #610069, LP: #636010)
.
[ Thorsten Spindler ]
* apt-pkg/deb/dpkgpm.cc:
- do not crash if (*I).Pkg is NULL (LP: #939867)
.
[ Malcolm Scott ]
* apt-pkg/packagemanager.cc:
- iterate over all pre-depends or-group member instead of looping
endlessly over the first member in SmartUnpack (LP: #985852)
Checksums-Sha1:
843f6bc61f431b9d396da6e69ea3789267a35b3f 1663 apt_0.9.2.dsc
a864bfeffc26236d611a7042feee3336612f6e93 3413679 apt_0.9.2.tar.gz
4d1bd752672a57a9c3290baec7c0ad0f01a50a27 254554 apt-doc_0.9.2_all.deb
c29f0a377be318d87201d705a2366466d6d8ab53 831988 libapt-pkg-doc_0.9.2_all.deb
adc7a3b63388b848b6e2fe47c9ee69bb785dafca 874564 libapt-pkg4.12_0.9.2_amd64.deb
6a9050da437dc6395f4e0f306f50e49b47f02955 157436 libapt-inst1.5_0.9.2_amd64.deb
ae5487ed3f8f7de5b38af5a24549e2eac47dc893 1157930 apt_0.9.2_amd64.deb
943ec8b1f77d589f1089335f8b0877d63ea6011f 177874 libapt-pkg-dev_0.9.2_amd64.deb
06bfd0e82b8ef411d512e879fcecad0ff69249d3 369892 apt-utils_0.9.2_amd64.deb
0aed3f425a18631ca2a19eedaf4439e871cbeeef 100822 apt-transport-https_0.9.2_amd64.deb
Checksums-Sha256:
44ae26fe1116b707688d09f4b0d51c8681100460bbe4e26e827a533872136883 1663 apt_0.9.2.dsc
8ef1e68165dc7c670838e84d4d230aaf5d93b42eeb1865114e7ef7fb703dfb6c 3413679 apt_0.9.2.tar.gz
6b0ba668da2ee38b6e9dfbda7c3edfccc6d85fb24e71d4527e0abe39ec55a7ea 254554 apt-doc_0.9.2_all.deb
ad7f63a98fb7ac5ace3483662ef275743e456894d0ed8686ff8a2bdfe94cf5df 831988 libapt-pkg-doc_0.9.2_all.deb
d19e5f700c8fd01a7fb0b88cb31e1682bedbf7547c7d065688b474542b8e337f 874564 libapt-pkg4.12_0.9.2_amd64.deb
8dd74ded4e667d859cc153a253eb9efcaa675ce0a54bb88b672a703289def11f 157436 libapt-inst1.5_0.9.2_amd64.deb
52104750dc71c45037e32d0d2001aff1155b21e402983171cc5f96e988651aa4 1157930 apt_0.9.2_amd64.deb
74fa7a03ef05d9d0607ca75997b8fe295221e532202503bda6905e77b53cd7a1 177874 libapt-pkg-dev_0.9.2_amd64.deb
b719cc5c706490e6f486a967369bd70d56444007442ce785a5820479b27abbce 369892 apt-utils_0.9.2_amd64.deb
8fea8183f3276d55f77f62220d711990c996a8d8eddc3c8e5d50ea09716c85e4 100822 apt-transport-https_0.9.2_amd64.deb
Files:
4e52387c12326c1973a6095a81ac7758 1663 admin important apt_0.9.2.dsc
8a7bbab661fdde926d96a3833c1c6399 3413679 admin important apt_0.9.2.tar.gz
bd6738e083aa25db295704690de06c20 254554 doc optional apt-doc_0.9.2_all.deb
40f2fcf6ceda83eaf76fc99f3442358d 831988 doc optional libapt-pkg-doc_0.9.2_all.deb
70152a67b5156a0769c1569ad98fcb65 874564 admin important libapt-pkg4.12_0.9.2_amd64.deb
00b7f707960e4ce76f110db6803509f8 157436 admin important libapt-inst1.5_0.9.2_amd64.deb
17972a0c09a7d93f42a52e908ccf7596 1157930 admin important apt_0.9.2_amd64.deb
412381acac4a6242218584bdc2f61ba8 177874 libdevel optional libapt-pkg-dev_0.9.2_amd64.deb
61d7459135c9c103f300ca0b106cf91e 369892 admin important apt-utils_0.9.2_amd64.deb
b995e03ee89e77ef1c2188dad2b26a66 100822 admin optional apt-transport-https_0.9.2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAk+RVaEACgkQliSD4VZixzQecQCffknjnGymH7Gc+i1z6y03Wix6
pyUAoI2eGPMnjrtSlbGrniaTHP5oCw8u
=ROXM
-----END PGP SIGNATURE-----
--- End Message ---
Reply to: