From: Juergen Perlinger Date: Sat, 27 Oct 2018 08:33:55 +0000 (+0200) Subject: [Bug 3539] work_fork build fails when droproot is not supported X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4226db8188c792fbfd3d8761682a3eeecf97922;p=thirdparty%2Fntp.git [Bug 3539] work_fork build fails when droproot is not supported bk: 5bd422f36uL48f8d31tfD-LhagZNug --- diff --git a/ChangeLog b/ChangeLog index f381a093c..6a7a45c45 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +--- +* [Bug 3539] work_fork build fails when droproot is not supported + - applied patch by Baruch Siach + --- (4.2.8p12) 2018/08/14 Released by Harlan Stenn diff --git a/libntp/work_fork.c b/libntp/work_fork.c index cce686f23..92637e353 100644 --- a/libntp/work_fork.c +++ b/libntp/work_fork.c @@ -594,7 +594,9 @@ fork_blocking_child( init_logging("ntp_intres", 0, FALSE); setup_logfile(NULL); +#if defined(HAVE_DROPROOT) (void) set_user_group_ids(); +#endif /* * And now back to the portable code