Comments (8)
You should be able to find the logs in journalctl output. Either try sudo dnf system-upgrade log
or sudo journalctl -b -N
, where -N
is -1
, -2
, -3
, etc.
from dnf-plugin-system-upgrade.
well, I checked man of journalctl. In my personal opinion, the option doesn't work as it states.
- -b -0 option doesn't show last boot.
- --this-boot option doesn't show this boot.
I have to manually dig into log. In any case, I don't see any special ERROR in boot process.
I don't know why it reboots without launching install.
from dnf-plugin-system-upgrade.
-b -0
should should current boot, the same as --this-boot
. What output do you see?
from dnf-plugin-system-upgrade.
I filed bugzilla report - https://bugzilla.redhat.com/show_bug.cgi?id=1350120
Boot log - https://bugzilla.redhat.com/attachment.cgi?id=1172540
/var/lib/dnf/system-upgrade.json - https://bugzilla.redhat.com/attachment.cgi?id=1172541
from dnf-plugin-system-upgrade.
I commented out reboot() call in run_reboot(). I did see symlink '/system-update' created in root.
After manually executing 'sudo systemctl reboot', it reboot and saw 'dnf-system-upgrade.service' is started by systemd. But it exist and automatically reboot again.
Symlink got removed it. So, I believe it did call run_upgrade(). But somehow, it didn't run through the rest in run_upgrade()
I have trouble to find dnf-system-upgrade log message from journalctl. Do you know how? Thanks!
from dnf-plugin-system-upgrade.
dnf-system-upgrade.service did remove symlink again. So it may not be run_upgrade() remove it. I still don't figure it out how to get the log message from dnf-system-upgrade plugin.
ExecStopPost=/usr/bin/rm -fv /system-update
from dnf-plugin-system-upgrade.
I think I found the culprit in the boot log. Is it possible one of upgrade service /usr/libexec/fwupd/fwupd may bring down the whole system upgrade. I tried to disable fwupd-offline-update.service but it doesn't seem to disable it.
Jun 26 11:22:52 gtx dbus[1055]: [system] Activating service name='org.freedesktop.fwupd' (using servicehelper)
Jun 26 11:22:52 gtx org.freedesktop.fwupd[1055]: /usr/libexec/fwupd/fwupd: symbol lookup error: /lib64/libgusb.so.2: undefined symbol: libusb_get_parent
Jun 26 11:22:52 gtx dbus[1055]: [system] Activated service 'org.freedesktop.fwupd' failed: Launch helper exited with unknown return code 127
Jun 26 11:22:52 gtx fwupdmgr[1047]: Failed to connect to fwupd: Error calling StartServiceByName for org.freedesktop.fwupd: GDBus.Error:org.freedesktop.DBus.Error.Spawn.Chil
Jun 26 11:22:52 gtx systemd[1]: fwupd-offline-update.service: Main process exited, code=exited, status=1/FAILURE
Jun 26 11:22:52 gtx systemd[1]: fwupd-offline-update.service: Unit entered failed state.
Jun 26 11:22:52 gtx systemd[1]: fwupd-offline-update.service: Triggering OnFailure= dependencies.
Jun 26 11:22:52 gtx systemd[1]: fwupd-offline-update.service: Failed with result 'exit-code'.
from dnf-plugin-system-upgrade.
The issue is resolved. It turns out that I have installed different version of libusb in /usr/local/lib for kinect, which caused fwupd service failed. The failure of fwupd caused system upgrade service terminates. Therefore, dnf-system-upgrade plugin didn't finish.
Although it appears that symlink got delete, it actually wiped out by systmed in dnf-system-upgrade.service post exec.
I'd suggest that add a new internal state in dnf-system-upgrade plugin to indicate that run_upgrade didn't get launch because of interruption by other system update service.
from dnf-plugin-system-upgrade.
Related Issues (20)
- Can't load plugin in f22 with Chinese locale HOT 5
- "Error: system is not ready for upgrade" is not helpful HOT 1
- `sudo dnf system-upgrade reboot ` ran into boot loop HOT 11
- include "reporting problems" section in github's readme HOT 1
- prevent reboot loops
- print system-upgrade version to stdout and dnf.log
- RFE: prompt or cancelable delay on reboot command HOT 4
- Add an 'upgrade' repo so stuff doesn't look like it all came from '@commandline'
- obsolete fedup-dracut-plymouth.noarch too. HOT 2
- UnicodeDecodeError on invalid argument options HOT 2
- Add extra diskspace check
- --refresh should be implied
- No update or progress indication at all HOT 3
- Upgrade to version 26 process froze
- dnf system-upgrade reboot starts the upgrade but fails
- dnf system-upgrade reboot fails: unable to upgrade from f26 to f27 HOT 7
- please create version for el7 and el8 on epel HOT 2
- [WSL] System has not been booted with systemd as init system (PID 1). Can't operate.
- upgrade in offline mode to another PC F37->F38 HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnf-plugin-system-upgrade.