This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 817070 - ipa-server-install -h |less prints a couple of junk characters on the first line
ipa-server-install -h |less prints a couple of junk characters on the first line
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa (Show other bugs)
All Linux
low Severity low
: rc
: ---
Assigned To: Rob Crittenden
Depends On:
  Show dependency treegraph
Reported: 2012-04-27 11:09 EDT by David Kovalsky
Modified: 2014-06-17 20:02 EDT (History)
5 users (show)

See Also:
Fixed In Version: ipa-3.2.1-1.el7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2014-06-13 07:58:43 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Kovalsky 2012-04-27 11:09:56 EDT
# ipa-server-install -h|less

ESC[?1034hUsage: ipa-server-install [options]

  --version             show program's version number and exit
  -h, --help            show this help message and exit

##### etc ...

The control characters are not printed into the terminal, only when one pipes the output to less or redirects to a file (via '>' operator).

I tried this with a couple of tools from the coreutils package, virt-install and a bunch of random other files, but it's only ipa-server-install that prints this. So I blame IPA :)

Comment 1 Rob Crittenden 2012-04-27 15:03:07 EDT
This is not an IPA issue, it has to do with python and terminal interaction:
Comment 2 Rob Crittenden 2012-04-27 15:05:32 EDT
hmm, virt-install is also python and uses optionparser...
Comment 4 Martin Kosek 2012-04-30 04:22:07 EDT
Upstream ticket:
Comment 12 Scott Poore 2013-12-18 20:01:07 EST

Version ::


Test Results ::

:: [   LOG    ] :: ipa_bugcheck_bz817070:  ipa-server-install -h less prints a couple of junk characters on the first line

:: [   PASS   ] :: Running 'ipa-server-install -h > /tmp/tmpout.ipa_bugcheck_bz817070 2>&1' (Expected 0, got 0)
:: [   PASS   ] :: File '/tmp/tmpout.ipa_bugcheck_bz817070' should not contain '[[:cntrl:]]' 
:: [   PASS   ] :: BZ 817070 not found
Comment 14 Ludek Smid 2014-06-13 07:58:43 EDT
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.

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