Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836614 - sys-cluster/k3s-1.23.5_p1 installs shell script that uses non-POSIX features
Summary: sys-cluster/k3s-1.23.5_p1 installs shell script that uses non-POSIX features
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 609070
  Show dependency tree
 
Reported: 2022-04-01 19:40 UTC by Agostino Sarubbo
Modified: 2022-04-03 17:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,543.75 KB, application/x-xz)
2022-04-01 19:40 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-04-01 19:40:27 UTC
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)
Comment 1 Agostino Sarubbo gentoo-dev 2022-04-01 19:40:32 UTC
Created attachment 768444 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Zac Medico gentoo-dev 2022-04-01 23:49:20 UTC
 * 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
Comment 3 Larry the Git Cow gentoo-dev 2022-04-03 17:26:11 UTC
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(-)