This is in the /scratchbox/login script, from which I get only:
$ /scratchbox/login
ERROR: Scratchbox is not properly set up!
$
#
# do some basic checks to see if environment is ok
#
function sanity_check()
{
if [ `id -u` = 0 ] ; then
exit_error "Not allowed to run this as root!"
fi
if [ "z$USER" = 'z' ] ; then
exit_error "Cannot determine user. \$USER is null. Please
check your environment."
fi
if [ ! -d $SANDBOX ]; then
exit_error "You don't have a Scratchbox user account!"
fi
if [ ! -d $SANDBOX/scratchbox/tools/bin ] || [ ! -c $SANDBOX/dev/
null ]; then
exit_error "Scratchbox is not properly set up!"
fi
}
In my system, the SANBOX is set to /scratchbox/users/ray, which seems
sensible. But then it does not seem sensible that /scratchbox/users/
ray/scratchbox/tools/bin should exist and it does not. But I also
notice that /scratchbox/users/ray/dev does exist but /scratchbox/
users/ray/dev/null does not.
What is supposed to be set to what? It seems that I can set up a
scratchbox and then use it for a couple of days and then it starts
doing this. At one point, I could reboot the host and it would work
again. That is not working now.
Should it be checking for $SBOX_PATH/tools/bin and not $SANDBOX/
scratchbox/tools/bin?
thanx - ray
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users