Lockdown

Richard Doyle rdoyle at islandnetworks.com
Fri Aug 3 22:23:34 BST 2007


On Mon, 2007-07-23 at 13:46 -0500, Scott Balneaves wrote:
> Alfred Nutile wrote:
> > I think Sabayon is still rather broke for Feisty.  Please let me know if I am 
> > wrong since I really need it to work.
> 
> I've looked at the shell script that applies the sabayon profile, it's
> /etc/X11/Xsession.d/60sabayon_apply
> 
> Here it is, for completeness sake:
> 
> #
> # Apply the Sabayon profile for the current user (if any)
> #
> 
> if [ "x$DISABLE_SABAYON_XINITRC" = "x" ] ; then
>    if [ -x /usr/sbin/sabayon-apply ] ; then
>      /usr/sbin/sabayon-apply
>    fi
> fi
> 
> 
> Now, I think the problem is that /usr/sbin/sabayon-apply returns a
> 1 retcode if there's no profile that applies to that user.
> 
> However, I'm willing to wager that the failed retcode cacks out
> the Xsession script.  So, lets try this:  Change the
> 
>      /usr/sbin/sabayon-apply
> 
> line to read:
> 
>      /usr/sbin/sabayon-apply || true
> 
> This will ensure that you'll always get a 0 exit code from this
> script.
> 
> I'd be interested if someone could try this.  It seems to work here.
> It's a short term simple fix, and an easy fix for gutsy.
> 
> Scott

Works for me on Feisty. It also fixes a related problem, which is that
new users, even with an assigned profile, can't log onto a client
without first having directly logged onto the server.

-Richard




More information about the edubuntu-users mailing list