rpm-software-management / dnf-plugin-system-upgrade

A DNF plugin for system upgrades (moved to dnf-plugins-extras!)
GNU General Public License v2.0
24 stars 22 forks source link

No update or progress indication at all #53

Open genodeftest opened 8 years ago

genodeftest commented 8 years ago

Please have a look at https://bugzilla.redhat.com/show_bug.cgi?id=1317195 for details.

Under some conditions (details unclear), there is no progress indication for the system-upgrade dnf plugin at all.

wgwoods commented 8 years ago

So far it seems that this happens specifically on systems that don't have plymouth installed.

Normally, while the upgrade is running, it's sending messages to stdout (which are put into the journal by systemd) and plymouth, which puts them on the screen. If there's no plymouth, it seems likely that the user will see no output.

We used to have systemd send stdout to /dev/console, so that systems without plymouth would see log messages, but a) the Fedora packaging guidelines forbid that, and b) testers with plymouth complained about duplicate output (see #13).

If there is a way to make systemd switch to sending the service's output to the console if plymouth isn't present, I haven't found it yet. Research continues.

timcoote commented 6 years ago

It would be useful if progress were visible for headless upgrades. Fedora upgrades used to provide a vnc session to observe headless upgrades.

j-mracek commented 6 years ago

I would like to point out that the rpm-software-management/dnf-plugin-system-upgrade repository was merged with dnf-plugins-extras , therefore any discussion here can be easily overlooked.