]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 3539] work_fork build fails when droproot is not supported
authorJuergen Perlinger <perlinger@ntp.org>
Sat, 27 Oct 2018 08:33:55 +0000 (10:33 +0200)
committerJuergen Perlinger <perlinger@ntp.org>
Sat, 27 Oct 2018 08:33:55 +0000 (10:33 +0200)
bk: 5bd422f36uL48f8d31tfD-LhagZNug

ChangeLog
libntp/work_fork.c

index f381a093cf948c1202162000eaf2d8abbf1a1dcf..6a7a45c45773a351c0c6ed69baf29b2b3ddc1b95 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+---
+* [Bug 3539] work_fork build fails when droproot is not supported <perlinger@ntp.org>
+  - applied patch by Baruch Siach
+
 ---
 (4.2.8p12) 2018/08/14 Released by Harlan Stenn <stenn@ntp.org>
 
index cce686f239cc246b964d6a24e61650787ae8605b..92637e353139079310191a449c37b7954c06485a 100644 (file)
@@ -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