Bug 2237960 - warning: %postun(systemd-254.1-2.fc39.x86_64) scriptlet failed, exit status 1
Summary: warning: %postun(systemd-254.1-2.fc39.x86_64) scriptlet failed, exit status 1
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-08 02:24 UTC by Matt Fagnani
Modified: 2024-03-16 14:05 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-03-16 14:05:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
journal of offline upgrade boot with systemd scriplet failure (202.54 KB, text/plain)
2023-09-08 02:26 UTC, Matt Fagnani
no flags Details

Description Matt Fagnani 2023-09-08 02:24:57 UTC
I ran an offline upgrade on a F39 KDE Plasma installation with updates-testing enabled. systemd-254.2-1.fc39 was in the update. The systemd-254.1-2.fc39 postun scriplet failed with the following output during the upgrade. 

Sep 07 22:03:17 dnf-3[882]:   Cleanup          : systemd-254.1-2.fc39.x86_64                         99/122
Sep 07 22:03:26 dnf-3[882]:   Running scriptlet: systemd-254.1-2.fc39.x86_64                         99/122
Sep 07 22:03:26 dnf-3[882]: /var/tmp/rpm-tmp.l02sK7: line 16: fg: no job control
Sep 07 22:03:26 dnf-3[882]: warning: %postun(systemd-254.1-2.fc39.x86_64) scriptlet failed, exit status 1
Sep 07 22:03:26 dnf-3[882]: Error in POSTUN scriptlet in rpm package systemd


Reproducible: Didn't try

Steps to Reproduce:
1. Boot a F39 KDE Plasma installation
2. Log in to Plasma on Wayland
3. Start Konsole
4. Run an offline upgrade with updates-testing enabled with 
sudo dnf offline-upgrade download
sudo dnf offline-upgrade reboot
systemd-254.2-1.fc39 must be in the update.
Actual Results:  
warning: %postun(systemd-254.1-2.fc39.x86_64) scriptlet failed, exit status 1

Expected Results:  
The systemd scriplet shoudn't have failed.

Comment 1 Matt Fagnani 2023-09-08 02:26:56 UTC
Created attachment 1987670 [details]
journal of offline upgrade boot with systemd scriplet failure

I'm attaching the journal from the boot of the offline upgrade with the systemd postun scriptlet failure.

Comment 2 Zbigniew Jędrzejewski-Szmek 2023-09-08 06:40:49 UTC
This is fixed in the next build, but it's blocked because of the beta freeze. I'll ask for an exception.

Comment 3 Zbigniew Jędrzejewski-Szmek 2023-09-08 06:44:15 UTC
On second thought, I don't think this qualifies for a freeze exception. The bug is not very significant: the reload of user managers doesn't work, but that is a new feature, i.e. it never worked. I think it's better if the update goes in after Beta.

Comment 4 Fedora Update System 2023-09-08 06:44:54 UTC
FEDORA-2023-6305159732 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-6305159732

Comment 5 Fedora Update System 2023-09-16 01:48:20 UTC
FEDORA-2023-3355cdb0a8 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-3355cdb0a8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-3355cdb0a8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2023-09-19 01:10:47 UTC
FEDORA-2023-3355cdb0a8 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-3355cdb0a8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-3355cdb0a8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2023-09-28 20:16:44 UTC
FEDORA-2023-3355cdb0a8 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-3355cdb0a8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-3355cdb0a8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2023-10-05 21:15:01 UTC
FEDORA-2023-3355cdb0a8 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.