Issue #2355 has been updated by Kurt Keller.

Todd Zullinger wrote:
> Something like the attached Paul?  If so, it's also on tickets/1.5.x/2355 in 
> git://jet.mox.net/~tmz/facter.git.  (I've not tested this as I don't have any 
> RHEL-4.7 xen systems at hand.)

Tried the patch on a RHEL-4.7 xen guest and it works fine.


----------------------------------------
Bug #2355: facts hanging on reading /proc filesystem
http://projects.reductivelabs.com/issues/2355

Author: Bernhard Furtmueller
Status: Accepted
Priority: Normal
Assigned to: Paul Nasrat
Category: library
Target version: 1.6.0
Keywords: 
Branch: 


Hi!

This is more or less a duplicate of 
http://projects.reductivelabs.com/issues/2032

At least on /proc/xen/capabilities I got the same hang on an RHEL4.7 xenu host.

I found 2 approaches in the sources to remedy the problem:
* Reading threadsafe like in lib/facter/util/memory.rb
* Reading via a subprocess /bin/cat like in lib/facter/util/uptime.rb

Could someone give advice how I should go forward to create a acceptable patch.

br,
allesmueller


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to