[Pkg-puppet-devel] Bug#962692: puppet: Crashes due to "missing" facts.d directories

intrigeri intrigeri at debian.org
Fri Jun 12 08:38:32 BST 2020


Hi,

Wilmer van der Gaast (2020-06-12):
> wilmer at veer:~/adsb$ sudo puppet agent --waitforcert 60 -t
> /usr/lib/ruby/vendor_ruby/puppet/util.rb:461: warning: URI.escape is
> obsolete
> /usr/lib/ruby/vendor_ruby/puppet/file_system/file_impl.rb:80: warning: Using
> the last argument as keyword parameters is deprecated
> free(): invalid pointer
> Aborted

On a sid system, I see puppet-master.service failing to start with
the same "free(): invalid pointer" error.

> Some stracing uncovered that it was trying to read the following
> directories:
>
> /opt/puppetlabs/facter/facts.d
> /etc/facter/facts.d
> /etc/puppetlabs/facter/facts.d
>
> through trial and Aborted errors I've created those and now it works again.

I confirm this workaround fixes the problem for me as well.
Thanks for figuring it out and sharing this workaround :)

Cheers!



More information about the Pkg-puppet-devel mailing list