[Bug 1239471] [NEW] oem user gets deleted even before "Prepare for shipping to end user"
Jason Gerard DeRose
jderose at novacut.com
Sun Oct 13 23:52:33 UTC 2013
Public bug reported:
A regression was introduced in fixing this bug:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1231166
As it stands now, the oem user gets deleted every time the oem-config
upstart job gets run (not just when running the end user config, after
clicking "Prepare for shipping to end user"). So you can never log into
the OEM account... on the first boot after the install, the OEM account
will already be gone, only the temporary session is available.
I know it's getting down the wire and the proper fix might not make the
ISO, but my vote is to at least back this change out because it actually
makes it worse from an OEM perspective.
At least in terms of the processes that System76 uses, it's not a deal-
breaker if the ISO doesn't contain a Ubiquity version that we can ship
to customers, because we regularly update our golden image, can easily
add a patched Ubiquity if needed. But it's a huge pain if the ISO
contains an oem-config so broken that we can't easily master our golden
images in the first place.
Currently to work around this you must do an OEM mode install, then
remount the target device after the install finishes (before you reboot)
and edit /etc/init/oem-config.conf, removing this post-start script bit
at the end:
post-start script
# Remove the temporary OEM configuration user, again, if possible.
# If and when oem-config-wrapper fails http://pad.lv/1231166
[ -f /var/lib/oem-config/remove-oem ]
rm -f /var/lib/oem-config/remove-oem
if getent passwd oem >/dev/null; then
userdel --force --remove oem || true
fi
end script
Note that it would of course be nice to have a proper fix SRU in the
near future. I'm just thinking strategically about what we'll be stuck
with on the 13.10 ISO.
** Affects: ubiquity (Ubuntu)
Importance: Undecided
Status: New
** Tags: saucy system76
** Branch linked: lp:~jderose/ubiquity/fix-1239471
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1239471
Title:
oem user gets deleted even before "Prepare for shipping to end user"
Status in “ubiquity” package in Ubuntu:
New
Bug description:
A regression was introduced in fixing this bug:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1231166
As it stands now, the oem user gets deleted every time the oem-config
upstart job gets run (not just when running the end user config, after
clicking "Prepare for shipping to end user"). So you can never log
into the OEM account... on the first boot after the install, the OEM
account will already be gone, only the temporary session is available.
I know it's getting down the wire and the proper fix might not make
the ISO, but my vote is to at least back this change out because it
actually makes it worse from an OEM perspective.
At least in terms of the processes that System76 uses, it's not a
deal-breaker if the ISO doesn't contain a Ubiquity version that we can
ship to customers, because we regularly update our golden image, can
easily add a patched Ubiquity if needed. But it's a huge pain if the
ISO contains an oem-config so broken that we can't easily master our
golden images in the first place.
Currently to work around this you must do an OEM mode install, then
remount the target device after the install finishes (before you
reboot) and edit /etc/init/oem-config.conf, removing this post-start
script bit at the end:
post-start script
# Remove the temporary OEM configuration user, again, if possible.
# If and when oem-config-wrapper fails http://pad.lv/1231166
[ -f /var/lib/oem-config/remove-oem ]
rm -f /var/lib/oem-config/remove-oem
if getent passwd oem >/dev/null; then
userdel --force --remove oem || true
fi
end script
Note that it would of course be nice to have a proper fix SRU in the
near future. I'm just thinking strategically about what we'll be stuck
with on the 13.10 ISO.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1239471/+subscriptions
More information about the foundations-bugs
mailing list