Bug #8426
closed
stty does not handle no-tty input
Added by Janos Mattyasovszky over 8 years ago.
Updated over 8 years ago.
Description
In rudder-init, when Hit any key to continue...
is displayed, and you "echo" the answers to automate the process, you get an error:
Hit any key to continue....stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device
Please make stty conditional, by using [ -t 0 ], so no-tty environments can skip this part.
Or completely skip the Pause()
function, but this would break functionality with existing behavior, so this is only recommended for new versions...
- Target version set to 2.11.22
- Status changed from New to In progress
- Assignee changed from Nicolas CHARLES to Benoît PECCATTE
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder-packages/pull/956
- Assignee changed from Nicolas CHARLES to Jonathan CLARKE
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.11.22, 3.0.17, 3.1.11 and 3.2.4 which were released today.
Also available in: Atom
PDF