We had this problem on EL5 with a few facts that were reading proc and sysfs entries. The exec utility function would hang on EL5 on these facts, and I eventually had to change to backticks to get it to run to completion. It's been awhile since I had to deal with the bug, but I seem to recall the ultimate issue was something to do with a lack of tty and the <2.6.2x kernel.
On Tue, Oct 21, 2014 at 7:07 PM, Wil Cooley <[email protected]> wrote: > > On Oct 21, 2014 8:41 AM, "Paul Seymour" <[email protected]> wrote: > >> Thanks. It's a little tricky to do as it always comes back with a "wait4" >> call if attaching to the hung process. Will try and capture it. > > `wait4` would indicate it's waiting for a child process; I would try to > figure out what the child is doing by having strace run with "-f" to follow > forks. > > You could run facter from cron with strace prepended so it can strace from > the beginning. Use the "-o" to have strace send output to a file. > > Wil > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/CAMmm3r7DA9a-BW25B%2BsaTRaJe5K4izyrsUtdqgG%3DsJkhKy4fbg%40mail.gmail.com. > > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAMM%2BeSXtXeeytEJs0hUmCjRAfG572-ZGwf__ftsAxSKbwL%2BJnw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
