On 09/17/10 11:43, Jörg Barfurth wrote:
Bob Doolittle schrieb:
There was a "bug" that was fixed in OpenSolaris but I don't know if it made
it to the Community trunk. The original behavior or GDM (and perhaps the current behavior
in the trunk still) is that if any of the session scripts exit with non-zero status the
session is aborted by GDM.
I'd consider that to be a reasonable feature. Did they really drop that in
OpenSolaris?
Yes. I asked for the change. I wanted to protect the session from sloppy site
scripts added to the session hooks that didn't exit with clean status. Remember
that, without an explicit exit, status is simply status of the last command
executed, which can be fairly random and doesn't necessarily signal status from
the script itself (e.g. an attempt to remove a file that sometimes is
non-existent, without the -f option). I also cleaned up our sloppy scripts :-).
The question is why this script runs in a restricted shell, which is causing
this abort. Does not make much sense for a script which is supposed to run with
full root power...
Yes, I saw your post after I sent mine. Interesting.
-Bob
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users