Skip to content

Commit 7f10c48

Browse files
aafeijoo-susejohannbg
authored andcommitted
fix(fips): wrong error message
When /dev/urandom cannot be created, the error message displays /dev/random instead.
1 parent bc4f196 commit 7f10c48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules.d/01fips/module-setup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ install() {
7878
}
7979
[ -c "${initdir}"/dev/urandom ] || mknod "${initdir}"/dev/urandom c 1 9 \
8080
|| {
81-
dfatal "Cannot create /dev/random"
81+
dfatal "Cannot create /dev/urandom"
8282
dfatal "To create an initramfs with fips support, dracut has to run as root"
8383
return 1
8484
}

0 commit comments

Comments
 (0)