Logs are flooded with messages 'dbus-daemon: ERROR: policydb version 30 does not match my version range 15-29'
Issue
- Log files are flooded with messages 'dbus-daemon: ERROR: policydb version 30 does not match my version range 15-29'. Along with this message, following logs will also be present :
Feb 26 20:50:08 dbus-daemon: ERROR: policydb version 30 does not match my version range 15-29
Feb 26 20:50:08 dbus-daemon: ERROR: Unable to open policy //etc/selinux/targeted/policy/policy.30.
Feb 26 20:50:08 abrt-server: '/var/spool/abrt/Python-2017-02-16-01:36:54-330' is not a problem directory
Feb 26 20:50:08 python: detected unhandled Python exception in '/usr/sbin/setroubleshootd'
Feb 26 20:50:08 abrt-server: Not saving repeating crash in '/usr/sbin/setroubleshootd'
Feb 26 20:50:08 dbus-daemon: Traceback (most recent call last):
Feb 26 20:50:08 dbus-daemon: File "/usr/sbin/setroubleshootd", line 30, in <module>
Feb 26 20:50:08 dbus-daemon: from setroubleshoot.util import log_debug
Feb 26 20:50:08 dbus-daemon: File "/usr/lib64/python2.7/site-packages/setroubleshoot/util.py", line 291, in <module>
Feb 26 20:50:08 dbus-daemon: from sepolicy import get_all_file_types
Feb 26 20:50:08 dbus-daemon: File "/usr/lib64/python2.7/site-packages/sepolicy/__init__.py", line 798, in <module>
Feb 26 20:50:08 dbus-daemon: raise e
Feb 26 20:50:08 dbus-daemon: ValueError: Failed to read //etc/selinux/targeted/policy/policy.30 policy file
Environment
- Observed on RHEL 7.2 and 7.3
- Observed on servers with policycoreutils package version 2.2.5-20.el7.x86_64 and 2.5-2.el7.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.