[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: active translators stdout/stderr

From: Justus Winter
Subject: Re: active translators stdout/stderr
Date: Mon, 22 Feb 2016 16:48:04 +0100
User-agent: alot/0.3.8.dev

Quoting Samuel Thibault (2016-02-14 22:09:37)
> We have various issues with the active translators' stdout/stderr:
> - When mounting /proc from /etc/init.d/rc, stdout/stderr is closed, and
>   thus as soon as e.g. mtab reports a warning, it gets SIGLOST and dies.

I don't think that is correct.  Both mount and settrans use
fshelp_start_translator, and that spawns a process with stdin/stdout
closed, and stderr inheriting the stderr of the current process.  So
unless rc is run with stderr closed, mtab should be able to print
messages to stderr.

> - When mounting the cdrom image from debian installer scripts, the
>   script is not considered finished since the isofs translator is still
>   running and possibly emitting output.

Shouldn't bla=$(blubb) only care for blubbs stdout?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]