Message-ID: <3A35048E.8DC24C1E@ujf-grenoble.fr>
Date: Mon, 11 Dec 2000 17:45:02 +0100
From: Herve PERRAUD
Subject: exec problem after upgrade 6.2 -> 6.4
Hello list,
<p>I am using a program (poppassd) to allow users to change their APOP
passwords from eudora. It was working fine under Suse 6.2, but one month
ago I have upgraded to Suse 6.4 and here is what I obtain (debug
information):
exec /usr/local/lib/popauth toto
LOG5
LOG5
Looking that, I have done a fresh install of Suse 6.4 on another system,
with the same level of rpm and kernel, and it works:
exec /usr/local/lib/popauth toto
LOG5
CHILD started pid 1073
<p>Before re-installing the system, and because it's a mail-server,
proxy-server, etc... I would like to know if someone here has
experienced (and resolved?) a similar problem. I haven't found something
useful in the FAQ. I have tried to re-install shlibs, and other things
like verifying all permissions, without success. "exec" command works
under every shell...
I give a summary of the source at the end of this mail, because there's
a tty opening and setuid. I don't know how to see if this is the
problem? And what I can re-install more to solve this problem?
I think I have reached my "degree of incompetence" :-)
Thanks a lot for all who have had the courage to read this mail to the
end. And sorry for my english.
Bye,
rv.
--------------------------------------------
setuid (pw->pw_uid);
setgid (pw->pw_gid);
TR2("setuid uid=%d gid=%d\n", pw->pw_uid, pw->pw_gid);
#ifdef USE_EXPECT
#ifdef STTY_SANE
exp_stty_init = STTY_SANE;
#endif
if(prog==NULL) prog = PASSPROG;
TR2("exec %s %s\n", prog, user);
syslog (5,"programme %s user %s \n", prog, user);
signal(SIGCHLD, endchild);
#ifdef linux
if((master = exp_spawnl (prog, prog, (char *) 0))
#else
if((master = exp_spawnl (prog, prog, user, (char *) 0)) < 0)
#endif
{
syslog (LOG_ERR, "can't start %s", prog);
WriteToClient ("500 Server error (no passwd prog), get help!");
exit (1);
}
--------------------------------------------
--
mailto:herve.perraud@ujf-grenoble.fr