+++ This bug was initially created as a clone of Bug #849094 +++ Description of problem: If the package "perl-homedir" is installed users that use CSH as their default login shell get an error "if: Expression Syntax." during login. Removing /etc/profile.d/perl-homedir.csh fixes the issue. Version-Release number of selected component (if applicable): perl-homedir-1.008004-4 How reproducible: always Steps to Reproduce: 1. adduser -s /usr/bin/csh cshtest 2. yum install perl-homedir 3. su - cshtest Actual results: [root]# su - cshtest if: Expression Syntax. [cshtest]$ Expected results: The error "if: Expression Syntax." should not be displayed --- Additional comment from ppisar on 2012-08-20 09:02:10 GMT --- Thank you for the report. The file is not in CSH syntax. --- Additional comment from ppisar on 2012-08-20 09:16:33 GMT --- Even fixing the profile script does not help because CSH replaces end-of-lines in command substitution output making the eval statement not working: # su -l -s /bin/tcsh test setenv: Too many arguments. $ $ perl -Mlocal::lib setenv PERL_LOCAL_LIB_ROOT "/home/test/perl5" setenv PERL_MB_OPT "--install_base /home/test/perl5" setenv PERL_MM_OPT "INSTALL_BASE=/home/test/perl5" setenv PERL5LIB "/home/test/perl5/lib/perl5/x86_64-linux-thread-multi:/home/test/perl5/lib/perl5" setenv PATH "/home/test/perl5/bin:$PATH" $ eval `perl -Mlocal::lib` setenv: Too many arguments. This is tracked by upstream bug <https://rt.cpan.org/Public/Bug/Display.html?id=60072>. --- Additional comment from ppisar on 2012-08-20 10:37:29 GMT --- Created attachment 605657 [details] Enable eval in CSH --- Additional comment from ppisar on 2012-08-20 10:38:05 GMT --- Created attachment 605658 [details] Fixed CSH profile script
All Fedoras are affected.
perl-local-lib-1.008004-10.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/perl-local-lib-1.008004-10.fc18
perl-local-lib-1.008004-5.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/perl-local-lib-1.008004-5.fc17
perl-local-lib-1.008004-5.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/perl-local-lib-1.008004-5.fc16
Package perl-local-lib-1.008004-10.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing perl-local-lib-1.008004-10.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-12291/perl-local-lib-1.008004-10.fc18 then log in and leave karma (feedback).
perl-local-lib-1.008004-5.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
perl-local-lib-1.008004-5.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
perl-local-lib-1.008004-10.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.