Whatever command I try to strace, I just get the execve that tries to start it printed. It seems like the command isn't even run; strace returns immediately, and there is no output from, e.g., "ls". Example:
Code:
% strace ls
execve("/bin/ls", ["ls"], [/* 43 vars */]) = 0
% strace sleep 666
execve("/bin/sleep", ["sleep", "666"], [/* 43 vars */]) = 0
% which strace
/usr/bin/strace
% strace -V
strace -- version 4.5.3
The "sleep 666" example is from the manual page strace(1) (they'd interrupt it, but I don't even get that far).
I'm running FC2 on a Dell Latitude. I tried the -f and -v options, with no effect. Any idea why strace is behaving like this, or how it could be fixed?
P.S. I'm not sure if "strace" counts as software. If not, please refer me to a more appropriate forum.