Bug 815501 - Move mono-gdb.py under /usr/share/gdb/auto-load/
Summary: Move mono-gdb.py under /usr/share/gdb/auto-load/
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mono
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Timotheus Pokorra
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-23 18:09 UTC by Jan Kratochvil
Modified: 2016-01-04 14:27 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-01-04 14:03:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Tested .spec fix. (853 bytes, patch)
2012-04-23 18:41 UTC, Jan Kratochvil
no flags Details | Diff

Description Jan Kratochvil 2012-04-23 18:09:35 UTC
Description of problem:
/usr/bin/mono-gdb.py works but it has some implications such as being outside of the secure area.

Version-Release number of selected component (if applicable):
mono-core-2.10.5-1.fc16.x86_64
mono-core-2.10.8-2.fc17.x86_64

How reproducible:
Always.

Steps to Reproduce:
gdb /usr/bin/mono

Actual results:
warning: File "/usr/bin/mono-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "...something...".

Expected results:
Mono support loaded.

Additional info:
Currently it works but it is cleener to place it under /usr/share/gdb/auto-load/.

Comment 1 Jan Kratochvil 2012-04-23 18:41:27 UTC
Created attachment 579656 [details]
Tested .spec fix.

It still needs to be upstreamed, though.
But the new GDB security feature is fresh / under development upstream.

Comment 2 Mads Kiilerich 2012-05-14 15:41:53 UTC
The file is also not executable and do thus not belong in /usr/bin:

-rw-r--r--.   1 root root       11418 Apr 16 23:59 /usr/bin/mono-gdb.py

mono-core-2.10.8-2.fc17.i686

Comment 3 Fedora End Of Life 2012-08-07 17:00:49 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached 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 to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

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.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Jan Kratochvil 2012-08-07 20:01:20 UTC
Still affects even Rawhide: mono-core-2.10.8-3.fc18.x86_64

Comment 5 Jan Kratochvil 2013-02-04 17:40:00 UTC
Not just Rawhide but all the currently supported version.

Comment 6 Fedora End Of Life 2013-04-03 19:32:22 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 7 Jan Kratochvil 2014-07-08 15:44:12 UTC
Going to remove this workaround from gdb.rpm as Mono maintainer already had 2+ years to fix it.

Comment 8 Fedora End Of Life 2015-01-09 21:57:58 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

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 19 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.

Comment 9 Fedora End Of Life 2015-11-04 15:44:30 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. 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 '21'.

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 21 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.

Comment 10 Jan Kratochvil 2015-11-13 17:55:38 UTC
mono-core-4.0.5-1.fc24.x86_64

Comment 11 Timotheus Pokorra 2016-01-04 14:03:40 UTC
I have applied the patch now for Rawhide.

http://pkgs.fedoraproject.org/cgit/mono.git/commit/?id=4697d99d42051fb23d0374c8509f51ed63112153

Comment 12 Jan Kratochvil 2016-01-04 14:13:10 UTC
I see now there should be rather:
+%{_datadir}/gdb/auto-load/*
than the line I originally posted here 4 years ago:
+%{_datadir}/gdb/auto-load
(Because the directory itself is already owned by GDB.)
But that is a common unimportant packaging bug.
Thanks for the fix application.

Comment 13 Timotheus Pokorra 2016-01-04 14:27:40 UTC
Thanks for the suggestion, I have applied that now to the rawhide branch.


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