denyhosts service usually fails to start due to a missing change in the move to python3: Jun 19 00:52:47 pandora.cps.unizar.es denyhosts.py[4655]: Traceback (most recent call last): Jun 19 00:52:47 pandora.cps.unizar.es denyhosts.py[4655]: File "/usr/bin/denyhosts.py", line 228, in <module> Jun 19 00:52:47 pandora.cps.unizar.es denyhosts.py[4655]: dh = DenyHosts(f, prefs, lock_file, ignore_offset, Jun 19 00:52:47 pandora.cps.unizar.es denyhosts.py[4655]: File "/usr/lib/python3.8/site-packages/DenyHosts/deny_hosts.py", line 78, in __init__ Jun 19 00:52:47 pandora.cps.unizar.es denyhosts.py[4655]: offset = self.process_log(logfile, last_offset) Jun 19 00:52:47 pandora.cps.unizar.es denyhosts.py[4655]: File "/usr/lib/python3.8/site-packages/DenyHosts/deny_hosts.py", line 501, in process_log Jun 19 00:52:47 pandora.cps.unizar.es denyhosts.py[4655]: self.__report.add_section(msg, new_denied_hosts) Jun 19 00:52:47 pandora.cps.unizar.es denyhosts.py[4655]: File "/usr/lib/python3.8/site-packages/DenyHosts/report.py", line 43, in add_section Jun 19 00:52:47 pandora.cps.unizar.es denyhosts.py[4655]: if (type(i) is types.ListType) or (type(i) is types.TupleType): Jun 19 00:52:47 pandora.cps.unizar.es denyhosts.py[4655]: AttributeError: module 'types' has no attribute 'ListType' Jun 19 00:52:47 pandora.cps.unizar.es denyhosts.py[4655]: DenyHosts exited abnormally Jun 19 00:52:47 pandora.cps.unizar.es systemd[1]: denyhosts.service: Can't open PID file /run/denyhosts.pid (yet?) after start: Operation not permitted Jun 19 00:52:47 pandora.cps.unizar.es systemd[1]: denyhosts.service: Failed with result 'protocol'. Problem is described here: https://github.com/denyhosts/denyhosts/issues/54 and solution is also there.
Should be fixed with next denyhosts-3.1-8.mga8 update!
CC: (none) => geiger.david68210
Thanks David for pre-empting this already. Hence assigning it to you. Can you close it fixed when the update is done? I would not see that. CC'ing JohnnyS (apparently still with us) as the registered maintainer. [This looks a jolly useful pkg for a server].
CC: geiger.david68210 => cookerAssignee: bugsquad => geiger.david68210
See also bug 26823.
Summary: Start failure because of Python3 transition => denyhosts Start failure because of Python3 transition
Closing as resolved fixed!
Status: NEW => RESOLVEDResolution: (none) => FIXED