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

Bug#448518: marked as done (lacks pselect support on arm and m68k)



Your message dated Sat, 08 Nov 2008 12:18:58 +0200
with message-id <49156792.1050509@gmail.com>
and subject line closing #448518
has caused the Debian Bug report #448518,
regarding lacks pselect support on arm and m68k
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.)


-- 
448518: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=448518
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- 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 ---
Version: 0.7.17

Merged at least in this apt version.

-- 
Eugene V. Lyubimkin aka JackYF, Ukrainian C++ developer.

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply to: