Add GeoIP Patch from SourceForge - see http://sourceforge.net/p/policyd-weight/patches/1/
:%s/<TAB>/    /g (change a few tabs to spaces)
If not running in DEBUG mode, check that $USER is valid.
IF running in DEBUG mode, fall back to using the current user's ID for $USER
$( can potentially contain multiple gids which seems to annoy getpwuid().
Change to use getgid().