On Tue, Jan 26, 2010 at 10:53:24PM -0800, Matt Kraai wrote:
> Hi Florian,
> 
> I'm trying to reproduce this issue, but I can't.  I have bsdutils
> 1:2.16.2-0 installed.  Here's how it behaves on my system:
> 
>  kr...@macbookpro:~$ time script -c "sleep 10"
>  Script started, file is typescript
>  Script done, file is typescript
>  
>  real    0m10.008s
>  user    0m0.000s
>  sys     0m0.004s
> 
> If I replace "time" with "strace", I see a call to clone but no calls
> to exec (since that's performed by a child process).  Is this what you
> see?

It does behave like this now for me too - I am pretty shure it was broken
as i copied the script binary from a different system which hat 2.16.1-4
and 2 script binaries next to each other behaved different - the 2.16.2 was
broken and did not even try to execute the command and the 2.16.1 worked.

I checked the dpkg.log which packages changed sind 7th of January and nothing
except kernel and xserver were changed.

I am quite astonished that the behaviour changed - typically i have something
like this in my environment:

function telnet { echo -ne "\033]0;telnet $*\007"; script -c "telnet $*" 
~/log/telnet.`date +%Y%m%d%H%M%S`.$$; }
function ssh { echo -ne "\033]0;ssh $*\007"; script -c "ssh $*" ~/log/ssh.`date 
+%Y%m%d%H%M%S`.$$; }

to log all my sessions - this suddenly stopped working - neither telnet
nor ssh were executed anymore insteady script immediatly terminated without
and error message.

The sleep 10 stuff was an easy way to determin whether the command was executed 
or not ...

I am pretty shure it wasnt working but as i am not able to reproduce you may
close this bug - sorry for the noise ..

Flo
-- 
Florian Lohoff                                                 f...@zz.de
"Es ist ein grobes Missverständnis und eine Fehlwahrnehmung, dem Staat
im Internet Zensur- und Überwachungsabsichten zu unterstellen."
- - Bundesminister Dr. Wolfgang Schäuble -- 10. Juli in Berlin 

Attachment: signature.asc
Description: Digital signature

Reply via email to