Project

General

Profile

Actions

Bug #8426

closed

stty does not handle no-tty input

Added by Janos Mattyasovszky almost 8 years ago. Updated almost 8 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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.

Actions #1

Updated by Janos Mattyasovszky almost 8 years ago

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

Actions #2

Updated by Benoît PECCATTE almost 8 years ago

  • Target version set to 2.11.22

Indeed

Actions #3

Updated by Benoît PECCATTE almost 8 years ago

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

Updated by Benoît PECCATTE almost 8 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
Actions #5

Updated by Benoît PECCATTE almost 8 years ago

  • Assignee changed from Nicolas CHARLES to Jonathan CLARKE
Actions #6

Updated by Benoît PECCATTE almost 8 years ago

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

Updated by Vincent MEMBRÉ almost 8 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.

Actions

Also available in: Atom PDF