bug-bash
[Top][All Lists]
Advanced

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

Re: Boot failure "cannot set terminal process group (-1): Inappropriate


From: Chet Ramey
Subject: Re: Boot failure "cannot set terminal process group (-1): Inappropriate ioctl for device"
Date: Sun, 27 Oct 2013 21:06:19 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.0.1

On 10/26/13, 1:35 PM, Markus Elfring wrote:

> Bash Version: 4.2
> Patch Level: 42
> Release Status: release
> 
> Description:
> I have dared to build the current Linux 3.11.6 for my needs. Now I get the
> following messages on boot tries.
> 
> Failed to execute /init
> sh: cannot set terminal process group (-1): Inappropriate ioctl for device
> sh: no job control in this shell
> sh-4.2#
> 
> How can this issue be resolved for the desired system initialisation with the
> program "bash 4.2-61.1.3"?

It's unlikely that this has anything to do with bash.  A more plausible
sequence of events goes something like this:

1.  boot process attempts to exec /init (doesn't init usually live
    somewhere else?) and fails
2.  boot process attempts to start an interactive instance of /bin/sh
3.  sh (bash) finds that it can't open /dev/tty and set the terminal's
    process group
4.  sh starts interactively, but without job control

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



reply via email to

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