X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fmount.c;h=50fe85cb7c309c69a1346645175bd194fc0f92a3;hp=b99e5ffe8b9f9e28b0955dde12133db87bb72acd;hb=398ef8ba0266cca453d90a90b3a2aa1caa44189f;hpb=b58b41160fde88a82cba1ddec4be7dfb08825e35 diff --git a/src/mount.c b/src/mount.c index b99e5ffe8..50fe85cb7 100644 --- a/src/mount.c +++ b/src/mount.c @@ -68,7 +68,7 @@ static void mount_init(Unit *u) { * the same process group as us, so that the autofs kernel * side doesn't send us another mount request while we are * already trying to comply its last one. */ - m->exec_context.no_setsid = true; + m->exec_context.same_pgrp = true; m->timer_watch.type = WATCH_INVALID; @@ -253,7 +253,7 @@ static int mount_add_target_links(Mount *m) { else target = SPECIAL_LOCAL_FS_TARGET; - if ((r = manager_load_unit(m->meta.manager, target, NULL, &tu)) < 0) + if ((r = manager_load_unit(m->meta.manager, target, NULL, NULL, &tu)) < 0) return r; if (automount && m->meta.manager->running_as == MANAGER_SYSTEM) { @@ -1548,6 +1548,7 @@ const UnitVTable mount_vtable = { .no_alias = true, .no_instances = true, .no_isolate = true, + .show_status = true, .init = mount_init, .load = mount_load,