Re: [Errno 10] No child processes
Hi, xiao li This is very normally error. Maybe some configure is wrong, create a builder, it have configure look like following: --- [r...@builder4-x86 ~]# grep mockdir /etc/kojid/kojid.conf mockdir=/dist/mock [r...@builder4-x86 ~]# ll -d /dist/mock/ drwxrwsr-x 6 root mock 4096 09-14 09:31 /dist/mock/ [r...@builder4-x86 ~]# grep mock /etc/group mock:x:110:kojibuilder [r...@builder4-x86 ~]# grep kojibuilder /etc/passwd kojibuilder:x:101:107::/builddir:/bin/bash [r...@builder4-x86 ~]# grep kojibuilder /etc/group mock:x:110:kojibuilder kojibuilder:x:107: = 1. must have kojibuilder user and mock group 2. kojibuilder must have privileges to mockdir a chinese help maybe found on my wiki : http://jianlee.ylinux.org/Computer/%E6%9C%8D%E5%8A%A1%E5%99%A8/koji.html#sec64 2009/9/11 xiao li lixiao...@gmail.com: When I build srpm.I met a problem.It shows errno 10 and no child processes.The log follows, 'Traceback (most recent call last):\n File /usr/sbin/kojid, line 1275, in runTask\n response = (handler.run(),)\n File /usr/sbin/kojid, line 1351, in run\n return self.handler(*self.params,**self.opts)\n File /usr/sbin/kojid, line 2009, in handler\n broot.init()\n File /usr/sbin/kojid, line 467, in init\n rv = self.mock([\'--init\'])\n File /usr/sbin/kojid, line 389, in mock\n status = os.waitpid(pid, os.WNOHANG)\nOSError: [Errno 10] No child processes\n' Thanks for your help. -- Jian Lee [ http://jianlee.ylinux.org ] -- Fedora-buildsys-list mailing list Fedora-buildsys-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
Re: [Errno 10] No child processes
On 09/14/2009 03:45 AM, À wrote: Hi, xiao li This is very normally error. FWIW, I have this error on Fedora 11 regularly, too. Kind regards, Jeroen van Meeuwen -kanarip -- Fedora-buildsys-list mailing list Fedora-buildsys-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
No child processes
I have copied four virtual machines to the server from my PC,but it shows this error.425 build (dist-kylin, system-config-network-1.3.99-TJ.src.rpm): open (kojid) - FAILED: Fault: Fault 1: 'Traceback (most recent call last):\n File /usr/sbin/kojid, line 1275, in runTask\nresponse = (handler.run(),)\n File /usr/sbin/kojid, line 1351, in run\nreturn self.handler(*self.params,**self.opts)\n File /usr/sbin/kojid, line 2009, in handler\nbroot.init()\n File /usr/sbin/kojid, line 467, in init\nrv = self.mock([\'--init\'])\n File /usr/sbin/kojid, line 389, in mock\n status = os.waitpid(pid, os.WNOHANG)\nOSError: [Errno 10] No child processes\n'Please help me. -- Fedora-buildsys-list mailing list Fedora-buildsys-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
Re: No child processes
lixiao-a wrote: File /usr/sbin/kojid, line 2009, in handler broot.init()\n File /usr/sbin/kojid, line 467, in init rv = self.mock([\'--init\'])\n File /usr/sbin/kojid, line 389, in mock status = os.waitpid(pid, os.WNOHANG) OSError: [Errno 10] No child processes\n' It looks like the mock subprocess is dying before kojid can wait on it. Normally mock should never exit that fast, though we should probably handle that error a little more informatively. Try running mock manually on your build system to see if you can replicate the error that way. You might also try running kojid in the foreground (--fg option) in order to see the output from mock. -- Fedora-buildsys-list mailing list Fedora-buildsys-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-buildsys-list