Project

General

Profile

Bug #8426

stty does not handle no-tty input

Added by Janos Mattyasovszky almost 5 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
User visibility:
Effort required:
Priority:

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.

#1

Updated by Janos Mattyasovszky almost 5 years ago

Or completely skip the Pause() function, but this would break functionality with existing behavior, so this is only recommended for new versions...

#2

Updated by Benoît PECCATTE almost 5 years ago

  • Target version set to 2.11.22

Indeed

#3

Updated by Benoît PECCATTE almost 5 years ago

  • Status changed from New to In progress
  • Assignee changed from Nicolas CHARLES to Benoît PECCATTE
#4

Updated by Benoît PECCATTE almost 5 years ago

  • 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
#5

Updated by Benoît PECCATTE almost 5 years ago

  • Assignee changed from Nicolas CHARLES to Jonathan CLARKE
#6

Updated by Benoît PECCATTE almost 5 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
#7

Updated by Vincent MEMBRÉ over 4 years ago

  • 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