RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1163339 - [RFE] please add add-auto-load-scripts-directory command
Summary: [RFE] please add add-auto-load-scripts-directory command
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: gdb
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Sergio Durigan Junior
QA Contact: Miroslav Franc
URL:
Whiteboard:
Depends On: 1163335
Blocks: 1128637
TreeView+ depends on / blocked
 
Reported: 2014-11-12 14:22 UTC by Jakub Filak
Modified: 2016-12-01 00:50 UTC (History)
13 users (show)

Fixed In Version: gdb-7.6.1-63.el7
Doc Type: Enhancement
Doc Text:
Feature: New add-auto-load-scripts-directory command works for the 'set/show auto-load scripts-directory' value appending any specified directories to existing value instead of replacing it. Reason: Using 'set auto-load scripts-directory' would override its original value. Application needing to provide new scripts directory location cannot know what all directories are already set for 'set/show auto-load scripts-directory' either by GDB itself or by system and user configuration files. Some such custom configuration could be lost without the add-auto-load-scripts-directory command. Result: New add-auto-load-scripts-directory command safely adds the intended location, not affecting the already pre-set directory list there.
Clone Of: 1163335
Environment:
Last Closed: 2015-03-05 09:24:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0404 0 normal SHIPPED_LIVE gdb bug fix and enhancement update 2015-03-05 14:17:37 UTC

Description Jakub Filak 2014-11-12 14:22:50 UTC
+++ This bug was initially created as a clone of Bug #1163335 +++

Description of problem:
For some security reasons, ABRT downloads and unpacks debuginfo packages into own directory /var/cache/abrt-di and points gdb to that directory. gdb should be able to auto-load python scripts from that directory but it requires adding /var/cache/abrt-di to scripts-directory and to safe-path. The latter can be done using add-auto-load-safe-paths command which adds a path to safe-path and we need a similar command for scripts-directory, because otherwise we must use "set auto-load scripts-directory $debugdir:$datadir/auto-load:/var/cache/abrt-di" which would override the default configuration.

Thank you for considering my request.

Comment 2 Jan Kratochvil 2014-11-13 15:33:53 UTC
[patch] Add add-auto-load-scripts-directory
https://sourceware.org/ml/gdb-patches/2014-11/msg00270.html

Comment 6 Jiri Herrmann 2014-12-12 15:32:32 UTC
If this Feature should be included in the 7.1 Release Notes, could you please change the Doc Type from Enhancement to "Release Note"?

Note that the Release Notes are intended to list the most prominent and customer-relevant new features rather than every single enhancement.

Cheers,
Jirka

Comment 7 Jan Kratochvil 2014-12-12 15:35:19 UTC
No, I do not think this is too significant feature.  It was provided as a way to bugfix ABRT.

Comment 10 errata-xmlrpc 2015-03-05 09:24:21 UTC
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-0404.html


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