Package Details: k3s 1.35.2+k3s1-1

Git Clone URL: https://aur.archlinux.org/k3s.git (read-only, click to copy)
Package Base: k3s
Description: Lightweight Kubernetes
Upstream URL: https://k3s.io
Licenses: Apache-2.0
Submitter: intelfx
Maintainer: intelfx
Last Packager: intelfx
Votes: 2
Popularity: 0.004647
First Submitted: 2024-02-14 00:51 (UTC)
Last Updated: 2026-03-16 23:59 (UTC)

Latest Comments

nikelborm commented on 2026-05-11 21:37 (UTC)

UPD. didn't work in runtime.

May 12 00:23:31 archhost (k3s)[1589158]: k3s.service: Referenced but unset environment variable evaluates to an empty string: K3S_EXEC
May 12 00:23:31 archhost k3s[1589158]: time="2026-05-12T00:23:31+03:00" level=info msg="Acquiring lock file /var/lib/rancher/k3s/data/.lock"
May 12 00:23:31 archhost k3s[1589158]: time="2026-05-12T00:23:31+03:00" level=info msg="Preparing data dir /var/lib/rancher/k3s/data/7053274734de8c77ac77433e8425bb5257bda34108567d9>
May 12 00:23:31 archhost k3s[1589158]: time="2026-05-12T00:23:31+03:00" level=info msg="tar reading error: window size exceeded"
May 12 00:23:31 archhost k3s[1589158]: time="2026-05-12T00:23:31+03:00" level=info msg="error extracting tarball into /var/lib/rancher/k3s/data/7053274734de8c77ac77433e8425bb5257bd>
May 12 00:23:31 archhost k3s[1589158]: time="2026-05-12T00:23:31+03:00" level=fatal msg="Error: extracting data: tar error: window size exceeded"
May 12 00:23:31 archhost systemd[1]: k3s.service: Main process exited, code=exited, status=1/FAILURE

nikelborm commented on 2026-05-11 21:12 (UTC) (edited on 2026-05-11 21:14 (UTC) by nikelborm)

Getting the same on just plain arch.

+ [[ -t 0 ]]
+ [[ -t 1 ]]
+ [[ -t 2 ]]
+ xargs+=(-o)
+ airgap_image_file=scripts/airgap/image-list.txt
+ airgap_tar_file=dist/artifacts/k3s-airgap-images-amd64.tar
+ readarray -t images
+ printf '%s\0' docker.io/rancher/klipper-helm:v0.9.14-build20260210 docker.io/rancher/klipper-lb:v0.4.14 docker.io/rancher/local-path-provisioner:v0.0.34 docker.io/rancher/mirrored-coredns-coredns:1.14.1 docker.io/rancher/mirrored-library-busybox:1.37.0 docker.io/rancher/mirrored-library-traefik:3.6.9 docker.io/rancher/mirrored-metrics-server:v0.8.1 docker.io/rancher/mirrored-pause:3.6
+ xargs -o -0 -t -n1 docker pull
docker pull docker.io/rancher/klipper-helm:v0.9.14-build20260210
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.51/images/create?fromImage=docker.io%2Francher%2Fklipper-helm&tag=v0.9.14-build20260210": dial unix /var/run/docker.sock: connect: permission denied
docker pull docker.io/rancher/klipper-lb:v0.4.14
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.51/images/create?fromImage=docker.io%2Francher%2Fklipper-lb&tag=v0.4.14": dial unix /var/run/docker.sock: connect: permission denied
docker pull docker.io/rancher/local-path-provisioner:v0.0.34
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.51/images/create?fromImage=docker.io%2Francher%2Flocal-path-provisioner&tag=v0.0.34": dial unix /var/run/docker.sock: connect: permission denied
docker pull docker.io/rancher/mirrored-coredns-coredns:1.14.1
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.51/images/create?fromImage=docker.io%2Francher%2Fmirrored-coredns-coredns&tag=1.14.1": dial unix /var/run/docker.sock: connect: permission denied
docker pull docker.io/rancher/mirrored-library-busybox:1.37.0
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.51/images/create?fromImage=docker.io%2Francher%2Fmirrored-library-busybox&tag=1.37.0": dial unix /var/run/docker.sock: connect: permission denied
docker pull docker.io/rancher/mirrored-library-traefik:3.6.9
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.51/images/create?fromImage=docker.io%2Francher%2Fmirrored-library-traefik&tag=3.6.9": dial unix /var/run/docker.sock: connect: permission denied
docker pull docker.io/rancher/mirrored-metrics-server:v0.8.1
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.51/images/create?fromImage=docker.io%2Francher%2Fmirrored-metrics-server&tag=v0.8.1": dial unix /var/run/docker.sock: connect: permission denied
docker pull docker.io/rancher/mirrored-pause:3.6
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.51/images/create?fromImage=docker.io%2Francher%2Fmirrored-pause&tag=3.6": dial unix /var/run/docker.sock: connect: permission denied

Modifying the PKGBUILD like advised by @intelfx (if I understood it correctly) helps and the build and installatio succeeeds. (haven't tested runtime yet)

diff --git a/PKGBUILD b/PKGBUILD
index 4b6c734..59f37db 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -88,9 +88,7 @@ EOF
   # 4. Run podman-system-service to create a dockerd-compatible control socket
   # and point every broken tool in existence towards it.
   # (Do not run podman-system-service if one is already available.)
-  if [[ -e /var/run/docker.sock ]]; then
-    :
-  elif [[ -e /run/user/$UID/podman/podman.sock ]]; then
+  if [[ -e /run/user/$UID/podman/podman.sock ]]; then
     export DOCKER_HOST="unix:///run/user/$UID/podman/podman.sock"
   else
     export DOCKER_HOST="unix://$PWD/docker.sock"

intelfx commented on 2026-02-15 21:42 (UTC)

@snowman78, try commenting out the conditional in build() that tests whether /var/run/docker.sock is available, such that the else branch is always taken.

snowman78 commented on 2025-10-31 08:51 (UTC)

Trying to install this on EndeavourOS using yay. It fails after a while, with this stuff:

  • xargs=(xargs)
  • [[ -t 0 ]]
  • [[ -t 1 ]]
  • [[ -t 2 ]]
  • xargs+=(-o)
  • airgap_image_file=scripts/airgap/image-list.txt
  • airgap_tar_file=dist/artifacts/k3s-airgap-images-amd64.tar
  • readarray -t images
  • printf '%s\0' docker.io/rancher/klipper-helm:v0.9.8-build20250709 docker.io/rancher/klipper-lb:v0.4.13 docker.io/rancher/local-path-provisioner:v0.0.31 docker.io/rancher/mirrored-coredns-coredns:1.12.3 docker.io/rancher/mirrored-library-busybox:1.36.1 docker.io/rancher/mirrored-library-traefik:3.3.6 docker.io/rancher/mirrored-metrics-server:v0.8.0 docker.io/rancher/mirrored-pause:3.6+ xargs -o -0 -n1 docker pull permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.51/images/create?fromImage=docker.io%2Francher%2Fklipper-helm&tag=v0.9.8-build20250709": dial unix /var/run/docker.sock: connect: permission denied

Docker is running, docker.sock is owned by root and in group docker. My user is also in group docker, so I can run docker stuff. yay is run as my user, then if it needs it, it requests sudo. It didn't now, I think.