On Mon, Sep 16, 2013 at 10:04 PM, Toralf Förster <toralf.foers...@gmx.de> wrote: > If I run the following script > > $> cat l.sh > #!/bin/sh > # > > /usr/local/bin/linux-v3.11-8718-g0fb5ca1 earlyprintk > ubda=/home/tfoerste/virtual/uml/n22unst4 ubdb=/mnt/ramdisk/n22unst4_swap > eth0=tuntap,tap2,72:ef:3d:5d:d3:db mem=1025M con0=fd:0,fd:1 con=pts > umid=uml_n22unst4 rootfstype=ext4 > > > then during start of the UML I get > > ... > Netdevice 0 (72:ef:3d:5d:d3:db) : > TUN/TAP backend - > winch_thread : TIOCSCTTY failed on fd 1 err = 1
Hmm, that's a regression introduced by: commit 250127216dd6635f5730752d7444bdec992aecb0 Author: Richard Weinberger <rich...@nod.at> Date: Sun Aug 18 13:30:09 2013 +0200 um: Run UML in it's own session. If UML is not run by a shell it can happen that UML will kill unrelated proceses upon a fatal exit because it issues a kill(0, ...). To prevent such oddities we create a new session in main(). Reported-and-tested-by: Richard W.M. Jones <rjo...@redhat.com> Signed-off-by: Richard Weinberger <rich...@nod.at> The winch-thread also has it's own session, this seems to be to an issue. -- Thanks, //richard ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel