Red Hat Bugzilla – Bug 1462423
Update on shutdown broken on encrypted devices.
Last modified: 2017-06-18 10:16:15 EDT
Description of problem:
When shutdown the system an updates are available, than gnome ask to install it on shutdown. But it automatic only works on none encrypted file systems, because it do it this order:
2. boot to update stage
3. install the updates
But on encrypted devices the automatic update fails at part 2, because the system needs an password.
An better solution can be:
1. switch to the update stage without reboot/unmount
2. install the updates
3. shutdown the system.
Version-Release number of selected component (if applicable):
Every time updates are available on system shutdown.
Steps to Reproduce:
1. mark "Install update on shutdown"
The automatic process fails, because at the reboot phase it will wait for the password.
That the updates can be installed on shutdown without unlock the encrypted device.
I think at the bug, there are more components involved.
Gnome, systemd, dnf etc.
gnome-shell only exposes an option of the underlying system, it's not involved at all in the actual update => reassigning to PackageKit.