Bug#588324: busybox: Please include cttyhack and setsid to enable ^C in initramfs shell
Hi (and excuse me for lng delay in response). > See also http://bugs.debian.org/528234 ;) > Is it really needed? Maybe setsid is enough? No, it is not enough. While D-I may not be using it, cttyhack is essential to enable job control (i.e. ^C). This is really needed for initramfs hacking/debugging, which requires serious interactive shell session. And setsid only won't do. Try doing (initramfs) setsid sh ... (initramfs) sleep 5 ^C <- this won't work and compare it with (initramfs) setsid cttyhack sh ... (initramfs) sleep 5 ^C (initramfs) <- returns immediately Best Regards, >> Because current debian build of busybox (and busybox-static) does not >> include 'cttyhack' and 'setsid', it is impossible to use ^C and other >> job control feature in initramfs shell. >> >> - http://lists.busybox.net/pipermail/busybox/2008-January/029936.html >> >> As you can see in above URL, enabling CONFIG_SETSID and CONFIG_CTTYHACK >> would be a big plus, as then you can interrupt command in case it doesn't >> return (like "ipconfig -c dhcp" or "ping"). Being forced to reboot just >> because of one "inappropriate" command is not a very happy option. > > See also http://bugs.debian.org/528234 ;) > > Is it really needed? Maybe setsid is enough? > > /mjt > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#588324: busybox: Please include cttyhack and setsid to enable ^C in initramfs shell
07.07.2010 15:23, Taisuke Yamada wrote: > Package: busybox > Version: 1:1.15.3-1 > Severity: wishlist > > Because current debian build of busybox (and busybox-static) does not > include 'cttyhack' and 'setsid', it is impossible to use ^C and other > job control feature in initramfs shell. > > - http://lists.busybox.net/pipermail/busybox/2008-January/029936.html > > As you can see in above URL, enabling CONFIG_SETSID and CONFIG_CTTYHACK > would be a big plus, as then you can interrupt command in case it doesn't > return (like "ipconfig -c dhcp" or "ping"). Being forced to reboot just > because of one "inappropriate" command is not a very happy option. See also http://bugs.debian.org/528234 ;) Is it really needed? Maybe setsid is enough? /mjt -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#588324: busybox: Please include cttyhack and setsid to enable ^C in initramfs shell
Package: busybox Version: 1:1.15.3-1 Severity: wishlist Because current debian build of busybox (and busybox-static) does not include 'cttyhack' and 'setsid', it is impossible to use ^C and other job control feature in initramfs shell. - http://lists.busybox.net/pipermail/busybox/2008-January/029936.html As you can see in above URL, enabling CONFIG_SETSID and CONFIG_CTTYHACK would be a big plus, as then you can interrupt command in case it doesn't return (like "ipconfig -c dhcp" or "ping"). Being forced to reboot just because of one "inappropriate" command is not a very happy option. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=ja_JP.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages busybox depends on: ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib busybox recommends no packages. busybox suggests no packages. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org