Red Hat Bugzilla – Bug 487419
non-portable redirect (&>) used in /etc/profile causes spurious ksh login output
Last modified: 2009-02-27 22:29:39 EST
Description of problem:
"&>" construct used by bash is not portable to ksh. Login shells under ksh output one "[n] <pid>" line per file under /etc/profile.d. Files are still sourced, but it makes ksh logins ugly and causes confusion about where the background jobs are coming from.
Simple fix is just to use the longer and more portable ">/dev/null 2>&1" construct instead.
Version-Release number of selected component (if applicable):
install ksh and use as login shell.
Steps to Reproduce:
I meant to add... it's not really a bug with ksh, but the "setup" package that profiles the file isn't listed in the component dropdown.
I can confirm, this is reproducible for me, but since this is not a 'ksh' bug, changing component to 'setup'
Thanks for report, fixed in Rawhide, setup-2.8.1-1.fc11.
setup-2.7.4-4.fc10 has been submitted as an update for Fedora 10.
setup-2.6.18-3.fc9 has been submitted as an update for Fedora 9.
setup-2.7.4-4.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
setup-2.6.18-3.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.