-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quadlet examples do not work as is. #128
Comments
This specific error was caused by an incomplete layer! podman just wouldn't run correctly. I rolled back and then upgraded again. Bluefin-cli quadlet seems to work ok as is. I am having an issue with the ubuntu-toolbox-quadlet as well as the fedora-toolbox-quadlet. Here is the status of the ubuntu-toolbox. The fedora-toolbox-quadlet has the exact same error. I think the main error is this: Log Output❯ SYSTEMD_PAGER= systemctl --user status -l ubuntu-toolbox-quadlet.service
× ubuntu-toolbox-quadlet.service - Ubuntu Toolbox for your toolbox needs
Loaded: loaded (/var/home/john/.config/containers/systemd/ubuntu-toolbox-quadlet.container; generated)
Drop-In: /usr/lib/systemd/user/service.d
└─10-timeout-abort.conf
/run/user/1000/systemd/user.control/ubuntu-toolbox-quadlet.service.d
└─50-CPUWeight.conf, 50-IOWeight.conf
Active: failed (Result: exit-code) since Tue 2024-11-26 13:49:14 PST; 19s ago
Duration: 254ms
Invocation: 40469379deb24c37aa0a6c6276c2564d
Process: 73029 ExecStart=/usr/bin/podman run --name ubuntu-toolbox-quadlet --cidfile=/run/user/1000/ubuntu-toolbox-quadlet.cid --replace --rm --cgroups=split --hostname ubuntu-toolbox-quadlet --ulimit host --network host --sdnotify=conmon -d --user root:root --userns keep-id -v /:/run/host:rslave -v /dev:/dev:rslave -v /run/dbus/system_bus_socket:/run/dbus/system_bus_socket -v /var/home/john:/var/home/john:rslave -v /usr/bin/toolbox:/usr/bin/toolbox:ro -v /run/user/1000:/run/user/1000 -v /run/avahi-daemon/socket:/run/avahi-daemon/socket -v /run/.heim_org.h5l.kcm-socket:/run/.heim_org.h5l.kcm-socket -v /run/pcscd/pcscd.comm:/run/pcscd/pcscd.comm -v /run/media:/run/media:rslave -v /etc/profile.d/toolbox.sh:/etc/profile.d/toolbox.sh:ro --label io.containers.autoupdate=registry --env TOOLBOX_PATH=/usr/bin/toolbox --env XDG_RUNTIME_DIR=/run/user/1000 --mount type=devpts,destination=/dev/pts --cgroupns host --ipc host --label com.github.containers.toolbox=true --no-hosts --pid host --privileged --security-opt label=disable --entrypoint toolbox ghcr.io/ublue-os/ubuntu-toolbox:latest init-container --gid 1000 --home /var/home/john --shell /bin/bash --uid 1000 --user john --home-link --media-link --mnt-link (code=exited, status=1/FAILURE)
Process: 73073 ExecStopPost=/usr/bin/podman rm -v -f -i --cidfile=/run/user/1000/ubuntu-toolbox-quadlet.cid (code=exited, status=0/SUCCESS)
Main PID: 73029 (code=exited, status=1/FAILURE)
Mem peak: 35.6M
CPU: 548ms
Nov 26 13:49:14 lpt-john podman[73017]: 2024-11-26 13:49:13.93701063 -0800 PST m=+0.081418149 image pull 5c4de208a2e86a2c47111ca0a907b0f3de49a116e3408a0526a923d4e278c705 ghcr.io/ublue-os/ubuntu-toolbox:latest
Nov 26 13:49:14 lpt-john podman[73017]: 2024-11-26 13:49:14.159112734 -0800 PST m=+0.303520240 container init 04402245f203b1bb723c72112bfd4380436834b05cd8d846db509977f3e9bdb1 (image=ghcr.io/ublue-os/ubuntu-toolbox:latest, name=ubuntu-toolbox-quadlet, org.opencontainers.image.licenses=Apache-2.0, usage=This image is meant to be used with the toolbox or distrobox command, org.opencontainers.image.url=https://github.com/ublue-os/toolboxes, org.opencontainers.image.description=Centralized repository of containers designed for Toolbox/Distrobox, name=ubuntu-toolbox, io.containers.autoupdate=registry, PODMAN_SYSTEMD_UNIT=ubuntu-toolbox-quadlet.service, io.buildah.version=1.23.1, com.github.containers.toolbox=true, org.opencontainers.image.ref.name=ubuntu, [email protected], io.artifacthub.package.readme-url=https://raw.githubusercontent.com/ublue-os/boxkit/main/README.md, org.opencontainers.image.source=https://github.com/ublue-os/toolboxes, org.opencontainers.image.revision=b440a2d631fdce94208cfa09939c61553fa0f348, summary=A cloud-native terminal experience powered by Ubuntu, org.opencontainers.image.version=nightly, org.opencontainers.image.created=2024-11-24T22:27:41.965Z, org.opencontainers.image.title=toolboxes)
Nov 26 13:49:14 lpt-john podman[73017]: 2024-11-26 13:49:14.168723573 -0800 PST m=+0.313131076 container start 04402245f203b1bb723c72112bfd4380436834b05cd8d846db509977f3e9bdb1 (image=ghcr.io/ublue-os/ubuntu-toolbox:latest, name=ubuntu-toolbox-quadlet, org.opencontainers.image.licenses=Apache-2.0, org.opencontainers.image.version=nightly, com.github.containers.toolbox=true, name=ubuntu-toolbox, org.opencontainers.image.revision=b440a2d631fdce94208cfa09939c61553fa0f348, summary=A cloud-native terminal experience powered by Ubuntu, [email protected], io.buildah.version=1.23.1, org.opencontainers.image.description=Centralized repository of containers designed for Toolbox/Distrobox, org.opencontainers.image.source=https://github.com/ublue-os/toolboxes, org.opencontainers.image.created=2024-11-24T22:27:41.965Z, usage=This image is meant to be used with the toolbox or distrobox command, io.artifacthub.package.readme-url=https://raw.githubusercontent.com/ublue-os/boxkit/main/README.md, org.opencontainers.image.url=https://github.com/ublue-os/toolboxes, org.opencontainers.image.ref.name=ubuntu, org.opencontainers.image.title=toolboxes, io.containers.autoupdate=registry, PODMAN_SYSTEMD_UNIT=ubuntu-toolbox-quadlet.service)
Nov 26 13:49:14 lpt-john systemd[2739]: Started ubuntu-toolbox-quadlet.service - Ubuntu Toolbox for your toolbox needs.
Nov 26 13:49:14 lpt-john ubuntu-toolbox-quadlet[73017]: 04402245f203b1bb723c72112bfd4380436834b05cd8d846db509977f3e9bdb1
Nov 26 13:49:14 lpt-john ubuntu-toolbox-quadlet[73029]: Error: failed to redirect /etc/resolv.conf to /run/host/etc/resolv.conf: symlink /run/host/etc/resolv.conf /etc/resolv.conf: file exists
Nov 26 13:49:14 lpt-john podman[73051]: 2024-11-26 13:49:14.294300905 -0800 PST m=+0.058381490 container died 04402245f203b1bb723c72112bfd4380436834b05cd8d846db509977f3e9bdb1 (image=ghcr.io/ublue-os/ubuntu-toolbox:latest, name=ubuntu-toolbox-quadlet, [email protected], org.opencontainers.image.description=Centralized repository of containers designed for Toolbox/Distrobox, org.opencontainers.image.url=https://github.com/ublue-os/toolboxes, org.opencontainers.image.created=2024-11-24T22:27:41.965Z, org.opencontainers.image.title=toolboxes, io.containers.autoupdate=registry, name=ubuntu-toolbox, org.opencontainers.image.revision=b440a2d631fdce94208cfa09939c61553fa0f348, io.artifacthub.package.readme-url=https://raw.githubusercontent.com/ublue-os/boxkit/main/README.md, org.opencontainers.image.licenses=Apache-2.0, usage=This image is meant to be used with the toolbox or distrobox command, summary=A cloud-native terminal experience powered by Ubuntu, io.buildah.version=1.23.1, org.opencontainers.image.source=https://github.com/ublue-os/toolboxes, com.github.containers.toolbox=true, org.opencontainers.image.ref.name=ubuntu, org.opencontainers.image.version=nightly, PODMAN_SYSTEMD_UNIT=ubuntu-toolbox-quadlet.service)
Nov 26 13:49:14 lpt-john podman[73051]: 2024-11-26 13:49:14.416106022 -0800 PST m=+0.180186600 container remove 04402245f203b1bb723c72112bfd4380436834b05cd8d846db509977f3e9bdb1 (image=ghcr.io/ublue-os/ubuntu-toolbox:latest, name=ubuntu-toolbox-quadlet, [email protected], org.opencontainers.image.licenses=Apache-2.0, io.buildah.version=1.23.1, org.opencontainers.image.description=Centralized repository of containers designed for Toolbox/Distrobox, org.opencontainers.image.version=nightly, io.artifacthub.package.readme-url=https://raw.githubusercontent.com/ublue-os/boxkit/main/README.md, org.opencontainers.image.created=2024-11-24T22:27:41.965Z, com.github.containers.toolbox=true, org.opencontainers.image.revision=b440a2d631fdce94208cfa09939c61553fa0f348, PODMAN_SYSTEMD_UNIT=ubuntu-toolbox-quadlet.service, summary=A cloud-native terminal experience powered by Ubuntu, org.opencontainers.image.title=toolboxes, io.containers.autoupdate=registry, org.opencontainers.image.ref.name=ubuntu, org.opencontainers.image.url=https://github.com/ublue-os/toolboxes, usage=This image is meant to be used with the toolbox or distrobox command, org.opencontainers.image.source=https://github.com/ublue-os/toolboxes, name=ubuntu-toolbox)
Nov 26 13:49:14 lpt-john systemd[2739]: ubuntu-toolbox-quadlet.service: Main process exited, code=exited, status=1/FAILURE
Nov 26 13:49:14 lpt-john systemd[2739]: ubuntu-toolbox-quadlet.service: Failed with result 'exit-code'. |
I copied the bluefin-dx-cli quadlet file to
~/.config/containers/systemd/
and ransystemctl --user daemon-reload
. Then I tried starting it and it fails with this error:[Edit] The bluefin-dx-cli quadlet works just fine.
Log Output
The text was updated successfully, but these errors were encountered: