diff --git a/pkg/daemon/update.go b/pkg/daemon/update.go index 3726466b1f..b3c0f585f6 100644 --- a/pkg/daemon/update.go +++ b/pkg/daemon/update.go @@ -629,11 +629,14 @@ func checkFIPS(current, desired *mcfgv1.MachineConfig) error { return errors.Wrapf(err, "Error parsing FIPS file at %s", fipsFile) } if desired.Spec.FIPS == nodeFIPS { + if desired.Spec.FIPS { + glog.Infof("FIPS is configured and enabled") + } // Check if FIPS on the system is at the desired setting current.Spec.FIPS = nodeFIPS return nil } - return errors.New("detected change to FIPS flag. Refusing to modify FIPS on a running cluster") + return errors.New("detected change to FIPS flag; refusing to modify FIPS on a running cluster") } // checks for white-space characters in "C" and "POSIX" locales.