There are a few bugs reported against the NSS compat module in Debian. Check out <URL:http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=204711> and <URL:http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=206294>. Could it be related to your compat changes?