-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
In commit da74ed6 code that was hidden behind '#ifndef SIGTSTP' was accidentally left in the codebase, which causes ksh to lockup after the Arch Linux arch-chroot script starts ksh. Reproducer below (though note that I was using a Debian system to chroot into the Arch installation): # mount /dev/nvme0n1p3 /mnt # mount /dev/nvme0n1p1 /mnt/boot # /mnt/usr/bin/arch-chroot /mnt /bin/ksh <Lockup occurs> src/cmd/ksh93/sh/jobs.c: - Remove leftover code that sets the process group ID in such a way that arch-chroot fails to launch a functional ksh prompt (though for some reason regular chroot isn't affected). This setpgid call was only ever meant to be used on non-POSIX systems that lack SIGTSTP.
- Loading branch information
Showing
3 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters