diff --git a/dracut/parse-kickstart b/dracut/parse-kickstart index 91bc1b9cebc..2cf8d1bdd6e 100755 --- a/dracut/parse-kickstart +++ b/dracut/parse-kickstart @@ -438,7 +438,11 @@ def process_certificates(handler): log.error("Missing certificate file name, skipping.") continue - _dump_certificate(cert) + try: + _dump_certificate(cert) + except OSError as e: + log.error("Dump of certificate %s failed: %s", cert.filename, e) + continue # Dump for transport to switchroot _dump_certificate(cert, root=CERT_TRANSPORT_DIR+"/path/")