Comment 3 for bug 2045336

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 2045336] Re: [3.1+snap3] Attempts to write contents into a file which is not a directory with trailing slash

On Mon, Dec 04, 2023 at 11:23:30AM -0000, Paul Mars wrote:
> What version of ubuntu-pi-arm64.yaml did you use?

> I tried to reproduce and encountered another error at the
> `perform_manual_customization` step, using the recently modified one
> from the ubuntu/noble branch, so I cannot reproduce yet.

Please note that the only recent change there was to point the noble branch
to actually build for noble instead of mantic, so should have no effect on
the behavior of ubuntu-image wrt perform_manual_customization. (Even the
oem-config-prepare command from oem-config is still at the same version
between mantic and noble.)

> sudo: unknown user oem
> sudo: error initializing audit plugin sudoers_audit

Well, the oem-config-prepare script certainly depends on invoking `sudo -u
oem` when $DISPLAY is set. You could try unsetting $DISPLAY before invoking
ubuntu-image.

--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
<email address hidden> <email address hidden>