From c891efaf8a37aa13d91835fb8d194f6dd750a78f Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Mon, 14 Nov 2016 17:37:40 +0100 Subject: core: confirm_spawn: always accept units with same_pgrp set for now For some reasons units remaining in the same process group as PID 1 (same_pgrp=true) fail to acquire the console even if it's not taken by anyone. So always accept for units with same_pgrp set for now. --- src/core/unit.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/unit.h') diff --git a/src/core/unit.h b/src/core/unit.h index 991543664b..1ef92f3263 100644 --- a/src/core/unit.h +++ b/src/core/unit.h @@ -654,6 +654,8 @@ void unit_notify_user_lookup(Unit *u, uid_t uid, gid_t gid); int unit_set_invocation_id(Unit *u, sd_id128_t id); int unit_acquire_invocation_id(Unit *u); +bool unit_shall_confirm_spawn(Unit *u); + /* Macros which append UNIT= or USER_UNIT= to the message */ #define log_unit_full(unit, level, error, ...) \ -- cgit v1.2.3-54-g00ecf