[Nix-dev] Halting on mips - troubles

Michael Raskin 7c6f434c at mail.ru
Wed Aug 25 21:31:42 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/25/2010 11:19 PM, Lluís Batlle i Rossell wrote:
> When I kill that 'bash -e /proc/self/fd/8', the halt sequence continues. Any idea of what happens?
> 
> Here is a "ps fax" of what's left after running halt.
> 
>  1550 ?        Ss     0:00 /nix/store/yy3qdcb1bffqj4ssd8l1l6a8q1wsargw-bash-4.1-p2/bin/bash -e /proc/self/fd/8
>  2697 ?        S      0:00  \_ sleep 1
>  1622 ?        Ss  

What happens after one second? The same, but "sleep" PID changes? Can
you catch any other states?

What "ls -l" says about /proc/<bash PID>/fd/8 ? Is it readable?

Can you find "while" and "sleep 1" in the same file in /etc/init? Where?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMdW+cAAoJEE6tnN0aWvw38+cH/2lEvGgdLk4ZhNSlPQ0FgPmx
O5G2JMz4Mp0ieX7JDUUtzcpFBAoh963S0zYqssiMdhaqX+9HzaZh3frMR+Mfpm3j
0syXkghtUVdXsSO9Iss9M5UfKPJJDEHVewLncmJv1f8N6et+iQCMIDQaeEnCKF1I
vbtLt/xAgUlLwtjZN9Y2skUGIgO0cGSMSKCSITkqtd1LumLrrZ2NJeymaXAJVJ3T
wU7HRaXqxLn10BPXxTzyYx23OIsF+oXPxKHH+f0oMNZ1U85M/Qypp+6OEZ0uxOSG
E1DyVH+JJNEFntV3auT5rpqXw1JgwtRXjsV2DtwrdMgaQd08N4bS2Gg1SHIksOQ=
=pA/D
-----END PGP SIGNATURE-----



More information about the nix-dev mailing list