[Dctrl-tools-devel] Bug#607359: grep-aptavail: doesn't read /etc/grep-dctrl.rc
Jakub Wilk
jwilk at debian.org
Fri Dec 17 12:29:28 UTC 2010
Package: dctrl-tools
Version: 2.17
Severity: important
grep-aptavail doesn't work at all:
$ grep-aptavail '' | wc -l
0
I think it's because it fails to read /etc/grep-dctrl.rc (and it tries
to read /usr/local/etc/grep-dctrl.rc instead):
$ strace -e open grep-aptavail ''
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/lib/i686/cmov/libc.so.6", O_RDONLY) = 3
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
open("/etc/nsswitch.conf", O_RDONLY) = 3
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/lib/i686/cmov/libnss_compat.so.2", O_RDONLY) = 3
open("/lib/i686/cmov/libnsl.so.1", O_RDONLY) = 3
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/lib/i686/cmov/libnss_nis.so.2", O_RDONLY) = 3
open("/lib/i686/cmov/libnss_files.so.2", O_RDONLY) = 3
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
open("/home/jwilk/.grep-dctrlrc", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/etc/grep-dctrl.rc", O_RDONLY) = -1 ENOENT (No such file or directory)
-- System Information:
Debian Release: 6.0
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'experimental'), (500, 'testing')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dctrl-tools depends on:
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
dctrl-tools recommends no packages.
Versions of packages dctrl-tools suggests:
ii apt 0.8.10 Advanced front-end for dpkg
pn debtags <none> (no description available)
--
Jakub Wilk
More information about the Dctrl-tools-devel
mailing list