ubuntustudio-bugs team mailing list archive
-
ubuntustudio-bugs team
-
Mailing list archive
-
Message #12002
[Bug 2063403] Re: /home/oem and /home/oem/Desktop is owned by root after oem installation, causing the OEM configuration environment to be (nearly) unusable
This bug was fixed in the package calamares-settings-ubuntu - 1:24.04.39
---------------
calamares-settings-ubuntu (1:24.04.39) noble; urgency=medium
* Fix permissions on /home/oem when doing OEM installations. (LP:
#2063403)
-- Aaron Rainbolt <arraybolt3@xxxxxxxxxx> Thu, 25 Apr 2024 00:01:37
-0500
** Changed in: calamares-settings-ubuntu (Ubuntu)
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to calamares-settings-ubuntu in 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
Status in calamares-settings-ubuntu package in Ubuntu:
Fix Released
Bug description:
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 and Unity are
unable to start. LXQt starts, but won't function as expected.
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calamares-settings-ubuntu/+bug/2063403/+subscriptions
References