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

Andrei Popescu andreimpopescu at gmail.com
Tue May 12 21:43:12 UTC 2009


On Tue,12.May.09, 22:19:48, Joachim Breitner wrote:
 
> > 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 is not surprising: When you restart nodm, you are obviously running
> in some shell that has set the SHELL variable. (You could verify that)
 
I was doing the restart from a ssh connection (and 'su -'). Now I 
rebooted, switched to VT6, logged in as root and ran
'/etc/init.d/nodm restart'. Everything ok. I disabled nodm with 
sysv-rc-conf, rebooted and then started it by hand. Again, everything 
ok.

Now it seems to me that the issue is due to insserv (didn't mention it 
before, because I didn't think it was relevant) so I'm attaching a 
bootchart, maybe you can spot something wrong.

I already tried to add $local_fs to Required-Start (same as gdm), but it 
didn't help.

> 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.

I'm running gdm with autologin and the environment is setup correctly on 
the first start.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bootchart.tgz
Type: application/x-gtar
Size: 38197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090513/6709e75d/attachment-0001.tgz>
-------------- 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/20090513/6709e75d/attachment-0001.pgp>


More information about the pkg-fso-maint mailing list