-
Bug
-
Resolution: Done
-
Major
-
None
-
rhel-7.9.z
-
None
-
Important
-
rhel-sst-upgrades
-
None
-
False
-
-
None
-
None
-
None
-
None
-
-
All
-
None
What were you trying to do that didn't work?
For debugging purpose, an admin should be able to disable the requested reboot after the FinalizationPhase. Even for an actor, there is no way to influence the Flag in question.
Please provide the package NVR for which bug is seen:
leapp-0.16
How reproducible:
Always
Steps to reproduce
- leapp upgrade
- reboot on the dedicated upgrade initramfs
Expected results
Do not reboot if /.noreboot is present (/sysroot/.noreboot from the initramfs).
Actual results
Reboot unconditionally if no error has been caught.
Workaround
# sed -i "N;s|# method.|# method.\n import os.path\n if os.path.isfile('/.noreboot'): return|" /usr/lib/python2.7/site-packages/leapp/utils/__init__.py
- is incorporated by
-
RHEL-21449 Rebase leapp-repository to v0.20.0 (rhel-7.9)
- Closed