ratools/rad incorporated the database and netlink now
This is a huge patch that unifies all daemon core functionality in
rad.c. Locking is more strict and easier to understand now.