diff --git a/systemd.spec b/systemd.spec index 593d30e..4be4b92 100644 --- a/systemd.spec +++ b/systemd.spec @@ -688,6 +688,9 @@ fi %files tests -f .file-list-tests %changelog +* Wed Jul 18 2018 Terje Rosten - 239-3 +- Ignore return value from systemd-binfmt in scriptlet (#1565425) + * Sun Jul 15 2018 Filipe Brandenburger - Override systemd-user PAM config in install and not prep diff --git a/triggers.systemd b/triggers.systemd index 04abfd1..90906e3 100644 --- a/triggers.systemd +++ b/triggers.systemd @@ -105,5 +105,7 @@ fi # This script will automatically apply binfmt rules if files have been # installed or updated in /usr/lib/binfmt.d. if test -d /run/systemd/system; then - /usr/lib/systemd/systemd-binfmt + # systemd-binfmt might fail if binfmt_misc kernel module is not loaded + # during install + /usr/lib/systemd/systemd-binfmt || : fi