Hi,

This patch attempts to address:
http://defect.opensolaris.org/bz/show_bug.cgi?id=10981

"TX is not functional with latest gdm"

GDM 2.28.0 is a complete rewrite relative to the old version (2.20.x)
currently shipped with Opensolaris/Solaris.

Having discussed the requirements with Stephen Browne, the intended 
behaviour is
as follows:

On a Trusted Extensions system with labeld enabled (confirmed by 
is_system_labeled()
return True) the session loading directories need to be confined 
strictly to:

/usr/share/xsessions/multilabel

No other session directories are scanned on a multi-label/TX system.
In all other cases the behaviour is unmodified compared to before.

The gui greeter and the daemon handle session loading and parsing 
independently so it is
necessary to patch both daemon/gdm-session-direct.c and 
gui/simple-greeter/gdm-sessions.c

The patch is attached.
For reference since I will be committing a change to 
gdm-13-failsafe-session.diff  in
the ame commit:
I have additionally attached an update to gdm-13-failsafe-session.diff 
upon which this
patch depends in order to provide failsafe session support. This patch 
has been
simplified based on feedback from the GDM maintainer and has already 
been reviewed.
It's waiting to go upstream, as soon as the maintainer gets around to it.
https://bugzilla.gnome.org/show_bug.cgi?id=594833

Other associate diffs to the spec-files trunk repo are below.

Cheers,
Niall.

Index: base-specs/gdm.spec
===================================================================
--- base-specs/gdm.spec    (revision 19580)
+++ base-specs/gdm.spec    (working copy)
@@ -58,6 +58,8 @@
 Patch14:      gdm-14-sol-notty.diff
 # date:2009-10-02 owner:yippi type:bug bugzilla:596830 state:upstream
 Patch15:      gdm-15-autologin.diff
+# date:2009-12-13 owner:niall type:bug doo:10981
+Patch16:      gdm-16-trusted-extensions.diff
 URL:          http://projects.gnome.org/gdm/
 BuildRoot:    %{_tmppath}/%{name}-%{version}-build
 
@@ -85,6 +87,7 @@
 %patch13 -p1
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
 
 %build
 %ifos linux
@@ -186,6 +189,8 @@
 %{_localstatedir}/lib/gdm
 
 %changelog
+* Tue Oct 13 2009 - niall.power at sun.com
+- Fix opensolaris.org defect #10981 to enable trusted extensions support
 * Fri Oct 02 2009 - brian.cameron at sun.com
 - Fix bugzilla bug #596830 which causes the login GUI to briefly 
display when
   using automatic login, which it is not supposed to do.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gdm-16-trusted-extensions.diff
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20091013/52bf3697/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gdm-13-failsafe-session.diff
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20091013/52bf3697/attachment-0001.ksh>

Reply via email to