Skip to content

Update util.rb to fix closing of file. #9552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

adamboutcher
Copy link

When attempting to close files, the /proc/self loop was trying to close a file being converted to an integer which was causing issues on Fedora 42, this resolved the problem.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
When attempting to close files, the /proc/self loop was trying to close a file being converted to an integer which was causing issues on Fedora 42, this resolved the problem.
@adamboutcher adamboutcher requested a review from a team as a code owner April 22, 2025 14:34
@puppetlabs-jenkins
Copy link
Collaborator

Can one of the admins verify this patch?

@adamboutcher
Copy link
Author

For people searching this is the error that was flagging:

/usr/share/ruby/vendor_ruby/puppet/util.rb:481:in 'Dir.foreach': Bad file descriptor - closedir (Errno::EBADF)

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
A per comment (OpenVoxProject/puppet#39 (comment)) in Mirrored PR to OpenVox (OpenVoxProject/puppet#39)
@ekohl
Copy link
Contributor

ekohl commented Apr 29, 2025

Duplicate of #9546.

@ekohl
Copy link
Contributor

ekohl commented Apr 29, 2025

This version is also broken: OpenVoxProject/puppet#39 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants