Bug#640922: pu: package eglibc/2.11.2-10 (Was: Bug#639897: Please don't check /proc/mounts)

2011-09-28 Thread Adam D. Barratt
On Tue, 2011-09-13 at 07:10 +0200, Aurelien Jarno wrote: > On Mon, Sep 12, 2011 at 07:40:39PM +0100, Adam D. Barratt wrote: > > On Thu, 2011-09-08 at 16:31 +0200, Sandro Tosi wrote: > > > would you consider the attached patches for a squeeze point release for > > > eglibc? > > > > > > The reason

Bug#640922: pu: package eglibc/2.11.2-10 (Was: Bug#639897: Please don't check /proc/mounts)

2011-09-12 Thread Aurelien Jarno
On Mon, Sep 12, 2011 at 07:40:39PM +0100, Adam D. Barratt wrote: > On Thu, 2011-09-08 at 16:31 +0200, Sandro Tosi wrote: > > would you consider the attached patches for a squeeze point release for > > eglibc? > > > > The reason behind this request is: on systems with a lot of mounts, > > statvfs6

Bug#640922: pu: package eglibc/2.11.2-10 (Was: Bug#639897: Please don't check /proc/mounts)

2011-09-12 Thread Adam D. Barratt
On Thu, 2011-09-08 at 16:31 +0200, Sandro Tosi wrote: > would you consider the attached patches for a squeeze point release for > eglibc? > > The reason behind this request is: on systems with a lot of mounts, > statvfs64() libc function takes a huge amount of times since it needs > to parse /pro

Bug#640922: pu: package eglibc/2.11.2-10 (Was: Bug#639897: Please don't check /proc/mounts)

2011-09-08 Thread Sandro Tosi
Package: release.debian.org User: release.debian@packages.debian.org Usertags: pu Severity: normal Dear SRM, would you consider the attached patches for a squeeze point release for eglibc? The reason behind this request is: on systems with a lot of mounts, statvfs64() libc function takes a hu

Bug#639897: Please don't check /proc/mounts

2011-09-08 Thread Aurelien Jarno
Hi, On Wed, Sep 07, 2011 at 11:30:17AM +0200, Sandro Tosi wrote: > Hi Aurelien, > thanks for your reply and sorry for mine being so late > > On Fri, Sep 2, 2011 at 21:56, Aurelien Jarno wrote: > > As always, when the libc doesn't have the information from a kernel > > syscall, it needs to get it

Bug#639897: Please don't check /proc/mounts

2011-09-07 Thread Sandro Tosi
Hi Aurelien, thanks for your reply and sorry for mine being so late On Fri, Sep 2, 2011 at 21:56, Aurelien Jarno wrote: > As always, when the libc doesn't have the information from a kernel > syscall, it needs to get it another way, and it often ends up using > /proc or /sys as the source of info

Bug#639897: Please don't check /proc/mounts

2011-09-02 Thread Aurelien Jarno
On Fri, Sep 02, 2011 at 11:33:33AM +0200, Sandro Tosi wrote: > On Thu, Sep 1, 2011 at 09:54, Julian Andres Klode wrote: > > (a) APT sometimes needs to get the partition table and looks for /etc/mtab > >    and /proc/mount, the latter missing the "s" at the end. This should > >    be fixed -- and o

Bug#639897: Please don't check /proc/mounts

2011-09-02 Thread Sandro Tosi
On Thu, Sep 1, 2011 at 09:54, Julian Andres Klode wrote: > (a) APT sometimes needs to get the partition table and looks for /etc/mtab >    and /proc/mount, the latter missing the "s" at the end. This should >    be fixed -- and once it is, APT would read the file itself as well >    in addition to

Bug#639897: Please don't check /proc/mounts

2011-09-01 Thread Julian Andres Klode
On Thu, Sep 01, 2011 at 08:54:26AM +0200, Sandro Tosi wrote: > Hi, > > On Wed, Aug 31, 2011 at 16:38, Julian Andres Klode wrote: > > On Wed, Aug 31, 2011 at 03:20:13PM +0200, Sandro Tosi wrote: > >> Package: apt > >> Version: 0.8.10.3 > >> Severity: normal > >> > >> Hello, > >> I found this behav

Bug#639897: Please don't check /proc/mounts

2011-08-31 Thread Sandro Tosi
Hi, On Wed, Aug 31, 2011 at 16:38, Julian Andres Klode wrote: > On Wed, Aug 31, 2011 at 03:20:13PM +0200, Sandro Tosi wrote: >> Package: apt >> Version: 0.8.10.3 >> Severity: normal >> >> Hello, >> I found this behavior: >> >> # apt-get --version | head -n1 >> apt 0.8.10.3 for amd64 compiled on A

Bug#639897: Please don't check /proc/mounts

2011-08-31 Thread Julian Andres Klode
On Wed, Aug 31, 2011 at 03:20:13PM +0200, Sandro Tosi wrote: > Package: apt > Version: 0.8.10.3 > Severity: normal > > Hello, > I found this behavior: > > # apt-get --version | head -n1 > apt 0.8.10.3 for amd64 compiled on Apr 15 2011 07:35:31 > # strace apt-get autoremove 2>&1 | grep mounts > op

Bug#639897: Please don't check /proc/mounts

2011-08-31 Thread Sandro Tosi
Package: apt Version: 0.8.10.3 Severity: normal Hello, I found this behavior: # apt-get --version | head -n1 apt 0.8.10.3 for amd64 compiled on Apr 15 2011 07:35:31 # strace apt-get autoremove 2>&1 | grep mounts open("/proc/mounts", O_RDONLY) = 22 (it also happens on the sid vrsion). T