You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a consequence of how the SystemMenu process is launched by SystemServer, the user's login profile is never run. Consequentially any applications launched from the SystemMenu have no environment variables set. Crucially this means that standard environment variables like HOME are not set.
This manifests itself when an application like Snake tries to access the per-user config file. Since the HOME environment variable is not set, LibC attempts to read /etc/passwd to find the home directory which fails because /etc/passwd has not been unveiled. This can be seen from a repeated perror("open /etc/passwd") message in the syslog:
As a consequence of how the SystemMenu process is launched by SystemServer, the user's login profile is never run. Consequentially any applications launched from the SystemMenu have no environment variables set. Crucially this means that standard environment variables like
HOME
are not set.This manifests itself when an application like Snake tries to access the per-user config file. Since the
HOME
environment variable is not set,LibC
attempts to read/etc/passwd
to find the home directory which fails because/etc/passwd
has not been unveiled. This can be seen from a repeatedperror("open /etc/passwd")
message in the syslog:The
perror
call is from the following stack:The text was updated successfully, but these errors were encountered: