copied text from mentioned blog:

July 3, 2008

And now I'm remembering why replacing the command line utilities out of
Ubuntu is so vital to getting a reliable build:

    tee: standard output: Resource temporarily unavailable
    tee: write error

The forkbomb script pipes the output of the build through "tee". If the
xterm it's writing to ever gets scheduled slowly enough for the output
pipe to fill up and cause a short write, tee _exits_. The busybox
version of tee IS NOT THAT STUPID.

Grrrr.

Also, User Mode Linux has developed strange new bugs circa 2.6.25, and
if you run it from a shell script and it gets a kernel panic, it sends a
kill signal to every process in it session, which takes down the shell
script running it. Meaning without toybox's oneit (to shut it down
cleanly), I have to run UML under setsid (and then reset the tty
afterwards) or else the shell script aborts when UML exits. (Even if I
run it in a subshell.)

Implemented tee in toybox and added that to the start of my $PATH while
doing the RECORD_COMMANDS forkbomb. (Yeah, I could have just used the
busybox version, but it was an excuse to add a small simple command to
toybox. I still need to add a test suite for tee.)


** Changed in: linux (Ubuntu)
Sourcepackagename: None => linux

-- 
standard output: Resource temporarily unavailable
https://bugs.launchpad.net/bugs/151440
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to