Skip to content

Error log message after a successful upgrade:Failed removing /etc/systemd/system/default.target.wants/leapp_resume.service #1545

@stormstoutwu

Description

@stormstoutwu

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):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions