[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bash-bug
Subject:    Re: tty-login fails if another bash is exec'ed in .bashrc: no job control in background
From:       Chet Ramey <chet.ramey () case ! edu>
Date:       2020-02-16 22:03:52
Message-ID: b2abb05e-1f0d-5609-83fd-3f84bd00d811 () case ! edu
[Download RAW message or body]

On 2/16/20 3:15 PM, Tycho Kirchner wrote:
> Dear bash-maintainers,
> 
> 
> Description:
>     When another instance of bash is called *within the .bashrc* using the
>     exec-builtin within a tty (e.g. Ctrl+Alt+F1) the following error occurs:
> 
>     initialize_job_control: no job control in background: Bad file descriptor
> 
>     On the next keypress the user is logged off. This used to work fine in
> bash 4.4.

Try patch 4 to bash-5.0.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic