Am Montag, den 13.07.2015, 15:52 +0200 schrieb Richard Weinberger:
> On Mon, Jul 13, 2015 at 3:41 PM, Thomas Meyer <tho...@m3y3r.de> 
> wrote:
> > Hi,
> > 
> > The uml_net network setup "fails" on my computer with:
> > 
> > [   15.930000] helper_wait : waitpid process 11673 failed, errno = 
> > 10
> > [   15.930000] * modprobe tun
> >                * ifconfig tap0 192.168.10.1 netmask 255.255.255.255 
> > up
> >                * bash -c echo 1 > /proc/sys/net/ipv4/ip_forward
> > [   20.480000] helper_wait : waitpid process 11780 failed, errno = 
> > 10
> > [   20.480000] * route add -host 192.168.10.2 dev tap0
> >                * bash -c echo 1 >
> > /proc/sys/net/ipv4/conf/tap0/proxy_arp
> > 
> > because I run uml linux as a normal user and I guess these commands
> > fail, because of insufficient rights:
> > bash -c echo 1 > /proc/sys/net/ipv4/ip_forward
> > bash -c echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp
> > 
> > But this failure is okay for me, as firewalld, sets above options
> > correctly on my host computer.
> > 
> > The problem I see is that UML list two zombie processes:
> >   11780 root       20   0     0     0     0 Z  0.0  0.0  0:00.00 
> > 15:34 │  │     ├─ uml_net
> >   11673 root       20   0     0     0     0 Z  0.0  0.0  0:00.00 
> > 15:34 │  │     ├─ uml_net
> > 
> > UML seems to never reap those two processes, likely because of 
> > errno=10 exit code.
> > 
> > any idea how to fix this?
> 
> Hmm, it tries to reap them using waitpid().
> But it seems to fail with ECHILD.
> 
> Can you add a few prints to compare the PIDs?

Sure, where should I add those?
os-Linux/helper.c - helper_wait(int pid) ?


> 


------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to