Temporary OEM user not removed after end user setup
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| shadow (Ubuntu) |
High
|
William Grant | |||
| Vivid |
High
|
William Grant | |||
Bug Description
Vivid Ubuntu Desktop 20150326
The temporary OEM user is not removed after end user configuration and presented as default the first time the user logs in.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: oem-config (not installed)
ProcVersionSign
Uname: Linux 3.19.0-10-generic i686
ApportVersion: 2.16.2-0ubuntu4
Architecture: i386
Date: Thu Mar 26 17:41:22 2015
InstallCmdLine: file=/cdrom/
InstallationDate: Installed on 2015-03-26 (0 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Beta i386 (20150326)
ProcEnviron:
LANGUAGE=fr_FR
TERM=xterm
PATH=(custom, no user)
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Mathieu Trudel-Lapierre: Approve on 2015-04-02
- Dimitri John Ledkov: Approve on 2015-04-02
-
Diff: 95 lines (+32/-6)6 files modifiedbin/oem-config-firstboot (+2/-0)
bin/oem-config-prepare (+1/-1)
debian/changelog (+20/-0)
debian/oem-config.install (+1/-0)
debian/oem-config.oem-config.service (+1/-5)
debian/oem-config.target (+7/-0)
| Jean-Baptiste Lallement (jibel) wrote : | #1 |
| Launchpad Janitor (janitor) wrote : | #3 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in ubiquity (Ubuntu): | |
| status: | New → Confirmed |
| Martin Wimpress (flexiondotorg) wrote : | #4 |
On Ubuntu MATE 15.04 Beta 2 when the user complete the OEM config (username, location, keyboard, etc) the desktop part loads then fails to restart. After a reboot the system is still in OEM config mode, then 'Prepare for shipping to end user' is still present on the desktop and the 'oem' user is the default user and has sudo rights.
| Changed in ubiquity (Ubuntu): | |
| importance: | Undecided → Low |
| Changed in hundredpapercuts: | |
| status: | New → Confirmed |
| importance: | Undecided → Low |
| Changed in ubiquity (Ubuntu): | |
| importance: | Low → High |
| Changed in ubiquity (Ubuntu): | |
| status: | Confirmed → In Progress |
| assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
| Launchpad Janitor (janitor) wrote : | #5 |
This bug was fixed in the package ubiquity - 2.21.18
---------------
ubiquity (2.21.18) vivid; urgency=medium
* Overhaul for proper systemd support (LP: #1436937)
* bin/oem-
instead of using /var/lib/
* bin/oem-
- after removing the oem user, set the default target back to graphical.
- call for systemd to start the graphical target, so as to complete booting
to graphical or to TTYs after oem-config-
* debian/
start without conflicting with a display-manager that may also want to
start and use the oem user in auto-login.
* debian/
conditions; we don't really need to worry about Before/After since we'll
run in our own isolated target.
* debian/
right location for systemd.
-- Mathieu Trudel-Lapierre <email address hidden> Thu, 02 Apr 2015 13:58:02 -0400
| Changed in ubiquity (Ubuntu): | |
| status: | In Progress → Fix Released |
| no longer affects: | hundredpapercuts |
| Jean-Baptiste Lallement (jibel) wrote : | #6 |
Re-opening. It is not entirely fixed in image 20150417.1
| Changed in ubiquity (Ubuntu): | |
| status: | Fix Released → Triaged |
| Changed in ubiquity (Ubuntu Vivid): | |
| milestone: | none → ubuntu-15.04 |
| Jean-Baptiste Lallement (jibel) wrote : | #7 |
When it happens removal of oem user fails with (full log attached)
+ userdel --force --remove oem
userdel: user oem is currently used by process 706
userdel: cannot open /etc/subuid
output of getent passws oem:
oem:x:29999:
⟫ cat /tmp/subuid
oem:100000:65536
ubuntu:165536:65536
| Jean-Baptiste Lallement (jibel) wrote : | #8 |
strace of "userdel --force --remove oem"
| William Grant (wgrant) wrote : | #9 |
userdel's user_busy opens subuid RO, but fails to close it on error, causing the later RW subuid open to fail.
| Changed in ubiquity (Ubuntu Vivid): | |
| assignee: | Mathieu Trudel-Lapierre (mathieu-tl) → William Grant (wgrant) |
| status: | Triaged → In Progress |
| affects: | ubiquity (Ubuntu Vivid) → shadow (Ubuntu Vivid) |
| Changed in shadow (Ubuntu Vivid): | |
| status: | In Progress → Fix Committed |
| Launchpad Janitor (janitor) wrote : | #10 |
This bug was fixed in the package shadow - 1:4.1.5.
---------------
shadow (1:4.1.
* debian/
- libmisc/
code that later opens it as RW fails obscurely. (LP: #1436937)
-- William Grant <email address hidden> Mon, 20 Apr 2015 18:41:47 +0100
| Changed in shadow (Ubuntu Vivid): | |
| status: | Fix Committed → Fix Released |


This bug has been reported on the Ubuntu ISO testing tracker.
A list of all reports related to this bug can be found here: iso.qa. ubuntu. com/qatracker/ reports/ bugs/1436937
http://