Red Hat Bugzilla – Bug 1032511
abrt-harvest-vmcore crashes due to Permission denied error while accessing a VMCore directory
Last modified: 2016-11-30 19:45:40 EST
Version-Release number of selected component:
cmdline: /usr/bin/python /usr/sbin/abrt-harvest-vmcore
abrt-harvest-vmcore:236:harvest_vmcore:OSError: [Errno 13] Permission denied: '/var/crash/127.0.0.1-2013.11.19-16:53:00'
Traceback (most recent call last):
File "/usr/sbin/abrt-harvest-vmcore", line 283, in <module>
File "/usr/sbin/abrt-harvest-vmcore", line 236, in harvest_vmcore
files = [ff for ff in os.listdir(f_full)
OSError: [Errno 13] Permission denied: '/var/crash/127.0.0.1-2013.11.19-16:53:00'
Local variables in innermost frame:
conf_file: <closed file '/etc/abrt/abrt.conf', mode 'r' at 0xbba540>
conf_fp: <StringIO.StringIO instance at 0xc19d88>
config: <ConfigParser.ConfigParser instance at 0xc19dd0>
conf_str: "[section]\n# Enable this if you want abrtd to auto-unpack crashdump tarballs which appear\n# in this directory (for example, uploaded via ftp, scp etc).\n# Note: you must ensure that whatever directory you specify here exists\n# and is writable for abrtd. abrtd will not create it automatically.\n#\n#WatchCrashdumpArchiveDir = /var/spool/abrt-upload\n\n# Max size for crash storage [MiB] or 0 for unlimited\n#\nMaxCrashReportsSize = 1000\n\n# Specify where you want to store coredumps and all files which are needed for\n# reporting. (default:/var/tmp/abrt)\n#\n# Changing dump location could cause problems with SELinux. See man abrt_selinux(8).\n#\n#DumpLocation = /var/tmp/abrt\n\n# If you want to automatically clean the upload directory you have to tweak the\n# selinux policy.\n#\nDeleteUploaded = no\n\n# A name of event which is run automatically after problem's detection. The\n# event should perform some fast analysis and exit with 70 if the\n# problem is known.\n#\n# In order to run this event automatically after detection, the\n# AutoreportingEnabled option must be configured to 'yes'\n#\n# Default value: report_uReport\n#\nAutoreportingEvent = report_uReport\n\n# Enables automatic running of the event configured in AutoreportingEvent option.\n#\nAutoreportingEnabled = no\n\n# Enables shortened GUI reporting where the reporting is interrupted after\n# AutoreportingEvent is done.\n#\n# Default value: Yes but only if application is running in GNOME desktop\n# session; otherwise No.\n#\n# ShortenedReporting = yes\n"
Created attachment 826546 [details]
Created attachment 826547 [details]
Patches submitted for review:
*** Bug 1060019 has been marked as a duplicate of this bug. ***
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.