Bug 1302815
Summary: | pinfo displays debug messages: "Searching for indirect done", "Searching for tag table done" | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Steve <y9t7sypezp> | ||||||
Component: | pinfo | Assignee: | Lukáš Nykrýn <lnykryn> | ||||||
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 25 | CC: | lnykryn | ||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2017-12-12 11:06:44 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
I can't see why is this a problem. (In reply to Lukáš Nykrýn from comment #1) > I can't see why is this a problem. Those debug messages are meaningless to the user, and there is no way to disable them. There is an undocumented "VERBOSE" option that is accessible through the pinforc file, but it only controls the display of the "Przemek's Info Viewer v0.6.10" message: $ grep -r VERBOSE pinfo-0.6.10/ pinfo-0.6.10/src/parse_config.c: else if (!strncmp(temp, "VERBOSE", 7)) Compare the "info" command, which is completely quiet by default: $ info make $ info --debug=1 make info: looking for file "make" info: looking for file make in /usr/share/info info: found file /usr/share/info/make.info.gz Created attachment 1119482 [details]
/etc/pinforc patch to disable CLEAR-SCREEN-AT-EXIT and to disable VERBOSE
This patch sets these options in /etc/pinforc:
CLEAR-SCREEN-AT-EXIT=false
VERBOSE=false
With this patch, the two debug messages are still displayed:
$ pinfo make
Searching for indirect done
Searching for tag table done
(In reply to Steve from comment #3) ... > With this patch, the two debug messages are still displayed: ... There appear to be two test cases: 1. In a terminal window, the debug messages are displayed. 2. In a console (ctrl-alt-f2), no debug messages are displayed. (In reply to Steve from comment #3) ... > VERBOSE=false ... Disabling VERBOSE breaks the "version" option: $ pinfo --version $ 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. Reopen against F25, which has: $ rpm -q pinfo pinfo-0.6.10-13.fc24.x86_64 This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. 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 '25'. 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 25 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 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 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. |
Created attachment 1119207 [details] /etc/pinforc patch to set CLEAR-SCREEN-AT-EXIT=false Description of problem: Pinfo displays debug messages: $ pinfo make Przemek's Info Viewer v0.6.10 Searching for indirect done Searching for tag table done Version-Release number of selected component (if applicable): pinfo-0.6.10-12.fc23.x86_64 How reproducible: Always. Steps to Reproduce: 1. Disable the option to clear the screen in /etc/pinforc: -CLEAR-SCREEN-AT-EXIT=true +CLEAR-SCREEN-AT-EXIT=false (Attachment has full patch.) 2. $ pinfo make 3. Press "q" to quit pinfo. Actual results: Debug messages are displayed: Searching for indirect done Searching for tag table done Expected results: Debug messages are not displayed. Additional info: In the default configuration, CLEAR-SCREEN-AT-EXIT=true. The debug messages are still displayed when the screen is cleared, and they can be seen by scrolling back in the terminal window.