You maintain a system with a service repository database that has become corrupted.
How do you recover it?
kill svc.configd and reboot
reboot the system using the option -r db
edit global.db into a clean state and reboot, and import custom manifests
copy global.db over repository.db, reboot, and import custom manifests