[Top][All Lists]

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

Re: active translators stdout/stderr

From: Samuel Thibault
Subject: Re: active translators stdout/stderr
Date: Mon, 22 Feb 2016 16:50:03 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Justus Winter, on Mon 22 Feb 2016 16:48:04 +0100, wrote:
> 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?

I haven't actually investigated the precise details in both cases, but
be it one way or the other, we have an issue to fix there.


reply via email to

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