Bug 1254335
Summary: | initial-setup cleanup script hung during a dnf upgrade from f22 to f23 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bruno Wolff III <bruno> |
Component: | systemd | Assignee: | systemd-maint |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | gsgatlin, jacob.e.keller, johannbg, jsynacek, lnykryn, mkolman, msekleta, s, systemd-maint, vpodzime, zbyszek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-19 17:32:36 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: |
Description
Bruno Wolff III
2015-08-17 18:15:48 UTC
This looks to me like a systemd bug because here's what initial-setup does: %preun %systemd_preun initial-setup-text.service %postun %systemd_postun_with_restart initial-setup-text.service %post gui %systemd_post initial-setup-graphical.service %preun gui %systemd_preun initial-setup-graphical.service %postun gui %systemd_postun_with_restart initial-setup-graphical.service where: $ rpm --eval '%{systemd_postun_with_restart}' systemctl daemon-reload >/dev/null 2>&1 || : if [ $1 -ge 1 ] ; then # Package upgrade, not uninstall systemctl try-restart >/dev/null 2>&1 || : fi and systemctl(1) says: try-restart PATTERN... Restart one or more units specified on the command line if the units are running. This does nothing if units are not running. Note that, for compatibility with Red Hat init scripts, condrestart is equivalent to this command. Since the intial-setup-text.service is not running in the time of the upgrade, the try-restart should do nothing. And if daemon-reload hangs, we can hardly do anything about it. I am seeing this on a fresh install of fedora 23 x86_64 MATE spin while doing the first "dnf update" command post install on a laptop. I also did a pair of installs into KVM virtual machines and did NOT see a problem on i686. So something is different between a i686 KVM machine and a x86_64 real laptop PC. Also saw it hang on Cleanup on KVM on x86_64 so maybe its a x86_64 only bug... The problem I'm seeing is with initial-setup-0.3.35-1.fc23.x86_64 It gets stuck in the "Cleanup" part on the lenovo Y470 and x86_64 virtual machine. As a work around, you can find the systemctl process and kill it. It's not really ideal but it gets the cleanup un-hung so that you can finish the upgrade process. It definitely hands on the try-restart, which may just be a bug or a fluke of the particular unit. Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |