Package: fai-nfsroot
Severity: normal
Version: 5.10.3
Tags: patch
When using FAI 5.10.3 in a Debian bullseye nfsroot, I get this output
when aborting the installation with an "exit 1" somewhere in my
configspace:
```
[... some service starts ...]
FAI: installation aborted.
reboot with: faireboot
or after a logout
bash: cannot set terminal process group (): Inappropriate ioctl
for device
bash: no job control in this shell
root@gateway:/#
```
Keyboard input is very delayed in this state, the shell is not usable at all.
With this patch, the bash call results in a working interactive shell:
```
diff --git a/lib/fai-abort b/lib/fai-abort
index 69ed563a..383f6e36 100755
--- a/lib/fai-abort
+++ b/lib/fai-abort
@@ -17,9 +17,10 @@ case "$1" in
esac
echo FAI: installation aborted.
+echo "Hit to obtain a shell"
echo reboot with: faireboot
echo or after a logout
-bash
+openvt -c1 -f -w -- /bin/bash
cd /
umount -ar
reboot -dfi
```
Maybe a valid change for upcoming FAI 6.0.0?
Mike
--
DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de
pgpHtWm3cylt2.pgp
Description: Digitale PGP-Signatur