If Kubuntu installation fails, Plasma crashes when attempting to launch once Calamares quits

Bug #2055726 reported by Aaron Rainbolt
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
calamares (Ubuntu)
Fix Released
Critical
Aaron Rainbolt

Bug Description

OS: Kubuntu Noble.
Hardware: Raw QEMU VM.

Attempt to install Kubuntu using Calamares. It will fail due to https://bugs.launchpad.net/ubuntu/+source/calamares/+bug/2054795. After installation failure however, Plasma will attempt to launch, and then crash, possibly multiple times.

This is because Calamares is causing /home/kubuntu/.cache to be owned by root. This trips up Plasma and causes it to crash.

The solution is to `chown -R 1000:1000 /home/kubuntu/.cache` immediately after kubuntu-installer-prompt exits in /usr/libexec/start-kubuntu-live-env. This fixes the ownership of the directory before Plasma starts. I've tested this in a VM and it works.

Changed in calamares (Ubuntu):
status: New → Confirmed
status: Confirmed → Triaged
importance: Undecided → Critical
assignee: nobody → Aaron Rainbolt (arraybolt3)
Rik Mills (rikmills)
Changed in calamares (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
oldfred (oldfred) wrote :

Crash occurs both with try Kubuntu and when installer crashes with this error
Main script file /usr/lib/x86_64-linux-gnu/calamares/modules/networkcfg/main.py for python job networkcfg raised an exception

Graphics during install are still Lubuntu.

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

This should be fixed in 24.04.6:

kubuntu-installer-prompt (24.04.6) noble; urgency=medium

  * Get rid of d/source/options, it was causing the entire Git repo to get
    packaged into the source tarball.
  * Don't launch the installer prompt with `sudo -E`, it causes `~/.cache` to
    become owned by root.
  * Remove the obsolete fix for #2055726 from last upload, not using `sudo -E`
    to launch the prompt fixed the issue.

 -- Aaron Rainbolt <email address hidden> Mon, 04 Mar 2024 21:19:07 -0600

Changed in calamares (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.