In case your /var
or /var/tmp
is mounted as noexec
, upgrading to F40 might fail. This issue just bit me and I also reported a bug: RHBZ#2274246.
As a workaround, before you hit the bug, you can follow these steps:
- in
/etc/fstab
, remove thenoexec
flag from/var
or/var/tmp
- reboot
- do the system upgrade (now or later)
As a workaround, if you were bitten by the bug already (as I was), you can follow these steps:
- boot into the latest F39 kernel
- modify
/etc/fstab
, removing noexec flag from/var
or/var/tmp
- reboot into the latest F39 kernel
- execute the dracut command line from the failed system upgrade (from
dnf system-upgrade log
) - reboot into the now working F40 kernel