Description of problem: nscd performs /* The preparations are done. */ execv ("/proc/self/exe", argv); in connections.c without following the symlink and renaming itself to 'exe'. Version-Release number of selected component (if applicable): nscd-2.5-34 How reproducible: always Steps to Reproduce: 1. start nscd Actual results: nscd renames itself to 'exe' Expected results: nscd does not rename itself to 'exe' (as on Fedora 11) Additional info: A correct behaviour is found for example in nscd-2.10.1-2 on Fedora 11: /* The preparations are done. */ #ifdef PATH_MAX char pathbuf[PATH_MAX]; #else char pathbuf[256]; #endif /* Try to exec the real nscd program so the process name (as reported in /proc/PID/status) will be 'nscd', but fall back to /proc/self/exe if readlink fails */ ssize_t n = readlink ("/proc/self/exe", pathbuf, sizeof (pathbuf) - 1); if (n == -1) execv ("/proc/self/exe", argv); else { pathbuf[n] = '\0'; execv (pathbuf, argv); }
*** This bug has been marked as a duplicate of bug 490010 ***