RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 783292 - help command fails when pipe is broken
Summary: help command fails when pipe is broken
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Martin Kosek
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-19 20:56 UTC by Dmitri Pal
Modified: 2015-06-02 14:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-21 15:26:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dmitri Pal 2012-01-19 20:56:29 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/2284

The help command fails with a traceback when piped into a bad command:

{{{
$ ipa help automount|bad
-bash: bad: command not found
ipa: ERROR: non-public: IOError: [Errno 32] Broken pipe
Traceback (most recent call last):
  File "/home/rcrit/redhat/freeipa-test/ipalib/backend.py", line 125, in execute
    result = self.Command[_name](*args, **options)
  File "/home/rcrit/redhat/freeipa-test/ipalib/frontend.py", line 438, in __call__
    ret = self.run(*args, **options)
  File "/home/rcrit/redhat/freeipa-test/ipalib/cli.py", line 755, in run
    self.print_commands(name)
  File "/home/rcrit/redhat/freeipa-test/ipalib/cli.py", line 825, in print_commands
    print '  %s  %s' % (to_cli(c.name).ljust(mcl), c.summary)
IOError: [Errno 32] Broken pipe
ipa: ERROR: an internal error has occurred
}}}

Comment 2 Martin Kosek 2015-01-21 15:26:33 UTC
Thank you taking your time and submitting this request for Red Hat Enterprise Linux. Unfortunately, this bug was not given a priority and was deferred both in the upstream project and in Red Hat Enterprise Linux.

Given that we are unable to fulfill this request in following Red Hat Enterprise Linux releases, I am closing the Bugzilla as DEFERRED. To request that Red Hat re-considers the decision, please re-open the Bugzilla via appropriate support channels and provide additional business and/or technical details about its importance to you.

Note that you can still track this request or even contribute patches in the referred upstream Trac ticket.

Comment 3 Jan Cholasta 2015-06-02 14:00:06 UTC
Fixed upstream
master:
https://fedorahosted.org/freeipa/changeset/b98077ea6844eddd8810e4ae6ddd5bf40c61b58e


Note You need to log in before you can comment on or make changes to this bug.