Open p4p4j0hn opened 5 days ago
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: Error: failed to redirect /etc/resolv.conf to /run/host/etc/resolv.conf: symlink /run/host/etc/resolv.conf /etc/resolv.conf: file exists
.
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
```bash ❯ SYSTEMD_PAGER= systemctl --user status -l bluefin-dx-cli.service × bluefin-dx-cli.service - Bluefin DX CLI for Wolfi development with brew Loaded: loaded (/var/home/john/.config/containers/systemd/bluefin-dx-cli.container; generated) Drop-In: /usr/lib/systemd/user/service.d └─10-timeout-abort.conf Active: failed (Result: core-dump) since Tue 2024-11-26 11:36:39 PST; 3min 5s ago Invocation: 2bb2899563ce44aa9a6ee3207ee23602 Process: 827006 ExecStart=/usr/bin/podman run --name bluefin --cidfile=/run/user/1000/bluefin-dx-cli.cid --replace --rm --cgroups=split --hostname bluefin-dx.lpt-john --ulimit host --network host --sdnotify=conmon -d --user root:root --userns keep-id -v /:/run/host:rslave -v /tmp:/tmp:rslave -v /var/home/john:/var/home/john:rslave -v /dev:/dev:rslave -v /sys:/sys:rslave -v /dev/pts -v /dev/null:/dev/ptmx -v /sys/fs/selinux -v /var/log/journal -v /var/home/john:/var/home/john:rslave -v /run/user/1000:/run/user/1000:rslave -v /etc/hosts:/etc/hosts:ro -v /etc/resolv.conf:/etc/resolv.conf:ro --label io.containers.autoupdate=registry --env HOME=/var/home/john --env SHELL=/bin/bash --env container=podman --label manager=distrobox --annotation run.oci.keep_original_groups=1 --entrypoint /usr/bin/entrypoint --ipc host --pid host --privileged --security-opt label=disable --security-opt apparmor=unconfined ghcr.io/ublue-os/bluefin-dx-cli:latest --verbose --name john --user 1000 --group 1000 --home /var/home/john --init 0 --nvidia 1 -- (code=dumped, signal=ABRT) Process: 827035 ExecStopPost=/usr/bin/podman rm -v -f -i --cidfile=/run/user/1000/bluefin-dx-cli.cid (code=dumped, signal=ABRT) Main PID: 827006 (code=dumped, signal=ABRT) Mem peak: 20.4M CPU: 706ms Nov 26 11:36:38 lpt-john bluefin-dx-cli[827035]: /usr/lib/golang/src/runtime/sigqueue.go:152 +0x29 fp=0xc000073fc0 sp=0xc000073fa0 pc=0x561e50fc0ec9 Nov 26 11:36:38 lpt-john bluefin-dx-cli[827035]: os/signal.loop() Nov 26 11:36:38 lpt-john bluefin-dx-cli[827035]: /usr/lib/golang/src/os/signal/signal_unix.go:23 +0x13 fp=0xc000073fe0 sp=0xc000073fc0 pc=0x561e510b43d3 Nov 26 11:36:38 lpt-john bluefin-dx-cli[827035]: runtime.goexit({}) Nov 26 11:36:38 lpt-john bluefin-dx-cli[827035]: /usr/lib/golang/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc000073fe8 sp=0xc000073fe0 pc=0x561e50fc74e1 Nov 26 11:36:38 lpt-john bluefin-dx-cli[827035]: created by os/signal.Notify.func1.1 in goroutine 1 Nov 26 11:36:38 lpt-john bluefin-dx-cli[827035]: /usr/lib/golang/src/os/signal/signal.go:151 +0x1f Nov 26 11:36:39 lpt-john systemd-coredump[827046]: [🡕] Process 827035 (podman) of user 1000 dumped core. Module libbz2.so.1 from rpm bzip2-1.0.8-19.fc41.x86_64 Module libsepol.so.2 from rpm libsepol-3.7-2.fc41.x86_64 Module libpcre2-8.so.0 from rpm pcre2-10.44-1.fc41.1.x86_64 Module libcap-ng.so.0 from rpm libcap-ng-0.8.5-3.fc41.x86_64 Module libgpg-error.so.0 from rpm libgpg-error-1.50-2.fc41.x86_64 Module libpam_misc.so.0 from rpm pam-1.6.1-6.fc41.x86_64 Module libpam.so.0 from rpm pam-1.6.1-6.fc41.x86_64 Module libattr.so.1 from rpm attr-2.5.2-4.fc41.x86_64 Module libacl.so.1 from rpm acl-2.3.2-2.fc41.x86_64 Module libcrypt.so.2 from rpm libxcrypt-4.4.36-10.fc41.x86_64 Module libeconf.so.0 from rpm libeconf-0.6.2-3.fc41.x86_64 Module libsemanage.so.2 from rpm libsemanage-3.7-2.fc41.x86_64 Module libselinux.so.1 from rpm libselinux-3.7-5.fc41.x86_64 Module libaudit.so.1 from rpm audit-4.0.2-1.fc41.x86_64 Module libseccomp.so.2 from rpm libseccomp-2.5.5-2.fc41.x86_64 Module podman from rpm podman-5.3.0-1.fc41.x86_64 Stack trace of thread 827043: #0 0x0000561e50fc8d21 runtime.raise.abi0 (podman + 0x82d21) #1 0x0000561e50f9e6c8 runtime.sigfwdgo (podman + 0x586c8) #2 0x0000561e50f9cf25 runtime.sigtrampgo (podman + 0x56f25) #3 0x0000561e50fc9029 runtime.sigtramp.abi0 (podman + 0x83029) #4 0x00007fc50cdfedd0 __restore_rt (libc.so.6 + 0x19dd0) #5 0x0000561e50fc8d21 runtime.raise.abi0 (podman + 0x82d21) #6 0x0000561e50f84ad3 runtime.fatalpanic (podman + 0x3ead3) #7 0x0000561e50fbea28 runtime.gopanic (podman + 0x78a28) #8 0x0000561e50fc0e19 runtime.sigpanic (podman + 0x7ae19) #9 0x0000561e519a8df7 github.com/containers/storage.(*layerStore).load (podman + 0xa62df7) #10 0x0000561e519aabc5 github.com/containers/storage.(*store).newLayerStore (podman + 0xa64bc5) #11 0x0000561e519bdb9d github.com/containers/storage.(*store).getLayerStoreLocked (podman + 0xa77b9d) #12 0x0000561e519d37e5 github.com/containers/storage.(*store).Shutdown (podman + 0xa8d7e5) #13 0x0000561e52053d9a github.com/containers/podman/v5/libpod.(*Runtime).Shutdown (podman + 0x110dd9a) #14 0x0000561e5210ec1c github.com/containers/podman/v5/pkg/domain/infra/abi.(*ImageEngine).Shutdown.func1 (podman + 0x11c8c1c) #15 0x0000561e50fd4c74 sync.(*Once).doSlow (podman + 0x8ec74) #16 0x0000561e5210ebba github.com/containers/podman/v5/pkg/domain/infra/abi.(*ImageEngine).Shutdown (podman + 0x11c8bba) #17 0x0000561e523278d5 main.Execute (podman + 0x13e18d5) #18 0x0000561e52326ed2 main.main (podman + 0x13e0ed2) #19 0x0000561e50f87bdd runtime.main (podman + 0x41bdd) #20 0x0000561e50fc74e1 runtime.goexit.abi0 (podman + 0x814e1) ELF object binary architecture: AMD x86-64 Nov 26 11:36:39 lpt-john systemd[2673]: bluefin-dx-cli.service: Failed with result 'core-dump'. Nov 26 11:36:39 lpt-john systemd[2673]: Failed to start bluefin-dx-cli.service - Bluefin DX CLI for Wolfi development with brew. ```