Mock Patch to Enable Realtime Output of logs
Dan Williams
dcbw at redhat.com
Tue Oct 25 20:16:50 UTC 2005
On Wed, 2005-10-19 at 15:12 +0800, Jeff Pitman wrote:
> On Wednesday 19 October 2005 14:59, seth vidal wrote:
> There is one final problem that this patch does not cover. That is, when
> initializing the chroot and the log directory is not available yet.
> There's a bit of a buffering job done and then dumped to the log after
> the directory is created.
Got a final patch yet? If you don't have commit privs I can do it.
I'm seeing issues right now in the fedora build system like this:
100 21961 0.0 0.2 71848 5232 ? S 14:46 0:00 /usr/bin/python -tt /usr/bin/mock -r fedora-3-x86_64-core --arch x86_64 --resultdir=/mnt/build/builder_work/b798c880f2
100 22916 0.0 0.0 0 0 ? Z 14:48 0:00 [sh] <defunct>
[hammer1 ~]# strace -p 21961
Process 21961 attached - interrupt to quit
read(153, <unfinished ...>
Process 21961 detached
[hammer1 ~]#
which I think could be avoided by not using commands.getstatusoutput(). Not sure though. Any other thoughts?
Dan
More information about the Fedora-buildsys-list
mailing list