[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#448406: marked as done (tries to use pselect without checking for ENOSYS)



Your message dated Wed, 31 Oct 2007 16:02:02 +0000
with message-id <E1InG14-0004RY-Dn@ries.debian.org>
and subject line Bug#448406: fixed in apt 0.7.9
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: apt
Version: 0.7.8
Severity: serious

dpkgpm.cc:856 of aptbzr looks like:

         select_ret = pselect(max(master, _dpkgin)+1, &rfds, NULL, NULL,  
                              &tv, &original_sigmask);
         if (select_ret == 0)
            continue;
         else if (select_ret < 0 && errno == EINTR)
            continue;
         else if (select_ret < 0)
         {
            perror("select() returned error");
            continue;
         }

On systems with glibc 2.6, but without a kernel with the pselect
system call, select_ret will be ENOSYS, no system call will happen,
and the user is spammed with a select error message (tho pselect is
the culprit now).  So long as there is a timeout, the racy code in the
pselect() manpage can then be used to emulate pselect with select,
(signals could still be ignored for as long as long as the timeout
specified, but things should still work).

Most of the etch architecture did not ship with a pselect() system
call.



--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.7.9

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.7.9_all.deb
  to pool/main/a/apt/apt-doc_0.7.9_all.deb
apt-transport-https_0.7.9_i386.deb
  to pool/main/a/apt/apt-transport-https_0.7.9_i386.deb
apt-utils_0.7.9_i386.deb
  to pool/main/a/apt/apt-utils_0.7.9_i386.deb
apt_0.7.9.dsc
  to pool/main/a/apt/apt_0.7.9.dsc
apt_0.7.9.tar.gz
  to pool/main/a/apt/apt_0.7.9.tar.gz
apt_0.7.9_i386.deb
  to pool/main/a/apt/apt_0.7.9_i386.deb
libapt-pkg-dev_0.7.9_i386.deb
  to pool/main/a/apt/libapt-pkg-dev_0.7.9_i386.deb
libapt-pkg-doc_0.7.9_all.deb
  to pool/main/a/apt/libapt-pkg-doc_0.7.9_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 448406@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Otavio Salvador <otavio@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.7
Date: Wed, 31 Oct 2007 13:37:26 -0200
Source: apt
Binary: apt-utils libapt-pkg-doc libapt-pkg-dev apt-transport-https apt-doc apt
Architecture: source all i386
Version: 0.7.9
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Otavio Salvador <otavio@debian.org>
Description: 
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-transport-https - APT https transport
 apt-utils  - APT utility programs
 libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - Documentation for APT development
Closes: 448321 448406 448430 448497 448521
Changes: 
 apt (0.7.9) unstable; urgency=low
 .
   [ Christian Perrier ]
   * Add several languages to LINGUAS and, therefore, really ship the relevant
     translation:
     Arabic, Dzongkha, Khmer, Marathi, Nepali, Thai
     Thanks to Theppitak Karoonboonyanan for checking this out. Closes: #448321
 .
   [ Program translations ]
     - Korean updated. Closes: #448430
     - Galician updated. Closes: #448497
     - Swedish updated.
 .
   [ Otavio Salvador ]
   * Fix configure script to check for CURL library and headers presense.
   * Applied patch from Brian M. Carlson <sandals@crustytoothpaste.ath.cx>
     to add backward support for arches that lacks pselect support,
     closes: #448406.
   * Umount CD-ROM when calling apt-cdrom ident, except when called with
     -m, closes: #448521.
Files: 
 08755f97921aed18dee7f953d3563555 942 admin important apt_0.7.9.dsc
 4e0ab44b42a4854343653355905bc661 1923680 admin important apt_0.7.9.tar.gz
 c660bf20b3294bfc1ea855a5769b1bd8 93016 doc optional apt-doc_0.7.9_all.deb
 4553ee6c986a0215b7875b0fe41199cc 117458 doc optional libapt-pkg-doc_0.7.9_all.deb
 1b13c496f9730451e66d80440bb69569 52184 admin optional apt-transport-https_0.7.9_i386.deb
 fb0f84ae20a57dffa65b6c521aec1107 1591780 admin important apt_0.7.9_i386.deb
 490a3a6270d53e099d5d5d30ed443714 101938 libdevel optional libapt-pkg-dev_0.7.9_i386.deb
 9a9a970e1645cbb44401282011a5963a 189014 admin important apt-utils_0.7.9_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHKKOGLqiZQEml+FURAsp0AJ9OuGgwKXUkQk9pf7nOBIFKEsX/RQCeOa5U
H6x0WsJN782ViwzfbM8tKbs=
=NOGR
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: