X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=main.c;h=aa58040ff565ac5673fef0dd169e37522f470c66;hb=af5bc85dc1297079edc9890861aaa38de0ec30df;hp=0128787d1471db38ae1c5d61d5abc0e0f55fbbdb;hpb=f2b4af1cd4112df6ce56f8fc1e677639935e3d0e;p=elogind.git diff --git a/main.c b/main.c index 0128787d1..aa58040ff 100644 --- a/main.c +++ b/main.c @@ -36,6 +36,7 @@ #include "log.h" #include "mount-setup.h" #include "hostname-setup.h" +#include "loopback-setup.h" #include "load-fragment.h" #include "fdset.h" @@ -641,8 +642,10 @@ int main(int argc, char *argv[]) { log_debug("systemd running in %s mode.", manager_running_as_to_string(running_as)); - if (running_as == MANAGER_INIT) + if (running_as == MANAGER_INIT) { hostname_setup(); + loopback_setup(); + } if ((r = manager_new(running_as, confirm_spawn, &m)) < 0) { log_error("Failed to allocate manager object: %s", strerror(-r));