Bug 1165793
| Summary: | 'bash --debugger' should complain if bashdb is not installed, or else be turned off entirely | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Eric Blake <eblake> | |
| Component: | bash | Assignee: | Ondrej Oprala <ooprala> | |
| Status: | CLOSED ERRATA | QA Contact: | Martin Kyral <mkyral> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 7.1 | CC: | eblake, isenfeld, ovasik | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | bash-4.2.46-19.el7 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1260568 (view as bug list) | Environment: | ||
| Last Closed: | 2015-11-19 04:39:30 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1260568 | |||
|
Description
Eric Blake
2014-11-19 17:46:21 UTC
Does bashdb set some bash property or environment variable that could be checked in start_debugger(), the absence of which could then trigger an error message? I like the idea, and I agree we shouldn't just silently go along with executing the script when there's no debugger. However, I don't think we'll really benefit from it unless we try to get bashdb into EPEL as a parallel effort. This way, we'll have a neat system ready for some unspecified point in the future when someone might decide to bundle it, probably unaware of our effort with the alternatives system. Does that mean we need to clone this to Fedora first, to get the alternatives system working there in both bash and bashdb? See also this upstream message where I asked if bash should quit silently ignoring --debugger when the configured file does not exist. https://lists.gnu.org/archive/html/bug-bash/2014-11/msg00137.html I'm glad that Chet agrees with this. I'm not sure about "fedora first", but it might be for the better. We'd test and get it working in fedora and hopefully wouldn't have to do more for future RHELs. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2144.html |