Bug 896023
Summary: | The upgrade doesn't continue after reboot, possibly because systemd doesn't see system-update.target | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Howells <dhowells> | ||||||||||
Component: | fedup | Assignee: | Will Woods <wwoods> | ||||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||
Priority: | unspecified | ||||||||||||
Version: | 17 | CC: | rstrode, tflink, wwoods | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | fedup-0.7.3-5.fc17 | Doc Type: | Bug Fix | ||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2013-05-15 03:29:17 UTC | Type: | Bug | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Attachments: |
|
Description
David Howells
2013-01-16 13:46:14 UTC
Or maybe it does see it: [root@warthog system]# systemctl status system-upgrade.target system-upgrade.target - System Upgrade Loaded: loaded (/usr/lib/systemd/system/system-upgrade.target; static) Active: inactive (dead) Docs: http://freedesktop.org/wiki/Software/systemd/SystemUpdates man:systemd.special(7) According to: http://freedesktop.org/wiki/Software/systemd/SystemUpdates the system upgrade should be automatically triggered by a symlink: /system-update with no need to put anything on the kernel command line to persuade systemd to do stuff. However, fedup seems to have made this: /system-upgrade Created attachment 679725 [details]
grub2 config
Created attachment 679732 [details]
lsinitrd on /boot/initramfs-fedup.img
initramfs-fedup.img contains:
-rw-r--r-- 1 root root 162 Jan 9 19:58 etc/systemd/system/upgrade.target
rather than etc/systemd/system-upgrade.target is that correct, given the option on the kernel command line:
systemd.unit=system-upgrade.target
Created attachment 679746 [details]
Output of "journalctl -a" with "systemd.log_level=debug"
Created attachment 679754 [details]
dmesg showing "plymouth.debug=stream:/dev/kmsg"
(In reply to comment #2) Don't mix up SystemUpdates and fedup - they're totally separate. Also don't mix up the initramfs 'upgrade.target' and the host's 'system-upgrade.target'. They're two different things - and they're both needed. The fedup boot process is a bit weird: it starts in the initramfs, then starts the host system to mount disks, then goes *back* to initramfs to run the upgrade. But I'm not sure that's necessarily important here... What's more interesting is that you have an encrpyted /home, which should probably get unlocked, but there's apparently no prompt for it? Indeed, I see no prompt. Looking through the journal, the password entry service tried to run and failed, and after a bit, plymouthd segfaulted. Running without rhgb on the kernel command line worked. So i spent some time looking at this, and believe I know the problem. In order for plymouth to be able to display text in its graphical mode, it needs access to font rendering libraries (and fonts, etc). These libraries currently include, pango, fontconfig, freetype, and cairo. We don't want to ship all of that stuff in the initrd, so we instead put all font rendering functionality in a "label" plugin that gets loaded after the root filesystem is mounted. plymouth currently makes no ABI gaurantees from release to release. That normally doesn't matter, because plymouthd and the label plugin are normally built together. In this situation, we're using an f18 plymouth with an f17 label plugin. There is an abi incompatibility, because the newer version of the label plugin has additional virtual functions. The newer label plugin is backward compatible with the older plymouthd, but the older label plugin isn't forward compatible with the newer plymouthd. The easiest, though not really so elegant, fix is probably to ship the newer label plugin with fedup in its initrd and copy the label plugin to the root fs before doing the switch root. alternatively we could do a plymouth build for f17 that fixed the abi incompatibility and then we could force users to upgrade their plymouth before starting the fedup process. fedup-0.7.3-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/fedup-0.7.3-1.fc17 Package fedup-0.7.3-1.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing fedup-0.7.3-1.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-3956/fedup-0.7.3-1.fc17 then log in and leave karma (feedback). Can anyone confirm that this update fixes upgrades on systems with /home (and only /home) encrypted? fedup-0.7.3-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/fedup-0.7.3-3.fc18 fedup-0.7.3-3.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/fedup-0.7.3-3.fc17 fedup-0.7.3-4.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/fedup-0.7.3-4.fc17 fedup-0.7.3-4.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/fedup-0.7.3-4.fc18 fedup-0.7.3-4.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/fedup-0.7.3-4.fc19 fedup-0.7.3-4.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. fedup-0.7.3-5.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/fedup-0.7.3-5.fc17 fedup-0.7.3-4.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. fedup-0.7.3-5.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |