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
Krzysztof Chojnowski wrote: 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: sabayon- apply ] ; then sabayon- apply || true
> Problem still occurs in feisty and gutsy. It is caused by /etc/X11/
> if [ -x /usr/sbin/
> /usr/sbin/
> 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