Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1217681 - [abrt] rpmconf: rpmconf.py:183:_remove:PermissionError: [Errno 13] Permission denied: '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-31.b13.fc22.i386/jre/lib/security/US_export_policy.jar.rpmnew'
Summary: [abrt] rpmconf: rpmconf.py:183:_remove:PermissionError: [Errno 13] Permission...
Keywords:
Status: CLOSED DUPLICATE of bug 1282029
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmconf
Version: 22
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:2aaf01a3a2d71518cceebcd159f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-01 02:00 UTC by Craig Robson
Modified: 2015-11-22 13:52 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-22 13:52:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.13 KB, text/plain)
2015-05-01 02:00 UTC, Craig Robson
no flags Details
File: environ (2.82 KB, text/plain)
2015-05-01 02:00 UTC, Craig Robson
no flags Details

Description Craig Robson 2015-05-01 02:00:31 UTC
Description of problem:
Attempting to run gnome-disks via ssh -X tunnel.

Version-Release number of selected component:
rpmconf-1.0.7-1.fc22

Additional info:
reporter:       libreport-2.5.1
cmdline:        /usr/bin/python3 /usr/sbin/rpmconf -a
executable:     /usr/sbin/rpmconf
kernel:         4.0.0-1.fc22.i686
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
rpmconf.py:183:_remove:PermissionError: [Errno 13] Permission denied: '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-31.b13.fc22.i386/jre/lib/security/US_export_policy.jar.rpmnew'

Traceback (most recent call last):
  File "/usr/sbin/rpmconf", line 63, in <module>
    main()
  File "/usr/sbin/rpmconf", line 60, in main
    rconf.run()
  File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 88, in run
    self._handle_package(pkg_hdr)
  File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 253, in _handle_package
    tmp.format(conf_file, "rpmnew"))
  File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 295, in _handle_rpmnew
    self._remove(other_file)
  File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 183, in _remove
    os.unlink(conf_file)
PermissionError: [Errno 13] Permission denied: '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-31.b13.fc22.i386/jre/lib/security/US_export_policy.jar.rpmnew'

Local variables in innermost frame:
conf_file: '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.45-31.b13.fc22.i386/jre/lib/security/US_export_policy.jar.rpmnew'
self: <rpmconf.rpmconf.RpmConf object at 0xb6fb254c>

Comment 1 Craig Robson 2015-05-01 02:00:33 UTC
Created attachment 1020781 [details]
File: backtrace

Comment 2 Craig Robson 2015-05-01 02:00:34 UTC
Created attachment 1020782 [details]
File: environ

Comment 3 Craig Robson 2015-05-01 02:03:04 UTC
The description above is incorrect.  I was attempting to run rpmconf after upgrading to Fedora 22 Beta.

Comment 4 Miroslav Suchý 2015-06-01 09:19:31 UTC
This tool is intended to be run as root (therefore it reside in /usr/sbin). However I agree we should not print traceback. Some user friendly error should be better.

Comment 5 Miroslav Suchý 2015-11-22 13:52:24 UTC

*** This bug has been marked as a duplicate of bug 1282029 ***


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