Greg MATTHEWS ([EMAIL PROTECTED]) wrote:
>
> yes.. this is because pppoa3 forks so the process that is actually left
> running has a different (higher) PID than the original process that was
> started when you brought the adsl line up and therefore the file in /var/run.
>
This is totally wrong, the pid file contains only the main thread pid.
And i would like to say that pppoa3 doesn't fork, it uses thread. I know
that linux considers threads and forks are just clones with different
parameters but I never fork a pppoa3 process.
So when a new pppoa3 is started with the same modem id, it detects the
existence of a particular SysV semaphore (key = PACK('M','D', 'M', id))
if this semaphore is set up, then a previous instance is running. Then
we openthe pid file and kill it. But when for some unknown reason
pppd kills its childs in a wild way... the pppoa3 main threads is simply
killed without calling some cleaning functions. Those cleaning options
delete the pid file, destroy the semaphore.
> i dont know if this has been fixed in the new release candidate...
>
We can't, the -c option is already a workaround to avoid pppd wild forks
I've not found a better way to manage this problem.
> > Could this go into the FAQ/HOWTO or something until solved because it
> > *really* baffled me because it looked like a ppp problem, when it
> > wasn't.
>
This has been added in the FAQ for a 1.1rc2. I'm still waiting feedback
from BSD users (where are they ??? Are they sleeping all day long ?)
before a 1.1rc2. I've been polite but i got no answers yet... Damn move
your ass stupid BSD users ! (Now i'm sure i'll get answers :-)
--
Edouard Gomez
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]?subject=unsubscribe