Facter 1.6.12-rc2 Highlights
======================
(#10819) Avoid reading from /proc/self/mounts in ruby
Reading from /proc/self/mounts in ruby can cause hangs in certain
versions of
the Linux kernel. The problem appears when a puppet agent is run
with --listen,
which hold open a socket, and then ruby reads from
/proc/self/mounts. When this
occurs ruby calls select on the open filehandles which triggers a bug in the
kernel that causes the select to hang forever.
This commit uses an exec of cat instead of ruby file reading
operations, which
avoids the ruby interpreter having to call select and trigger the bug.
It appears that only /proc/self/mounts has this problem. Other
areas of /proc
were tested and did not cause the error.
Facter 1.6.12-rc2 Changelog
===================
Andrew Parker (2):
c534126 (#10819) Avoid reading from /proc/self/mounts in ruby
398b111 (Maint) Extract common elements of selinux tests
Matthaus Litteken (1):
42bec60 Updating CHANGELOG and version.rb for 1.6.12-rc2
Moses Mendoza (2):
f6ae956 Merge branches '1.6rc' and '1.6.x' into 1.6.x
b95ea54 fix yum repo path in yaml file
Eric Sorenson
unread,
Aug 31, 2012, 10:14:46 PM8/31/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppe...@googlegroups.com, puppet...@googlegroups.com
A special note for users affected by Puppet agent hanging with '--listen' -- please give this RC a try and let us know how it works for you. (#10819, #10418, etc)
Jo Rhett, Chip Schweiss, Drew Gibson, we would love to hear from you on this.