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

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



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).

This poses a problem when a system has a lot of mounts and so /proc/mounts is
really big.

I remember I had fixed a similar behavior on lenny by upgrading libselinux1 to
the squeeze versions, but now I'm on squeeze and I see it again, and I don't
see a trace of libselinux be linked into apt.

Regards,
Sandro

-- Package-specific info:

-- (no /etc/apt/preferences present) --


-- (/etc/apt/sources.list present, but not submitted) --


-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, '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      
ii  gnupg                   1.4.10-4        
ii  libc6                   2.11.2-8        
ii  libgcc1                 1:4.4.5-10      
ii  libstdc++6              4.6.0-2         
ii  zlib1g                  1:1.2.3.4.dfsg-3

apt recommends no packages.

Versions of packages apt suggests:
ii  apt-doc     0.8.14.1 
ii  aptitude    0.6.3-3.2
ii  bzip2       1.0.5-6  
ii  dpkg-dev    1.15.8.8 
ii  lzma        4.43-14  
ii  python-apt  0.7.100.1
ii  synaptic    0.70     

-- no debconf information



Reply to: