Public bug reported:

Steps to reproduce:

1: Boot an ISO of Kubuntu 24.04 Release Candidate.
2: Select "OEM mode (for manufacturers)" at bootup.
3: Proceed through the installation.
4: Boot into the OEM user.

Expected result: The system should boot normally.

Actual result: Plasma will fail to start.

Reason: I foolishly instructed a fellow Ubuntu Developer to add code to
calamares-settings-ubuntu that drops a desktop file into
/home/oem/Desktop that allows exiting OEM configuration mode easily
(similar to how oem-config works). I failed to take into account that
having the code drop this file into place when the code runs as root
would mean that /home/oem/Desktop (and also /home/oem) would end up
owned by root. Because they are owned by root, Plasma is unable to
start. LXQt starts, but probably won't function as expected. It's not
yet known what Unity will do but it can't be too pretty.

This requires only one line of code to fix per release - a simple `chown
-R oem:oem /home/oem` is needed after extracting the OEM mode tarball
into the root filesystem of the installed system. This is a very safe
change to make because it's confined only to OEM mode (the code never
runs outside of an OEM installation context), and, well, OEM mode is
already hopelessly broken, we can't break it much more :P

** Affects: calamares-settings-ubuntu (Ubuntu)
     Importance: Critical
     Assignee: Aaron Rainbolt (arraybolt3)
         Status: Triaged

** Changed in: calamares-settings-ubuntu (Ubuntu)
       Status: New => Triaged

** Changed in: calamares-settings-ubuntu (Ubuntu)
   Importance: Undecided => Critical

** Changed in: calamares-settings-ubuntu (Ubuntu)
     Assignee: (unassigned) => Aaron Rainbolt (arraybolt3)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063403

Title:
  /home/oem and /home/oem/Desktop is owned by root after oem
  installation, causing the OEM configuration environment to be (nearly)
  unusable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/2063403/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to