Actual behavior
After a successful Leapp upgrade and system reboot, the following error message appears in the /var/log/leapp/leapp-upgrade.log file: "Failed removing /etc/systemd/system/default.target.wants/leapp_resume.service".
This error occurs because the systemctl disable operation in the code already removes the /etc/systemd/system/default.target.wants/leapp_resume.service link. Consequently, the subsequent attempt to delete the same file triggers an error.
To Reproduce
Steps to reproduce the behavior
install 'leapp-upgrade'
setup 'leapp_upgrade_repositories.repo'
run 'leapp upgrade'
reboot
check /var/log/leapp/leapp-upgrade.log after reboot
System information (please complete the following information):
Actual behavior
After a successful Leapp upgrade and system reboot, the following error message appears in the /var/log/leapp/leapp-upgrade.log file: "Failed removing /etc/systemd/system/default.target.wants/leapp_resume.service".
This error occurs because the systemctl disable operation in the code already removes the /etc/systemd/system/default.target.wants/leapp_resume.service link. Consequently, the subsequent attempt to delete the same file triggers an error.
To Reproduce
Steps to reproduce the behavior
install 'leapp-upgrade'
setup 'leapp_upgrade_repositories.repo'
run 'leapp upgrade'
reboot
check /var/log/leapp/leapp-upgrade.log after reboot
System information (please complete the following information):