Subject: Re: chmod stuck while "chmoding"
To: BASTIEN Nicolas Bruno <lakomok@free.fr>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 02/09/2002 01:38:01
On Fri, Feb 08, 2002 at 09:44:28PM +0200, BASTIEN Nicolas Bruno wrote:
> done
> 
> 
>    324 ktrace   EMUL  "netbsd"
>    324 ktrace   RET   ktrace 0
>    324 ktrace   CALL  execve(0xbfbfd7d8,0xbfbfdc64,0xbfbfdc74)
>    324 ktrace   NAMI  "/sbin/chmod"
>    324 ktrace   RET   execve -1 errno 2 No such file or directory
>    324 ktrace   CALL  execve(0xbfbfd7d8,0xbfbfdc64,0xbfbfdc74)
>    324 ktrace   NAMI  "/usr/sbin/chmod"
>    324 ktrace   RET   execve -1 errno 2 No such file or directory
>    324 ktrace   CALL  execve(0xbfbfd7d8,0xbfbfdc64,0xbfbfdc74)
>    324 ktrace   NAMI  "/bin/chmod"
>    324 chmod    EMUL  "netbsd"
>    324 chmod    RET   execve JUSTRETURN
>    324 chmod    CALL  issetugid
>    324 chmod    RET   issetugid 0
>    324 chmod    CALL  __sigprocmask14(0x1,0xbfbfdbe4,0xbfbfdbd4)
>    324 chmod    RET   __sigprocmask14 0
>    324 chmod    PSIG  SIGKILL SIG_DFL
> 
> 
> what does this mean ?

This is a trace of the systems call the process does to the kernel, and
return values.

This is strange, it's not stuck in any system call. It looks like chmod is
spinning over itself.
Maybe the binary got corrupted. Can you try to recover it from the
distrib's base.tgz ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--