Jira (FACT-1349) testing custom fact via RUBYLIB causes segfaults
Title: Message Title Tom Beech commented on FACT-1349 Re: testing custom fact via RUBYLIB causes segfaults A similar issue is appearing when running Facter 3 on Windows targets using the 'facts' task: https://github.com/puppetlabs/bolt/issues/2344 Specifically, Facter 3 seems to be unable to resolve Puppet facts because it is unable to locate a Ruby library. The following warning is issued by Facter before it terminates with a segmentation violation (11) signal. facter.exe : 2020-11-19 20:22:30.253491 WARN puppetlabs.facter - could not locate a ruby library: facts requiring Ruby will not be resolved. + CategoryInfo : NotSpecified: (2020-11-19 20:2...ot be resolved.:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError This only happens when running with the '-p' option. Running Facter without that option does not result in a segmentation violation. Add Comment This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Jira (FACT-1349) testing custom fact via RUBYLIB causes segfaults
Title: Message Title Garrett Guillotte commented on FACT-1349 Re: testing custom fact via RUBYLIB causes segfaults DOC-2596 has been closed/won't fix due to inactivity here. Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.118155.1456248631000.35263.1564441740122%40Atlassian.JIRA.
Jira (FACT-1349) testing custom fact via RUBYLIB causes segfaults
Title: Message Title Branan Riley updated an issue Facter / FACT-1349 testing custom fact via RUBYLIB causes segfaults Change By: Branan Riley Team: Platform OS Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1349) testing custom fact via RUBYLIB causes segfaults
Title: Message Title Branan Riley updated an issue Facter / FACT-1349 testing custom fact via RUBYLIB causes segfaults Change By: Branan Riley Labels: ruby triaged Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1349) testing custom fact via RUBYLIB causes segfaults
Title: Message Title Branan Riley updated an issue Facter / FACT-1349 testing custom fact via RUBYLIB causes segfaults Change By: Branan Riley Labels: ruby Add Comment This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1349) testing custom fact via RUBYLIB causes segfaults
Title: Message Title Garrett Guillotte commented on FACT-1349 Re: testing custom fact via RUBYLIB causes segfaults Linking DOC-2596; I'm concerned about documenting the use of RUBYLIB to test custom facts while this is open. Add Comment This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1349) testing custom fact via RUBYLIB causes segfaults
Title: Message Title Moses Mendoza updated an issue Facter / FACT-1349 testing custom fact via RUBYLIB causes segfaults Change By: Moses Mendoza Labels: triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1349) testing custom fact via RUBYLIB causes segfaults
Title: Message Title Maggie Dreyer updated an issue Facter / FACT-1349 testing custom fact via RUBYLIB causes segfaults Change By: Maggie Dreyer Labels: triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1349) testing custom fact via RUBYLIB causes segfaults
Title: Message Title Peter Huene commented on FACT-1349 Re: testing custom fact via RUBYLIB causes segfaults Does it occur with passing -p to facter? It appears that Facter isn't guarding itself against facts that require puppet without using -p. It could do so by adding libfacter.so to $LOADED_FEATURES so that when Puppet attempts to require facter through facter.rb, nothing happens. Thus, this is still an issue (probably also the cause for the previous segfault, although uninitialization may have changed such that the crash no longer reproduces). Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1349) testing custom fact via RUBYLIB causes segfaults
Title: Message Title Ben Ford commented on FACT-1349 Re: testing custom fact via RUBYLIB causes segfaults It doesn't segfault anymore, but it does print an error when the RUBYLIB includes a trailing slash. That error does not show without the slash. root@master:/etc/puppetlabs/code-staging/modules/classroom # RUBYLIB=$(pwd)/lib/ facter hostpubkey /opt/puppetlabs/puppet/lib/libfacter.so: warning: already initialized constant Facter::FACTERVERSION ... Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at
Jira (FACT-1349) testing custom fact via RUBYLIB causes segfaults
Title: Message Title Peter Huene commented on FACT-1349 Re: testing custom fact via RUBYLIB causes segfaults Unfortunately this is the first I've heard of this issue; not sure why this ticket was never triaged. It appeared to have crashed upon shutting down the Ruby VM and off the top of my head I can't name a reason why a trailing backslash would affect that. I'd have to test it on a recent version of facter to see if this is still an issue. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1349) testing custom fact via RUBYLIB causes segfaults
Title: Message Title Ben Ford commented on FACT-1349 Re: testing custom fact via RUBYLIB causes segfaults Peter Huene is this still an issue? Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (FACT-1349) testing custom fact via RUBYLIB causes segfaults
Title: Message Title Ben Ford commented on FACT-1349 Re: testing custom fact via RUBYLIB causes segfaults An instructor discovered a related issue, in that a trailing / causes a segfault. I wonder if this is the same core cause? COURSES-1781 Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.