A login annoyance

jd1008 jd1008 at gmail.com
Sat Oct 11 03:44:20 UTC 2014


On 10/10/2014 09:31 PM, Joachim Backes wrote:
> On 10/11/2014 04:24 AM, jd1008 wrote:
>> My login shell is /bin/ksh.
>>
>> My ~/.profile makes no calls to /etc/profile, directly or indirectly
>> that I can see.
>>
>> Yet every time I login (console or gnome-terminal (which is set to run
>> as a login shell)), I get this annoyance:
>>
>> /etc/profile[68]: .: line 921: warning: line 932: `&>file' is
>> nonstandard -- interpreted as `>file 2>&1' for profile input only
>> /etc/profile[68]: .[1716]: local: not found [No such file or directory]
>> /etc/profile[68]: .[1690]: local: not found [No such file or directory]
>> /etc/profile[68]: .[1691]: local: not found [No such file or directory]
>> /etc/profile[68]: .[1692]: local: not found [No such file or directory]
>>
>> My .profile file sets a lot of env variables for things that I use,
>> and this was not an annoyance until fc20.
>>
>> Guess I have to constantly remind myself: It's all beta stuff :)
>>
>>
> See "man ksh", FILES section:
>
> ....
>
> FILES
>         /etc/profile
>                The system wide initialization file, executed for login
> shells.
>
>         $HOME/.profile
>                The personal initialization  file,  executed  for  login
> shells
>                after /etc/profile.
> ...
>
You did not get my drift :)
There is obviously a bug in the system script /etc/profile,
since my .profile is not invoking it.




More information about the users mailing list