OEM Install does not seem to like user to be named "oem" again

Bug #251056 reported by Chih-Hsyuan Ho
12
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: oem-config

After oem-config-prepare, if you create a user named "oem" again, the user would not be created properly (no entry in /etc/passwd) and you would not be able to login as so. Furthermore, oem-id does not get generated under /var/log/installer, either.

Steps to re-produce the bug:
1. F4 to select OEM install mode
2. Click on the shortcut to oem-config-prepare on the desktop
3. Create a user named oem
4. Login fails with the newly created user oem
5. Check the /etc/passwd, no entry on oem could be found
6. Check /var/log/installer, no oem-id could be found

Revision history for this message
Loye Young (loyeyoung) wrote :

IYCC confirms that this bug exists. It causes problems with our installation and testing procedures. See also Bug 210779.

Changed in oem-config:
status: New → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

oem-id is clearly a separate problem; it's generated during the first stage of the install, and problems in oem-config can't affect it. Please file a separate bug with full details of the exact installation mode and procedures you used.

Revision history for this message
Colin Watson (cjwatson) wrote :

I've arranged for oem-config to disallow the oem user name.

Changed in oem-config:
assignee: nobody → kamion
status: Confirmed → Fix Committed
Revision history for this message
Loye Young (loyeyoung) wrote : Re: [Bug 251056] Re: OEM Install does not seem to like user to be named "oem" again

I don't understand the rationale for this. Using oem as a user name
SHOULD work, as the bug reporter expected. The fact that oem as a user
doesn't work like it did before is a recent regression. Disallowing
completely the oem user name makes the problem WORSE.

We should return to the former behavior that allowed iterative use of
oem-config simply by using the oem user name. The technique provides
great flexibility and efficiency by enabling the system builder to
test and refine the set up for the customer, without having to
reinstall and reconfigure the entire system.

The use oem-config is a dollars-and-cents issue for us because the
margins on hardware sales are so thin. Oem-config's utility is
directly tied to the labor cost savings it provides in customizing
systems. If we cannot iteratively test the system setup after
configuration but before shipment, the labor savings are lost.

Note: Simply rebooting into oem before executing oem-config-prepare is
no substitute. We've often found that the initial user's setup after
firing off oem-config-prepare was not as expected. By running
oem-config iteratively, we've been able to trap mistakes in
configuration and keep product quality high.

Happy Trails,

Loye Young
Isaac & Young Computer Company
Laredo, Texas
http://www.iycc.net

Revision history for this message
Loye Young (loyeyoung) wrote :

Change committed enshrines the bug instead of fixing it.

Changed in oem-config:
status: Fix Committed → In Progress
Revision history for this message
Colin Watson (cjwatson) wrote :

Would you like me to fix this bug or bug 153311? I think the latter is worse. Bug 153311 is why the oem user is now deleted only after oem-config has finished, which in turn is why you don't get to use the 'oem' user name.

It would be possible to have some more sophisticated system that recreated the oem user on failure, but it's rather complicated.

Changed in oem-config:
status: In Progress → Confirmed
Revision history for this message
Loye Young (loyeyoung) wrote :

@ Colin

>>Would you like me to fix this bug or bug 153311?

There's no reason to choose between them because we can have our cake and
eat it too.

If the new username is to be "oem", don't delete the oem user at all.
Instead, simply delete and recreate the home directory for oem.

Colin Watson (cjwatson)
affects: oem-config (Ubuntu) → ubiquity (Ubuntu)
tags: added: oem-config
Michael Terry (mterry)
tags: added: oem-services
Colin Watson (cjwatson)
Changed in ubiquity (Ubuntu):
assignee: Colin Watson (cjwatson) → nobody
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in ubiquity (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubiquity (Ubuntu) because there has been no activity for 60 days.]

Changed in ubiquity (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.