Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1680042 - dnf system-upgrade from f29 to f30 does not reboot after upgrading
Summary: dnf system-upgrade from f29 to f30 does not reboot after upgrading
Keywords:
Status: CLOSED DUPLICATE of bug 1674045
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugin-system-upgrade
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-22 15:42 UTC by François Cami
Modified: 2019-02-22 16:44 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-22 16:44:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description François Cami 2019-02-22 15:42:55 UTC
Description of problem:

After disabling the modular repos ( https://bugzilla.redhat.com/show_bug.cgi?id=1656509 ), dnf system-upgrade manages to upgrade to f30, but does not reboot at the end of the upgrade process.


Version-Release number of selected component (if applicable):
python3-dnf-plugin-system-upgrade-4.0.2-1.fc{29,30}


How reproducible:
Seemingly always?


Steps to Reproduce:
1. rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-30-primary
2. dnf -y system-upgrade download --refresh --releasever=30 --allowerasing
3. dnf -y system-upgrade reboot

This is my %post:

%post

for repo in fedora-modular updates-modular f29
do dnf config-manager --set-disabled $repo
done

dnf -y install dnf-plugin-system-upgrade
dnf -y update --exclude=kernel*

rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-30-primary
dnf -y system-upgrade download --refresh --releasever=30 --allowerasing
dnf -y system-upgrade reboot

%end


Actual results:
Upgrade happens, but the system sits forever at the "Upgrade complete! Cleaning up and Rebooting..." stage.
Systemd says  "reached target Offline System Update"


Expected results:
Rebooting at the end of upgrade


Additional info:
Sending CTRL+ALT+DEL is enough to reboot the system properly into f30.

Comment 1 Adam Williamson 2019-02-22 16:44:05 UTC

*** This bug has been marked as a duplicate of bug 1674045 ***


Note You need to log in before you can comment on or make changes to this bug.