summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add pi background extensionJesper Jensen8 days1-0/+1
|
* Run catatonit as root to reapJesper Jensen13 days1-1/+1
|
* Add ask-user-questionJesper Jensen14 days1-1/+2
|
* Set paseo configJesper Jensen14 days1-1/+3
|
* Fix paseo installJesper Jensen14 days1-1/+4
|
* Run paseo by defaultJesper Jensen14 days2-8/+2
|
* Remove old hashJesper Jensen14 days1-1/+1
|
* Add build descriptionJesper Jensen14 days1-0/+49
|
* Get it working on macosJesper Jensen14 days2-8/+17
|
* Some more small correctionsJesper Jensen2026-11-161-5/+5
|
* Fixup to run locallyJesper Jensen2026-11-162-43/+27
|
* login.sh: give nested podman the devices, modules and cgroup tree it asks fordelusionalai2026-11-161-0/+26
| | | | | | | | | | | | | | | | | | - /dev/net/tun, which rootless podman opens for the container network, and /dev/fuse for the fuse-overlayfs fallback. Both world-readable, since it is the dev user who opens them; mknod alone would leave them 0600 root. - modprobe of loop, overlay, veth and bridge. Nothing else does this: there is no systemd in the guest, so no systemd-modules-load.service, and a kata guest kernel does not necessarily have them built in. - delegation of the cgroup tree. Without systemd there is no user@1000.service and nothing performs the delegation rootless podman needs to create a cgroup for a container, which shows up as "Failed to add conmon to cgroupfs sandbox cgroup" and no --memory/--cpus/--pids-limit. Enabling the controllers for children and chowning /sys/fs/cgroup is all delegation is. Guarded on /proc/self/cgroup being 0::/, so it never hands over a host tree visible through --cgroupns=host. Co-Authored-By: pi <pi@pi.dev>
* 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