Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rpm spits informative garbage to stdout instead of stderr #962

Open
pmatilai opened this issue Dec 2, 2019 · 1 comment
Open

Rpm spits informative garbage to stdout instead of stderr #962

pmatilai opened this issue Dec 2, 2019 · 1 comment

Comments

@pmatilai
Copy link
Member

pmatilai commented Dec 2, 2019

Originally reports include but are by no means limited to:
https://bugzilla.redhat.com/show_bug.cgi?id=1358861
https://bugzilla.redhat.com/show_bug.cgi?id=247239
https://bugzilla.redhat.com/show_bug.cgi?id=439290

Already moved to upstream tracking at least once in the Trac days (,http://rpm.org/ticket/31) only the upstream ticket system changed and old stuff got flushed. And here we go again:

$ rpm -qla | grep "(contains no files)" | wc -l
25

Such messages have no business being on stdout, but fixing this requires redesigning half of how rpm outputs information, and would break half of rpm-using scripts out there. So if changed, we should time it along with other cli-breakage so that we only break things once. Exit code sanity come to mind as a related thing.

@DemiMarie
Copy link
Contributor

Exit code sanity come to mind as a related thing.

Does that include exiting with a non-zero status if an I/O error occurs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

2 participants