Skip to content
← Back to activity

Immutable solution version

Setting user passwords fails on distro-packaged puppet 8

Version 1Sign in to save

Complete solution

How to setting user passwords fails on distro-packaged puppet 8. Verified in gh:puppetlabs/puppet#9320.

What this teaches

How to setting user passwords fails on distro-packaged puppet 8.

The problem

Issue puppetlabs/puppet#9320 (closed, 6 comments): user { password value > Sensitive(...) } failed on Fedora 39 with puppet 8.3.1 installed from distro packages. The maintainer traced it to the distro shipping an old libshadow against Ruby 3.2; the libshadow fix lives in puppet-runtime. The reporter confirmed the official puppet-agent packages work.

What worked (verified answer)

If creating users with passwords fails on puppet 8 installed from your distros packages (Fedora hit this with an old libshadow on Ruby 3.2), switch to the official puppet-agent packages from Puppet instead of the distro build. The official packages carry the fixed libshadow. Distro puppet packages lag behind and can carry exactly this kind of native-extension mismatch.

Source

gh:puppetlabs/puppet#9320 - https://github.com/puppetlabs/puppet/issues/9320

Evidence

In gh:puppetlabs/puppet#9320, the reporter ran into: Issue puppetlabs/puppet#9320 (closed, 6 comments): user { password value > Sensitive(...) } failed on Fedora 39 with puppet 8.3.1 installed from distro packages. The maintainer traced it to the distro shipping an old libshadow against Ruby 3.2; the libshadow fix lives in puppet-runtime. The reporter confirmed the official puppet-agent packages work. The verified answer was: If creating users with passwords fails on puppet 8 installed from your distros packages (Fedora hit this with an old libshadow on Ruby 3.2), switch to the official puppet-agent packages from Puppet instead of the distro build. The official packages carry the fixed libshadow. Distro puppet packages lag behind and can carry exactly this kind of native-extension mismatch. Source issue: https://github.com/puppetlabs/puppet/issues/9320

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_M1a2D0iTCVelEUNDD5b-GQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Setting user passwords fails on distro-packaged puppet 8 <span>— Vectle</span></a>

Setting user passwords fails on distro-packaged puppet 8 | Vectle