+ }
+
+ r = manager_bus_listen(m);
+ if (r < 0) {
+ log_error("Could not connect to system bus: %s", strerror(-r));
+ goto out;
+ }
+
+ r = manager_load_config(m);
+ if (r < 0) {
+ log_error("Could not load configuration files: %s", strerror(-r));
+ goto out;
+ }
+
+ r = manager_rtnl_enumerate_links(m);
+ if (r < 0) {
+ log_error("Could not enumerate links: %s", strerror(-r));
+ goto out;
+ }
+
+ /* write out empty resolv.conf to avoid a
+ * dangling symlink */
+ r = manager_update_resolv_conf(m);
+ if (r < 0) {
+ log_error("Could not create resolv.conf: %s", strerror(-r));
+ goto out;
+ }