<div dir="ltr">(00.001466) Error (sk-unix.c:318): Can't stat socket 8577(./run/lvm/lvmetad.socket): Permission denied<div>(00.001525) Error (sk-unix.c:318): Can't stat socket 43707(./tmp/tramp.1789rAV.nbecker@nbecker7:22.OhswhsSZtGhIzqGd): No such file or directory</div>
<div>(00.004524) Error (proc_parse.c:367): Can't open 2577's mapfile link 400000: Operation not permitted</div><div>(00.004552) Error (cr-dump.c:1273): Collect mappings (pid: 2577) failed with -1</div><div>-zombie 2574 found, state R</div>
<div>(00.002271) Error (sk-unix.c:318): Can't stat socket 8577(./run/lvm/lvmetad.socket): Permission denied</div><div>(00.002330) Error (sk-unix.c:318): Can't stat socket 43707(./tmp/tramp.1789rAV.nbecker@nbecker7:22.OhswhsSZtGhIzqGd): No such file or directory</div>
<div>(00.007805) Error (proc_parse.c:367): Can't open 2572's mapfile link 400000: Operation not permitted</div><div>(00.007837) Error (cr-dump.c:1273): Collect mappings (pid: 2572) failed with -1</div><div><br></div>
<div>-------------- test_crtools.py --------------</div><div><div>import subprocess</div><div>import os</div><div>pid = os.getpid()</div><div>print 'pid:', pid</div><div>from time import sleep</div><div><br></div>
<div>if os.fork() == 0:</div><div> from daemon import basic_daemonize</div><div> basic_daemonize()</div><div> ## os.setsid()</div><div> o = os.open ('crtools.log', os.O_RDWR|os.O_CREAT)</div><div> os.dup2 (o, 1)</div>
<div> os.dup2 (o, 2)</div><div> subprocess.call (['crtools', 'dump', '-t%d'%pid])</div><div>else:</div><div> while True:</div><div> sleep (10)</div><div> print 'hi'</div>
</div><div><br></div></div>