Comment 8 for bug 38410

Revision history for this message
KarlGoetz (kgoetz) wrote : Re: [Bug 38410] Re: sabayon blocks ssh based ltsp logins if not user profiles are created

Krzysztof Chojnowski wrote:
> Problem still occurs in feisty and gutsy. It is caused by /etc/X11/Xsession.d/60sabayon_apply script. Because of 'set -e' at the beginning of Xsession script any command that won't return true will stop whole Xsession script. /usr/sbin/sabayon-apply returns 1 if the profile is not set for current user causing whole Xsession to stop with an error. As this error is non-fatal this shouldn't happen. As a workaround one can ensure that subject line will return true by adding '|| true' at the end of this line. It should look like:
> if [ -x /usr/sbin/sabayon-apply ] ; then
> /usr/sbin/sabayon-apply || true
> fi
>
> This can be a bit problematic as all sabayon-apply errors (even fatal)
> would be thrown away, but I don't have idea how can it be solved
> differently.
>

could users be added to a default profile?
something so that when sabayon looks it goes 'oh good, profile', and
keeps going?
kk