Red Hat Bugzilla – Bug 171637
lsof -b still blocks on gethostbyname causing slow force unmount; use -bn instead
Last modified: 2009-04-16 16:18:23 EDT
Description of problem:
If clumanager has a service configured with force unmount support and that
service is stopped, the stop phase can take a VERY long time to complete if lsof
is used and DNS is cut off.
The solution is to add "-n" to the lsof option string so that DNS is not used.
Created attachment 120910 [details]
Setting to modified.
A new *TEST* package build with several bugfixes (fixes bugzillas: 171637 172735
172893 172894 ) is available. Gulm-bridge support has been disabled in this
release to prevent having to install with the "--nodeps" option:
Let us know if this works for you.
This is not critical for testing, but worth noting:
1. Examine /usr/lib/clumanager/services/svclib_filesystem and
take a note of the lsof command in there, which calls "lsof -b".
2. Temporarily disable name resolution one way is to use:
iptables -A OUTPUT -p udp -m udp --dport 53 -m state \
--state NEW -j DROP
3. Run lsof -b; it should pause at points (or sometimes hang for a
4. Run lsof -bn; it should not hang or noticeably pause.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.