Seems like we need the following patch to do
proper sysbus cleanup, if udevdb_init() fails.
retval = udevdb_init(UDEVDB_DEFAULT);
if (retval != 0) {
dbg("unable to initialize database");
retval = udevdb_init(UDEVDB_DEFAULT);
if (retval != 0) {
dbg("unable to initialize database");
}
/* initialize the naming deamon */
}
/* initialize the naming deamon */
/* disconnect from the system message bus */
sysbus_disconnect();
/* disconnect from the system message bus */
sysbus_disconnect();