summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* login.sh: put the graphroot on a filesystem overlayfs can live ondelusionalai2026-11-161-15/+34
| | | | | | | | | | | | | | | | | | | | | | | | Podman's overlay storage driver cannot be built on virtiofs, which is what the graphroots sit on in a kata guest, so nested podman fails with "mount overlay: invalid argument". The loop-mounted ext4 that was supposed to fix it never happened, for two independent reasons: - `df -PT "$STORAGE"` runs before anything has created $STORAGE, and df exits 1 on a nonexistent path, so the test is never true. mkdir -p was inside the if. - even when df did answer, `cut -d' ' -f2` returns an empty string, because df separates its columns with runs of spaces rather than single ones. Once it does fire, three more things go wrong: truncate and mkfs run unconditionally, so every start wipes every image and container; the ext4 is root-owned, so the dev user gets EACCES on its own graphroot; and a failed --make-rshared is swallowed with `|| true`, which leaves nested containers without the shared mount propagation they need. Also covers 9p, fuse, nfs, cifs and an overlay root, all of which need the loop just as much as virtiofs does, and treats ext*/xfs/btrfs/f2fs/tmpfs as the native case they are. Co-Authored-By: pi <pi@pi.dev>
* template.sh: fix the shebangdelusionalai2026-11-161-1/+1
| | | | | | | "#/bin/bash" is not a shebang, so the script is not executable as written; it is only ever worked because something else hands it to an interpreter. Co-Authored-By: pi <pi@pi.dev>
* INITIAL COMMITJesper Jensen2026-11-166-0/+171