[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-11-29 Thread Dave Malcolm
Dave Malcolm added the comment: In my Fedora Python packages I've been applying this patch: http://pkgs.fedoraproject.org/cgit/python.git/plain/00156-gdb-autoload-safepath.patch which uses this code fragment to detect if gdb has the autoload safe path code, rather than trying to guess it from v

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-11-29 Thread Stefan Krah
Stefan Krah added the comment: I'm using the .gdbinit solution on the Fedora buildbot now. Trying to categorize gdb pre-releases and patched versions is probably not a good use of time. ;) -- ___ Python tracker ___

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-11-29 Thread Stefan Krah
Stefan Krah added the comment: The gdb version is "GNU gdb (GDB) Fedora (7.3.50.20110722-16.fc16)", which looks like either a pre-release of 7.4 or a patched version. Testing for (gdb_major_version, gdb_minor_version) >= (7, 3) would fix the specific failure on Fedora 16, but I don't know if it

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-11-28 Thread R. David Murray
R. David Murray added the comment: Since it looks like that is your buildbot, can you do some command line testing to see what is going wrong with the gdb invocation? I'm wondering if perhaps this feature was backported as a security patch, so that the gdb version check is an insufficient che

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-11-28 Thread Stefan Krah
Stefan Krah added the comment: The test still seems to fail on Fedora 16: http://buildbot.python.org/all/builders/AMD64%20Fedora%20without%20threads%202.7/builds/906/steps/test/logs/stdio -- nosy: +skrah ___ Python tracker

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-10-27 Thread R. David Murray
R. David Murray added the comment: Committed. Also deleted the paragraph from the devguide faq, since it is no longer needed. -- status: open -> closed ___ Python tracker ___ _

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1b1ead5cecae by R David Murray in branch '2.7': #15043: Improve test_gdb support of gdb >= 7.4. http://hg.python.org/cpython/rev/1b1ead5cecae -- ___ Python tracker ___

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-10-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset b71cda2f48c6 by R David Murray in branch '3.2': #15043: Improve test_gdb support of gdb >= 7.4. http://hg.python.org/cpython/rev/b71cda2f48c6 New changeset 6f064689b8c0 by R David Murray in branch '3.3': merge #15043: Improve test_gdb support of gdb

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-10-27 Thread R. David Murray
R. David Murray added the comment: It does seem to be possible to do this at command invocation. Patch attached. -- keywords: +patch nosy: +r.david.murray status: closed -> open Added file: http://bugs.python.org/file27748/test_gdb_security.patch ___

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-06-17 Thread Nick Coghlan
Nick Coghlan added the comment: Also added an FAQ with the specific ~/.gdbinit entry needed to get it running in http://hg.python.org/devguide/rev/1d81501be702 I did try adding a similar command directly to the gdb invocation, but, as far as I can tell, any commands specified as arguments run

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-06-17 Thread Nick Coghlan
Nick Coghlan added the comment: Added new section to devguide in http://hg.python.org/devguide/rev/9fee8e6c2619 -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9456591d0761 by Nick Coghlan in branch 'default': Merge from 3.2 (Issue #15043: skip test_gdb if the custom hooks can't be loaded) http://hg.python.org/cpython/rev/9456591d0761 -- ___ Python tracker

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset ac2f5067c220 by Nick Coghlan in branch '2.7': Issue #15043: skip test_gdb if the custom hooks can't be loaded (backport from 3.x) http://hg.python.org/cpython/rev/ac2f5067c220 -- ___ Python tracker

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-06-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2db5010a610c by Nick Coghlan in branch '3.2': Issue #15043: skip test_gdb if the custom hooks can't be loaded http://hg.python.org/cpython/rev/2db5010a610c -- nosy: +python-dev ___ Python tracker

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-06-11 Thread Nick Coghlan
Nick Coghlan added the comment: In addition, we should probably report this as a test skip rather than as a litany of test failures. -- components: +Tests ___ Python tracker __

[issue15043] test_gdb is disallowed by default security settings in Fedora 17

2012-06-11 Thread Nick Coghlan
New submission from Nick Coghlan : Running test_gdb on Fedora 17 produces a litany of the following error: - warning: File "/home/ncoghlan/devel/py3k/python-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "/usr/share/gdb/auto-load:/usr/lib/debug:/usr/bin/mono-gdb.py