Hide Forgot
Description of problem: anaconda --help can traceback or output IOCTL error if pipe is used. It shouldn't do it. Version-Release number of selected component (if applicable): anaconda-23.19.10-1.fc23.x86_64 How reproducible: Always Steps to Reproduce: 1. anaconda --help | less 2. anaconda --help | false Actual results: [Errno 25] Inappropriate ioctl for device Traceback (most recent call last): File "/usr/sbin/anaconda", line 769, in <module> parseArguments() File "/usr/sbin/anaconda", line 377, in parseArguments namespace = ap.parse_args(argv, boot_cmdline=boot_cmdline) File "/usr/lib64/python3.4/site-packages/pyanaconda/anaconda_argparse.py", line 242, in parse_args namespace = ArgumentParser.parse_args(self, args, namespace) File "/usr/lib64/python3.4/argparse.py", line 1728, in parse_args args, argv = self.parse_known_args(args, namespace) File "/usr/lib64/python3.4/argparse.py", line 1760, in parse_known_args namespace, args = self._parse_known_args(args, namespace) File "/usr/lib64/python3.4/argparse.py", line 1966, in _parse_known_args start_index = consume_optional(start_index) File "/usr/lib64/python3.4/argparse.py", line 1906, in consume_optional take_action(action, args, option_string) File "/usr/lib64/python3.4/argparse.py", line 1834, in take_action action(self, namespace, argument_values, option_string) File "/usr/lib64/python3.4/argparse.py", line 1016, in __call__ parser.print_help() File "/usr/lib64/python3.4/argparse.py", line 2359, in print_help self._print_message(self.format_help(), file) File "/usr/lib64/python3.4/argparse.py", line 2365, in _print_message file.write(message) BrokenPipeError: [Errno 32] Broken pipe Expected results: No errors, no tracebacks Additional info:
The error isn't wrong. You're requesting about 14k of help output, redirecting it to a pipe, then breaking the pipe. So you get EPIPE. But either way, it's argparse in python controlling the output at this point.
This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.