puppetlabs / puppet-agent

All of the directions for building a puppet agent package.
Other
47 stars 146 forks source link

Invalid entropy given for user XXXXXX on macOS Sonoma and M2/M3 systems #2511

Open huckabeec opened 2 months ago

huckabeec commented 2 months ago

Describe the Bug

We have been transitioning from x86 Mac systems to the newer Apple M2/M3 systems and have started getting this error during Puppet runs:

Error: Could not prefetch user provider 'directoryservice': Invalid entropy given for user scanuser

"scanuser" is an account we create via Puppet - it is created normally on x86 systems, this error is new for the M2/M3 builds on Sonoma.

The same Puppet 'user' call is used for all macOS systems so it is confusing as to why these new systems are throwing this error.

I've got a debug run from one of the systems that I'm happy to share direct with someone from Puppet, I don't want to post it publicly here.

Expected Behavior

User gets created as normal

Steps to Reproduce

Run puppet agent

Environment

github-actions[bot] commented 2 months ago

Migrated issue to PA-6384

mhashizume commented 2 months ago

Link to a previous Slack conversation about this issue: https://puppetcommunity.slack.com/archives/C0W298S9G/p1711046916485449

You mentioned there that this isn't an issue with M1 and x86 machines, which I think is good to mention here too.