[pkg-fso-maint] Bug#525908: Bug#525908: Bug#525908: Missing $SHELL variable is the problem

Enrico Zini enrico at enricozini.org
Thu May 14 09:47:55 UTC 2009


On Tue, May 12, 2009 at 10:19:48PM +0200, Joachim Breitner wrote:
> Am Dienstag, den 12.05.2009, 22:56 +0300 schrieb Andrei Popescu:
> > Some more investigation reveals that the SHELL environment is not 
> > properly set on first start, but if nodm is restarted
> > (/etc/init.d/nodm restart) then everything is fine.
[...]
> This leads to the question whether nodm should clean it’s environment,
> and it probably should – again, help would be appreciated in seeing what
> xdm or gdm do: What of their environment do they retain, what do they
> delete and what do they actively set.

For sure, everything that is significant nodm should set it (and the bug
here is that nodm does not set $SHELL, which is significant).

The question is what to do with the rest: leave them or clear them?

Leave them means potentially leaving rubbish around (especially in the
case of root restarting nodm manually). On the other hand, does it mean
leaving around some useful variables set during the boot process that we
do not know about?

Clearing them means that restarting nodm manually yields the same
session as when it starts by itself at boot, which is desirable.
However, if there are variables that we do not know of that are set
during boot, we end up getting rid of them.

Implementation is simple both ways: I cannot decide which one is better,
though.


Ciao,

Enrico

-- 
GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <enrico at enricozini.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090514/ce2f0e49/attachment-0001.pgp>


More information about the pkg-fso-maint mailing list