Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
init: Don't perform ioctl (TIOCSCTTY).
Doing this breaks bash in virt-rescue with the error: bash: cannot set terminal process group (-1): Inappropriate ioctl for device bash: no job control in this shell Also ^C etc does not work. Removing this ioctl call fixes this. I noticed the problem because supermin's init compiled with dietlibc worked, since the dietlibc header files don't define TIOCSCTTY and hence the ioctl was not called.
- Loading branch information