Bug 2314875

Summary: Anaconda crashes on KDE Live when the installation icon is clicked.
Product: [Fedora] Fedora Reporter: Lukas Ruzicka <lruzicka>
Component: anacondaAssignee: anaconda-maint
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 41CC: anaconda-maint, awilliam, kkoukiou, robatino, tbzatek, v.podzimek+fedora, vtrefny, w
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-09-26 17:59:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2247867    
Attachments:
Description Flags
The journalctl file showing the Anaconda crash none

Description Lukas Ruzicka 2024-09-26 11:00:38 UTC
I wanted to install KDE Live, build 20240925, but I cannot start Anaconda during the process as it crashes instantly. 

Reproducible: Always

Steps to Reproduce:
1. Download the ISO - https://kojipkgs.fedoraproject.org/compose/branched/Fedora-41-20240925.n.0/compose/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-41-20240925.n.0.iso
2. Boot it into the KDE Live.
3. Try running Anaconda by clicking on the Installation icon.
4. Experience the crash.
Actual Results:  
Anaconda crashes when invoked from the KDE Live shortly showing the crash warning that normally could be used to report the bug to Bugzilla directly, but this time the dialogue disappears in a second and the system looks like there was no attempt to start the installation, however there is a load of informations in journactl (I am adding it.)

Expected Results:  
Anaconda starts normally and completes the task.

The log file is attached.

Comment 1 Lukas Ruzicka 2024-09-26 11:01:32 UTC
Created attachment 2048807 [details]
The journalctl file showing the Anaconda crash

Comment 2 Lukas Ruzicka 2024-09-26 11:04:08 UTC
Anaconda cannot be started using other methods, either.

Comment 3 Fedora Blocker Bugs Application 2024-09-26 11:17:19 UTC
Proposed as a Blocker for 41-final by Fedora user lruzicka using the blocker tracking app because:

 Breaks a lot of release criteria, such as Installations, default application functionality, etc.

Comment 4 Adam Williamson 2024-09-26 14:12:37 UTC
Sep 26 06:10:22 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3387]: INFO:program:Running [1] resize2fs -P /dev/vda2 ...
Sep 26 06:10:22 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3387]: INFO:program:stdout[1]:
Sep 26 06:10:22 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3387]: INFO:program:stderr[1]: resize2fs 1.47.1 (20-May-2024)
Sep 26 06:10:22 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3387]: Please run 'e2fsck -f /dev/vda2' first.
Sep 26 06:10:22 localhost-live org.fedoraproject.Anaconda.Modules.Storage[3387]: INFO:program:...done [1] (exit code: 1)

It crashed because libblockdev ran `resize2fs -P /dev/vda2` to work out the smallest size /dev/vda2 could be shrunk to, and this fails because the partition is dirty in some way.

libblockdev should handle this command failing more gracefully (and just return something indicating the partition can't be resized at present, or something), but it may not be a blocker as it would only happen if the partition needs fsck.

Comment 5 Katerina Koukiou 2024-09-26 15:08:33 UTC
Upstream PR https://github.com/rhinstaller/anaconda/pull/5909

Comment 6 Adam Williamson 2024-09-26 16:28:25 UTC
oh, the fix is anaconda-side? assigning back, then.

Comment 7 Vojtech Trefny 2024-09-26 17:59:43 UTC

*** This bug has been marked as a duplicate of bug 2314637 ***