Package: kubetail Version: 1.6.5-2 Severity: important Tags: upstream Dear Maintainer,
Unfortunately, attempting to use kubetail fails on Debian Bookworm. In particular, any trivial use reports a "syntax error", as follows: ``` $ kubetail nginx Will tail 2 logs... nginx-deployment-7c79c4bf97-jdmkg nginx-deployment-7c79c4bf97-p7bxr /usr/bin/kubetail: eval: line 326: syntax error near unexpected token `kubectl' /usr/bin/kubetail: eval: line 326: `kubectl logs nginx-deployment-7c79c4bf97-jdmkg nginx -f=true --since=10s --tail=-1 | while read -r; do echo "[nginx-deployment-7c79c4bf97-jdmkg] $REPLY " | tail -n +1; done kubectl logs nginx-deployment-7c79c4bf97-p7bxr nginx -f=true --since=10s --tail=-1 | while read -r; do echo "[nginx-deployment-7c79c4bf97-p7bxr] $REPLY " | tail -n +1; done' ``` This error has been reported and fixed upstream, with the root cause being a breaking change in Bash 5.2, the version used in Bookworm. Upstream issue: https://github.com/johanhaleby/kubetail/issues/133 A fix for this issue has been merged in Kubetail 1.6.17: https://github.com/johanhaleby/kubetail/pull/134 I'd be grateful if the version in Debian Bookworm can be updated or include the fix above, as otherwise the package can not be used unless one resolts to any of the workarounds published in the upstream issue. Regards. -- System Information: Debian Release: 12.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.7.0-rc6-1001-mainline-git-00303-g3f82f1c3a036 (SMP w/16 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect -- no debconf information