https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-cluster/k3s-1.23.5_p1 installs shell script that uses non-POSIX features. Discovered on: amd64 (internal ref: ci)
Created attachment 768444 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
* QA Notice: shell script appears to use non-POSIX feature(s): * possible bashism in /etc/init.d/k3s line 30 (should be '.', not 'source'): * if [ -f /etc/environment ]; then source /etc/environment; fi * possible bashism in /etc/init.d/k3s line 31 (should be '.', not 'source'): * if [ -f /etc/rancher/k3s/k3s.env ]; then source /etc/rancher/k3s/k3s.env; fi
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df0333a02c6363b79e61c79af858c5f58dd7e465 commit df0333a02c6363b79e61c79af858c5f58dd7e465 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2022-04-03 17:21:34 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2022-04-03 17:26:07 +0000 sys-cluster/k3s: fix init script bashisms Closes: https://bugs.gentoo.org/836614 Signed-off-by: Zac Medico <zmedico@gentoo.org> sys-cluster/k3s/files/k3s.initd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)