[Eisfair] [e64]: Mail: fetchmail: Cannot find absolute path for user's home directory.
Juergen Edner
juergen at eisfair.org
Do Apr 2 13:39:17 CEST 2020
Hallo zusammen,
>>>> fetchmail: Cannot find absolute path for user's home directory.
spontan würde ich von Problemen beim Lesen der HOME-Variablen ausgehen.
Ein Blick in die Datei env.c scheint dies zu bestätigen:
129: /* compute user's home directory */
home = getenv("HOME_ETC");
if (!home)
home = getenv("HOME");
if (!home)
home = xstrdup(pwp->pw_dir);
/* and make it an absolute path, so we
* can optionally chdir("/") later in daemonize()
* without changing behaviour.
*/
{
static char *_home_abs;
char *tmp;
if (_home_abs) free(_home_abs), _home_abs = 0;
tmp = realpath(home, NULL);
if (tmp) {
home = _home_abs = tmp;
} else {
report(stderr, GT_("Cannot find absolute path for user's home
directory.\n"));
exit(PS_UNDEFINED);
}
}
Gruß Jürgen
--
Mail: juergen at eisfair.org
Mehr Informationen über die Mailingliste Eisfair