if oem user is logged in more than one tty when oem-config is set up, the oem user is never completely removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ubiquity
did an OEM install, and for other reasons, while the system was running (prior to running oem-config and logged in as the oem user) I switched to a console and logged in as OEM.
I switched back to X and double clicked the Prepare for Shipping icon and rebooted the system.
On reboot, oem-config ran, i set up my new user account info and it appeared to successfully remove all the oem-config and ubiquity stuff.
However, after that, it attempted to log in as the user 'oem' instead of my new user account.
After some further investigation, I discovered that while the oem home dir and other info had been removed, oem was still listed in /etc/passwd with UID:GID of 29999:29999.
This made it impossible for me to actually log in at all until I manually removed 'oem' from /etc/passwd.
To recreate:
Do OEM install
Reboot and oem is logged in automatically
switch to a different terminal and log in at console as 'oem' and do somehting (check logs, or in my case, just checked network info via ifconfig)
switch back to X without logging out of the terminal
double click the "Prepare for Shipping" icon and verify that it says oem-config will run on next reboot.
Reboot
Fill in all user info during oem-config, observer that status indicates the removal of all oem stuff and ubiquity.
Notice that you are unable to log in, as they system is trying to automatically login as oem, but can't find /home/oem or any other oem stuff.
Reboot and get the same issue. unable to use system because it's trying to auto-login as oem.
Switch to a tty and log in as the new user.
Manually remove the oem user info using userdel command
reboot once more and finally you can log in as the end-user and get to it.
ubiquity (2.3.18) maverick; urgency=low
[ Evan Dandrea ] gtk/stepPartAut o.ui to_partitioning work with parallel debconf instances
* Improve the text on the prepare page, based on input from Matthew
Paul Thomas, Amanda Brock, and Andrew Sinclair
(LP: #635269, LP: #635260).
* Translate latitude and longitude from the Geonames service to its
respective Olsen timezone database entry.
* Add back the hostname entry (LP: #628087).
* Use a block device icon for cases where we cannot detect the
operating system on a partition.
* Set the amount of used space on a partition that we presume contains
no operating system (LP: #626299).
* Make requiring a password to log in the default again, matching the
behavior in the previous version of Ubuntu.
* Use the correct string for the resize partition option.
* Set the size of the disk on the automatic partitioning page
(LP: #626299).
* Use dmidecode to get a more unique suffix for the hostname
(LP: #628087).
* Also generate a sample hostname when generating a sample username
(LP: #634279).
* Only set the next button to 'Install Now' when not on the first
partitioning page (LP: #636392).
* Fix transposed latitude and longitude in geonames lookup.
* Provide a version parameter to the geoname lookup.
* Show the number of partitions that will be deleted when in 'use
entire disk' mode.
* Remove Pango markup from the debconf templates where possible.
* Properly set the partition widget description label.
* Use a GtkMenuBar rather than a GtkMenu as the source of the dark
styling to match recent changes to the default theme.
* Properly start a ConsoleKit session (LP: #631538).
* Fix the spacing on the automatic partitioning page.
gui/
* Correct layout based on suggestions from Matthew Paul Thomas.
* Correct layout on keyboard guesser.
* Run the Jockey backend with an in-memory debconf database, and run
the frontend asynchronously (LP: #627822).
* Don't show the GTK frontend until it's done constructing the UI.
* Show a spinning cursor on the X root window in addition to the
ubiquity window, so it's clear that the installer is loading the
next page even when the cursor is off the main window.
* Make return_
(LP: #637706).
* Added a Windows icon for the resize widget. Thanks Otto Greenslade!
* Disable the alpha warning, albeit late.
* Add a command line option to not install a bootloader
(-b, --no-bootloader) (LP: #615033).
* Do not show 'free space' partitions in the bootloader target
combobox (LP: #615033).
* Meet the Geonames.org CC license requirements by adding 'Geonames.org'
to the map.
* Install the restricted package independent of the apt-installed
packages, since those are installed with just the live CD's
sources.list (LP: #638073).
* Disable the wireless plugin for now. It's not ready for release.
* Make use of the new connectivity check page.
* Automatic update of included source packages: apt-setup
1:0.45ubuntu2, hw-detect 1.73ubuntu5.
[ Mario Limonciello ]
* Restore the functionality of the noninteractive frontend.
* Disable GVFS fuse dae...