Bug 1180780

Summary: scl-utils profile spews function definition on login for zsh users
Product: [Fedora] Fedora Reporter: Kevin Fenzi <kevin>
Component: scl-utilsAssignee: Jan Zeleny <jzeleny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: auchytil, bkabrda, gchamoul, jzeleny, mathewm770
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: scl-utils-2.0.1-2.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-30 04:28:39 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:

Description Kevin Fenzi 2015-01-10 00:57:36 UTC
On opening a new terminal with zsh I get: 

scl () {
	local CMD=$1
	if [ "$CMD" = "load" -o "$CMD" = "unload" ]
	then
		eval "module $@"
	else
		/usr/bin/scl $@
	fi
}
kevin@voldemort ~ %      

Please fix the profile setup so it doesn't echo that to the terminal for zsh users. 

It seems to be the 'export -f scl' that does it.

Comment 1 Fedora Update System 2015-01-21 08:26:52 UTC
scl-utils-2.0.1-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/scl-utils-2.0.1-1.fc21

Comment 2 Fedora Update System 2015-01-21 08:27:13 UTC
scl-utils-2.0.1-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/scl-utils-2.0.1-1.fc20

Comment 3 Fedora Update System 2015-01-21 23:04:37 UTC
Package scl-utils-2.0.1-2.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing scl-utils-2.0.1-2.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-1006/scl-utils-2.0.1-2.fc21
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-01-30 04:28:39 UTC
scl-utils-2.0.1-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2015-01-30 04:44:11 UTC
scl-utils-2.0.1-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.