Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 844178 - net-misc/netifrc-0.7.3-r1 installs shell script that uses non-POSIX features
Summary: net-misc/netifrc-0.7.3-r1 installs shell script that uses non-POSIX features
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: netifrc Team
Depends on:
Blocks: 609070
  Show dependency tree
Reported: 2022-05-14 11:20 UTC by Agostino Sarubbo
Modified: 2022-07-01 20:20 UTC (History)
2 users (show)

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

build.log (build.log,48.04 KB, text/plain)
2022-05-14 11:20 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-05-14 11:20:19 UTC

Issue: net-misc/netifrc-0.7.3 installs shell script that uses non-POSIX features.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-05-14 11:20:21 UTC
Created attachment 778775 [details]

build log and emerge --info
Comment 2 Kerin Millar 2022-05-14 12:49:03 UTC
The type utility is not a bashism, in and as of itself. However, it is part of the XSI extension, meaning that an sh(1) implementation may refrain from implementing it while still being considered as POSIX-conforming. It could be written as "command -v resolvconf >/dev/null" instead. Note that STDERR need not be silenced in that case.
Comment 3 Agostino Sarubbo gentoo-dev 2022-05-20 07:22:51 UTC
ci has reproduced this issue with version 0.7.3-r1 - Updating summary.