Other Parts Discussed in Thread: CCSTUDIO
Hi,
when installing CCS v5.4 in our lab environment, I have the problem that getpwuid_r reports an unknown user ID although the user is perfectly set up and other applications can resolve this well.
Subsequently, eclipse tries to create the workspace and many other files and directories below /home/user/?/... (note the question mark).
Eclipse behaves strangely thereafter, for example it tries to load a nonexistant file /home/artifacts.xml (with a java exception/stacktrace on stderr).
Furthermore, it is not possible to connect to a debugger (Error -2160 suggesting a "corrupt application file", which was previously discussed here in other threads).
This happens for all users which come in by LDAP (and have a NFS/automounter-mounted home, but that should not be an issue).
For local users (like root or other locally-created users) this does not happen. Not the question mark, not any other of the problems described here.
So this is definitely NOT a permission problem.
Googling a little on this problem hints that CCS might have used the getpwuid_r API incorrectly, which leads to the failure described above.
As a workaround, the same post recommends installing nscd, which tweaks the getwpuid_r call to enable proper operation.
However, this only hides the (presumed) bug in CCS.
Could somebody comment on this problem?
Regards,
Stefan