Bug 174215
Summary: | update process hangs at a stage | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Thomas Antony <thomas> |
Component: | denyhosts | Assignee: | Jason Tibbitts <j> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | extras-qa |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 1.1.4-2 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-01-22 22:56:52 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Thomas Antony
2005-11-25 23:10:10 UTC
Could you tell me which version you were updating from? Does /var/log/denyhosts show anything other than INFO DenyHosts daemon is shutting down INFO DenyHosts launched with the following args: INFO /usr/bin/denyhosts.py --daemon --config=/etc/denyhosts.conf At the time of the upgrade? If you run /usr/bin/denyhosts.py -c /etc/denyhosts.conf --upgrade099 --debug --verbose manually, does it still hang? Do you get any useful debug output in that case? The purpose of --upgrade099 is to rewrite /etc/hosts.deny entries written by versions of denyhosts earlier than 0.9.9 to include time/date information so that entries can be purged. I suppose it would be possible for some particular hosts.deny formatting to confuse the parser. If you can make it hang repeatably, would you be willing to send a copy of your hosts.deny to me personally (or attach it to this bug if you don't mind the world seeing it)? I updated from denyhosts-1.0.2-1.fc4. I only have denyhosts installed and did not ever started it, so there is no log. At the time the update process hangs, i looked in the temp file and saw the line "/sbin/service denyhosts stop > /dev/null 2>&1". My thought was the service could not get stopped, so i did a "sudo /sbin/service denyhosts stop" and "yum update" completed successfully. I did not noticed that denyhosts does not start in any runlevel and wasn't ever started. I have added all information i could get to my previous post. What does the colon at the end of "/sbin/service denyhosts stop > /dev/null 2>&1 || :" do? I uninstalled denyhosts-1.1.3-1.fc4, downloaded and installed version denyhosts-1.0.2-1.fc4 and updated it again with yum update denyhosts. This time the update did complete successfully. I can not reproduce it again anymore. I could reproduce this behaviour again. I uninstalled the new version twice, removed the log file, installed the previous version, run yum update denyhosts and now the update process will no go further. When i run "sudo /usr/bin/denyhosts.py -c /etc/denyhosts.conf --upgrade099 --debug --verbose", while the update process hangs at [1/2] and denyhosts never started, i get following output: DenyHosts could not obtain lock (pid: 24709) [Errno 17] File exists: '/var/lock/subsys/denyhosts' sudo service denyhosts status DenyHosts is running with pid = 24709 root 24686 0.1 4.2 165408 43948 pts/1 S+ 00:25 0:02 /usr/bin/python /usr/bin/yum update root 24691 0.0 0.1 53912 1044 pts/1 S+ 00:26 0:00 /bin/sh /var/tmp/rpm-tmp.44109 2 root 24709 0.0 0.5 90420 5948 pts/1 S+ 00:26 0:00 /usr/bin/python /usr/bin/denyhosts.py -c /etc/denyhosts.conf --upgrade099 I've not found anyone who could reproduce this and upstream had no idea what could be causing it. For the latest version (1.1.4-2, already built and pushed to the repositories) I eliminated the "--upgrade099" step and greatly simplified the %post script. If you still see the problem, please let me know. i didn't have any troubles with the latest update. maybe the --upgrade099 did not work sometimes. |