From: "Toralf Förster" <toralf.foerster@gmx.de>
To: richard -rw- weinberger <richard.weinberger@gmail.com>
Cc: UML devel <user-mode-linux-devel@lists.sourceforge.net>
Subject: Re: [uml-devel] difference of a shell script versus command line WRT "winch_thread : TIOCSCTTY failed on fd 1 err = 1"
Date: Sun, 22 Sep 2013 10:27:43 +0200 [thread overview]
Message-ID: <523EA9FF.60804@gmx.de> (raw)
In-Reply-To: <CAFLxGvyw7j_xGpk0F-DLLhxJFEXUjW_Jc0ggKySmRe0NszDAuw@mail.gmail.com>
On 09/22/2013 08:52 AM, richard -rw- weinberger wrote:
> On Mon, Sep 16, 2013 at 10:04 PM, Toralf Förster <toralf.foerster@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 <richard@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 <rjones@redhat.com>
> Signed-off-by: Richard Weinberger <richard@nod.at>
>
>
> The winch-thread also has it's own session, this seems to be to an issue.
>
sure - I can reproduce it with linux-v3.11-8718-g0fb5ca1 , which doesn't contain that commit, or ?
--
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
------------------------------------------------------------------------------
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
next prev parent reply other threads:[~2013-09-22 8:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-16 20:04 [uml-devel] difference of a shell script versus command line WRT "winch_thread : TIOCSCTTY failed on fd 1 err = 1" Toralf Förster
2013-09-22 6:52 ` richard -rw- weinberger
2013-09-22 8:27 ` Toralf Förster [this message]
2013-09-22 9:20 ` Toralf Förster
2013-09-22 10:32 ` Richard Weinberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=523EA9FF.60804@gmx.de \
--to=toralf.foerster@gmx.de \
--cc=richard.weinberger@gmail.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.