Package: pppoe
Version: 3.8-1

It seems that pppoe-server distributed with etch has been built
with incorrect setting for PPPD_PATH in build environment.

The server would send PADT to the client immediately after PADS.
Running strace led me to this call in pppoe-server process:
execve("pppd", ["pppd", "pty", "/usr/sbin/pppoe... (irrelevant stuff)) = -1 ENOENT (No such file or directory)
As far as I understand, execve needs the full path to the executable file,
so it cannot run pppd and the child process of pppoe-server dies, which
results in session termination.

I installed sources for pppoe package and after building it with 'go' script
everything works fine. Running strace now gives:
execve("/usr/sbin/pppd", ["pppd", "pty", "/usr/sbin/pppoe... (same irrelevant stuff)) = 0

Respective line in the source code is (I think)
execv(PPPD_PATH, argv);
It's called from startPPPDUserMode() and startPPPDLinuxKernelMode()
so I guess it's just incorrect setting for PPPD_PATH that broke the thing.

Best regards,
Artem.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to