Re: [gdm-list] login-shell, bash-completion



Hi,

On Fri, Aug 6, 2010 at 3:47 PM, Micha <mk spline de> wrote:
> i am getting weird error messages from bash_completion when booting to
> gnome lately and it seems, that this problem is related to /usr/sbin/gdm:
>
> -----
> #!/bin/sh
> #
> # A script so that
> #    1) we read the standard system env vars
> #    2) syadmins/integrators can add their own private options etc...
>
> test -f /etc/profile && . /etc/profile
> -----
>
> From what i understand it is not desirable to load /etc/profile (and
> thus bash_completion scripts and so on) when using a non login-shell.
> Is that correct and if so, is it necessary to source profile within this
> script?
Well, the idea is to load various configured environment variables and
such (such as language information), but it has caused quite a few
problems, so we should consider taking it out.

--Ray


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]