Re: [meta-virtualization] lxc: starting a container errors out
Bruce Ashfield <[email protected]> Sat, 13 Jun 2026 18:52:02 -0400
| Newsgroups | org.yoctoproject.lists.meta-virtualization |
|---|---|
| Message-ID | <CADkTA4MTErag5MAyYFP=PCvzErAkcZYkrQB3in3ioBXSi82jyA@mail.gmail.com> |
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II On Sat, Jun 13, 2026, 3:34 p.m. Ferry Toth via lists.yoctoproject.org <[email protected]> wrote: > root@yuna:~# lxc-create --name mycontainer --template download -- --dist > ubuntu --release resolute --arch amd64 > > mktemp: failed to create file via template '-d/tmp.XXXXXXXXXX': No such > file or directory > > > This can be traced back to > > - DOWNLOAD_TEMP="${DOWNLOAD_TEMP}$(mktemp -d)" > > + DOWNLOAD_TEMP="$(mktemp -p ${DOWNLOAD_TEMP} -d)" > > > in patch "templates-actually-create-DOWNLOAD_TEMP-directory.patch." > > At this point in the code it is guaranteed that DOWNLOAD_TEMP is unset. > And `mktemp -p -d` results to the above error (on linux). > > The patch needs to be dropped. > So send a patch. lxc is functional for other use cases master-next is passing sanity for incus/lxc and I'll need to confirm those paths against any changes. Bruce > Ferry > > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#9890): > https://lists.yoctoproject.org/g/meta-virtualization/message/9890 > Mute This Topic: https://lists.yoctoproject.org/mt/119792692/1050810 > Group Owner: [email protected] > Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [ > [email protected]] > -=-=-=-=-=-=-=-=-=-=-=- > >