Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#39274 - [mkinitcpio] "job control is turned off" in interactive shell
Attached to Project:
Arch Linux
Opened by Nikolay Amiantov (abbradar) - Monday, 10 March 2014, 15:04 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 05 April 2014, 17:58 GMT
Opened by Nikolay Amiantov (abbradar) - Monday, 10 March 2014, 15:04 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 05 April 2014, 17:58 GMT
|
DetailsDescription:
While using interactive shell, there is a "job control is turned off" message and usual job control hotkeys (^C, ^Z and others) don't work. The solution is to give a control tty to the shell; proposed patch to init-functions is attached. This also requires enabling CONFIG_SETSID in mkinitcpio-busybox. This patch works both for called and exec'd shells (and even if shell is exec'd after it was called). This also simplifies interactive shell codepath with use of cttyhack (already included in mkinitcpio-busybox). Additional info: mkinitcpio-busybox 1.21.1-2 mkinitcpio 17-1 Steps to reproduce: 1. Either add "break" to kernel cmdline or break your boot process. 2. Try to use job control. |
This task depends upon
Closed by Dave Reisner (falconindy)
Saturday, 05 April 2014, 17:58 GMT
Reason for closing: Won't implement
Additional comments about closing: Seems extremely edge case and not something everyone needs. Can be provided cleanly with custom hooks.
Saturday, 05 April 2014, 17:58 GMT
Reason for closing: Won't implement
Additional comments about closing: Seems extremely edge case and not something everyone needs. Can be provided cleanly with custom hooks.
use-setsid-and-cttyhack-in-in...
Dave, what do you think?
Edit: Oh, and I also have used mkinitcpio as a generator for initramfs's for testing my own kernel modules in qemu (it is the fastest method for debugging to generate mkinitcpio image with my module in it and boot it from qemu).