Browse Source

fix(fips): wrong error message

When /dev/urandom cannot be created, the error message displays /dev/random instead.
master
Antonio Alvarez Feijoo 2 years ago committed by Jóhann B. Guðmundsson
parent
commit
7f10c483b6
  1. 2
      modules.d/01fips/module-setup.sh

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

@ -78,7 +78,7 @@ install() { @@ -78,7 +78,7 @@ install() {
}
[ -c "${initdir}"/dev/urandom ] || mknod "${initdir}"/dev/urandom c 1 9 \
|| {
dfatal "Cannot create /dev/random"
dfatal "Cannot create /dev/urandom"
dfatal "To create an initramfs with fips support, dracut has to run as root"
return 1
}

Loading…
Cancel
Save