X-Git-Url: https://uglyman.kremlin.cc/gitweb/gitweb.cgi?a=blobdiff_plain;f=src%2Fmodules%2Fhostnamed%2Fhostnamed.c;h=2897882ed85c6a967c65a5b247d2c131c323c396;hb=0f77bc3172518d5b439f771da4eedb6859f560b6;hp=e01742c67173a1c803c1eb5b0de5e9d07b1b1be6;hpb=387173cba1f381beb144043ed0b6b4074084d318;p=systembsd.git diff --git a/src/modules/hostnamed/hostnamed.c b/src/modules/hostnamed/hostnamed.c index e01742c..2897882 100644 --- a/src/modules/hostnamed/hostnamed.c +++ b/src/modules/hostnamed/hostnamed.c @@ -130,7 +130,7 @@ void hostnamed_init() { guint bus_descriptor; GError *err = NULL; - bus_descriptor = g_bus_own_name(G_BUS_TYPE_SESSION, + bus_descriptor = g_bus_own_name(G_BUS_TYPE_SYSTEM, (gchar *)"org.freedesktop.hostname1", G_BUS_NAME_OWNER_FLAGS_NONE, on_bus_acquired,