Your message dated Tue, 14 Oct 2008 17:57:24 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#502202: dpkg: crashes if $PATH contains unreachable
nfs directory
has caused the Debian Bug report #502202,
regarding dpkg: crashes if $PATH contains unreachable nfs directory
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 [EMAIL PROTECTED]
immediately.)
--
502202: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502202
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: dpkg
Version: 1.14.16.6ubuntu4
Severity: normal
Running 'dpkg -l' gives the following if $PATH contains an unreachable
NFS-mounted directory:
[EMAIL PROTECTED]:~$ dpkg -l
dpkg: failed to exec dpkg-query: Input/output error
[EMAIL PROTECTED]:~$
removing that directory from $PATH fixes the problem.
I assume this is caused by dpkg looking for something in any directory
in $PATH and not skipping unaccessible ones.
-- System Information:
Debian Release: lenny/sid
APT prefers hardy-updates
APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-19-server (SMP w/32 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dpkg depends on:
ii coreutils 6.10-3ubuntu2 The GNU core utilities
ii libc6 2.7-10ubuntu4 GNU C Library: Shared libraries
ii lzma 4.43-12ubuntu1 Compression method of 7z format in
dpkg recommends no packages.
-- no debconf information
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
On Tue, 14 Oct 2008, Sven Joachim wrote:
> On 2008-10-14 15:35 +0200, Daniel Abel wrote:
>
> > Package: dpkg
> > Version: 1.14.16.6ubuntu4
> > Severity: normal
>
> Please report Ubuntu bugs in Launchpad, not in the Debian BTS.
Or explain why it's also relevant for Debian. In this case, it seems
obvious though.
> > Running 'dpkg -l' gives the following if $PATH contains an unreachable
> > NFS-mounted directory:
> > [EMAIL PROTECTED]:~$ dpkg -l
> > dpkg: failed to exec dpkg-query: Input/output error
> > [EMAIL PROTECTED]:~$
> >
> > removing that directory from $PATH fixes the problem.
> >
> > I assume this is caused by dpkg looking for something in any directory
> > in $PATH and not skipping unaccessible ones.
>
> It is the glibc's execvp() function that performs this search and fails,
> there is nothing dpkg can do about that. See exec(3).
So closing that bug as there's not much to do and it's always best for
dpkg to fail when a system call fails.
Cheers,
--
Raphaël Hertzog
Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/
--- End Message ---