[Bug 2016285] Re: Redundant creation of oem user in rpi desktop images
Dave Jones
2016285 at bugs.launchpad.net
Fri Apr 14 10:22:04 UTC 2023
Setting to critical as this currently prevents the creation of the
ubuntu rpi desktop images.
** Changed in: livecd-rootfs (Ubuntu)
Importance: Undecided => Critical
** Changed in: ubuntu-settings (Ubuntu)
Importance: Undecided => Critical
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/2016285
Title:
Redundant creation of oem user in rpi desktop images
Status in livecd-rootfs package in Ubuntu:
New
Status in ubuntu-settings package in Ubuntu:
New
Bug description:
There are two (semi-related) issues which are currently preventing the
creation of Ubuntu desktop images for the Raspberry Pi:
The first is that livecd-rootfs is erroneously trying to create the
oem user (and run oem-config-prepare) twice in live-
build/ubuntu/hooks/099-ubuntu-image-customization.chroot.
The second is that the ubuntu-raspi-settings-desktop package is
attempt to create the oem user and run oem-config-prepare in its
postinst. This is the wrong place to accomplish this as there's no
guarantee that oem-config-prepare is installed at the time that
ubuntu-raspi-settings-desktop is installed. It cannot be a dependency
because oem-config is uninstalled after first boot.
It's likely that the *correct* place to do this configuration is in
neither of these places, but in oem-config's postinst (along with some
check that it's being installed in an image that's never been booted,
e.g. check for the existence of some sentinel created on first boot
... maybe /var/log/boot.log or something). Still, that fix can wait
until it's not release week!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2016285/+subscriptions
More information about the foundations-bugs
mailing list