Bug 1519182
Summary: | Error messages generated by glibc will not be redirected in Shell | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Steffen Froemer <sfroemer> |
Component: | glibc | Assignee: | glibc team <glibc-bugzilla> |
Status: | CLOSED NOTABUG | QA Contact: | qe-baseos-tools-bugs |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.4 | CC: | ashankar, fweimer, mnewsome, pfrankli |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-11-30 11:01:41 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: |
Description
Steffen Froemer
2017-11-30 10:57:18 UTC
This is deliberately done to prevent leaking potentially sensitive data into other processes along a shell pipeline. Note that future versions of glibc will drastically reduce the amount of diagnostic data printed once corruption (stack corruption, heap corruption, buffer overflow attempt) is detected. Please let us know if you have a use case which needs this output. Our recommendation is to rely on coredump and automated coredump analysis tools (so that the full dump never has to be written to disk). I forgot to mention that there are various tools to capture terminal output, such as script. Tracking commands with a non-zero exit status might also help. This is also needed to capture segmentation faults, which do not trigger any output at all (and all these corruptions can easily result in segmentation faults instead of glibc error messages due to the heuristic nature of the detection mechanisms). |