Bug 1648589
Summary: | recursively repeats command until no more processes | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Brian J. Murrell <brian> | ||||
Component: | setup | Assignee: | Ondrej Vasik <ovasik> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 29 | CC: | brian, karsten, lnykryn, me, ovasik, pfrankli, pknirsch | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | setup-2.12.1-2.fc29 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-07-10 03:18:44 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Brian J. Murrell
2018-11-10 20:26:27 UTC
Any idea here? Hi, I'm not seeing this fail on f29. Can you provide a build log? Thanks, Patsy It doesn't produce any output at all. I will attach the output of: make -d image PROFILE=WNDR4300V1 Created attachment 1507221 [details]
make -d image PROFILE=WNDR4300V1
Output of "make -d image PROFILE=WNDR4300V1".
It's /etc/profile.d/lang.sh on F29. When I [re-]move that file, the build works. Somehow that file is causing bash to run itself recursively. I notice that it is *significantly* different in F29 than F28. Should I open a new ticket on the package it comes from: "setup" or will we just reassign this ticket to the "setup" package so that the history is there to be seen? And in /etc/profile.d/lang.sh it's this line that is causing the problem: eval $(sed -r -e 's/^[[:blank:]]*([[:upper:]_]+)=([[:print:][:digit:]\._-]+|"[[:print:][:digit:]\._-]+")/export \1=\2/;t;d' ${config}) because in that build PATH is set to: PATH=/net/server/src/openwrt-imagebuilder-18.06.0-ar71xx-nand.Linux-x86_64/staging_dir/toolchain-mips_24kc_gcc-7.3.0_musl/bin:/net/server/src/openwrt-imagebuilder-18.06.0-ar71xx-nand.Linux-x86_64/staging_dir/host/bin:$PATH and: $ cat /net/server/src/openwrt-imagebuilder-18.06.0-ar71xx-nand.Linux-x86_64/staging_dir/host/bin/sed #!/usr/bin/env bash dir="$(dirname "$0")" export RUNAS_ARG0="$0" export LD_PRELOAD="$dir/../lib/runas.so" exec "$dir/../lib/ld-linux-x86-64.so.2" --library-path "$dir/../lib/" "$dir/.sed.bin" "$@" causes bash to call itself recursively. Moving to setup component since this problem seems to be there, not make. lang.sh and lang.csh used to be part of initscripts package before. In F29 we moved them to setup package. I'll check whether there were some changes or not. Probably, ultimately for security if nothing else, perhaps scripts such as lang.[c]sh should fully-qualify the path to the tools it wants to use? FEDORA-2019-0045f042d7 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0045f042d7 setup-2.12.1-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-0045f042d7 setup-2.12.1-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. |