Issue #2355 has been updated by Bernhard Furtmueller. File 0001-Fixed-2355-read-hang-on-proc-xen-capabilties-on-RH.patch added
Peter thanks for the link, I originally meant which kind of fix (cat, thread). Ok, I included 2 lines :) using Thread::exclusive like reading /proc/cpuinfo /proc/meminfo I'd appreciate if someone could validate the fix. br, allesmueller ---------------------------------------- Bug #2355: facts hanging on reading /proc filesystem http://projects.reductivelabs.com/issues/2355 Author: Bernhard Furtmueller Status: Unreviewed Priority: Normal Assigned to: Category: Target version: Complexity: Easy Keywords: 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 -~----------~----~----~----~------~----~------~--~---
