After a lot of source code reading and hacking I found the source of 
this bug. It doesn't come from the libnss-pgsql2 bug as I thought but 
from vsftpd code itself.

Since vsftpd 2.2.0pre1 a new "fork" system is used, CLONE_NEWNET. With
this the new process is isolated from the network and any connect()
call will fail. So as the process can't open new connection it can't
use the libnss-pgsql which try to open a connection to the DB.

You can find this at vsf_sysutil_fork_newnet() in sysdeputil.c

So I wrote a really little patch that disable the use of CLONE_NEWNET
waiting for a better hack.

-- 
Aribaud Yannis EFREI P2010
Mutt dit "le MUA qui ROX" ...
Nous c'est le GNU !



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

Reply via email to