Skip to content

mktemp: Don't panic when getrandom failed#11154

Merged
sylvestre merged 1 commit intouutils:mainfrom
oech3:mktemp-panic
Mar 4, 2026
Merged

mktemp: Don't panic when getrandom failed#11154
sylvestre merged 1 commit intouutils:mainfrom
oech3:mktemp-panic

Conversation

@oech3
Copy link
Contributor

@oech3 oech3 commented Feb 28, 2026

Closes #11153

@github-actions
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail/follow-name (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/tail/symlink (fails in this run but passes in the 'main' branch)
Skip an intermittent issue tests/tty/tty-eof (fails in this run but passes in the 'main' branch)
Skipping an intermittent issue tests/pr/bounded-memory (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/printf/printf-surprise is now passing!
Congrats! The gnu test tests/tail/tail-n0f is now passing!

@oech3 oech3 marked this pull request as ready for review February 28, 2026 09:16
@sylvestre
Copy link
Contributor

can it be triggered?

@oech3
Copy link
Contributor Author

oech3 commented Feb 28, 2026

Not sure. happen after boot process with 0 entropy pool without strace...?

@oech3
Copy link
Contributor Author

oech3 commented Feb 28, 2026

It seems this is making a sense at old version of kernel.

@sylvestre sylvestre merged commit d906b7d into uutils:main Mar 4, 2026
159 checks passed
@oech3 oech3 deleted the mktemp-panic branch March 5, 2026 00:01
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.

mktemp: strace -e inject=getrandom:error=EAGAIN mktemp -u panics, but GNU success

2 participants