closing the OEM-config window instead of completing the setup removes oem user, uninstalls oem-config* and locks user out

Bug #2004077 reported by Hugo Venhorst
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After setting up an OEM install (vanilla Kubuntu 22.04) with the temporary oem user, i started "prepare for shipping to end user" and rebooted.

I was presented with the setup dialogue. I did not want to set up right then, so i closed the setup window.
- what i expected to happen:
get a dialogue box asking me to [shut down the computer | restart the setup from the beginning | continue the setup.]
(or maybe just cancel the setup and shut down the computer without further warning)

- what actually happened:
without further warning or explanation the setup was aborted, and a dialogue box appeared, showing the process of oem-config and a host of related packages being uninstalled. (this would be the cleanup script that should run after setup is COMPLETED?)

then the computer rebooted into a login screen with the user "oem" preset. logging in with oem's password fails. I suspect the oem user has been removed too, leaving the computer with no user account available.

Right now it is REALLY EASY for an end user to "break the computer", locking themselves out before they even get to use it!
Some fail-safe should be in place that either prevents the dialogue from being closed until setup is completed, or allows the setup to be aborted and the computer shut down for a later day.

Tags: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubiquity (Ubuntu):
status: New → Confirmed
Revision history for this message
Marek Beyer (mbey) wrote :

I've attached my current workaround for this. Better would be to repair the callbacks for the window buttons, because visibility is just a hint to the window manager. For KDE the patch fixes the code so far.

Additionally the patch from Bug #1990196 helps setting up a box for others.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "0001.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
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.