Hide Forgot
Preupgrade print message "Inappropriate ioctl for device" to stderr when output is redirect to file. # preupg <<<y >preupg.out 2>preupg.err # tail preupg.err stty: standard input: Inappropriate ioctl for device stty: standard input: Inappropriate ioctl for device stty: standard input: Inappropriate ioctl for device stty: standard input: Inappropriate ioctl for device stty: standard input: Inappropriate ioctl for device stty: standard input: Inappropriate ioctl for device stty: standard input: Inappropriate ioctl for device stty: standard input: Inappropriate ioctl for device stty: standard input: Inappropriate ioctl for device stty: standard input: Inappropriate ioctl for device # rpm -q preupgrade-assistant preupgrade-assistant-2.1.6-3.el6.noarch
*** Bug 1363911 has been marked as a duplicate of this bug. ***
Turns out this is caused by the STDIN redirection, not the STDOUT; i.e. preupg --force >out 2>err works fine, but preupg <<<y suffers from this.
Closing this bugzilla as the component is under a maintenance mode in which the maintainers are going to fix only critical bugs. If you consider the bugzilla critical, feel free to reopen the bug with an explanation.
This is already fixed in latest build.