blob: 4bb6be43edef145c9c595fc67c1f50de301a6e8b [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001Disable use of syslog for shadow-native tools
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05002
3Disable use of syslog to prevent sysroot user and group additions from
4writing entries to the host's syslog. This patch should only be used
5with the shadow-native recipe.
6
Andrew Geissler9aee5002022-03-30 16:27:02 +00007Upstream-Status: Inappropriate [OE specific configuration]
8Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05009
Andrew Geissler9aee5002022-03-30 16:27:02 +000010Index: shadow-4.11.1/configure.ac
11===================================================================
12--- shadow-4.11.1.orig/configure.ac
13+++ shadow-4.11.1/configure.ac
14@@ -204,7 +204,7 @@ AC_DEFINE_UNQUOTED(PASSWD_PROGRAM, "$sha
15 [Path to passwd program.])
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050016
Andrew Geissler9aee5002022-03-30 16:27:02 +000017 dnl XXX - quick hack, should disappear before anyone notices :).
18-AC_DEFINE(USE_SYSLOG, 1, [Define to use syslog().])
19+AC_DEFINE(USE_SYSLOG, 0, [Define to use syslog().])
20 if test "$ac_cv_func_ruserok" = "yes"; then
21 AC_DEFINE(RLOGIN, 1, [Define if login should support the -r flag for rlogind.])
22 AC_DEFINE(RUSEROK, 0, [Define to the ruserok() "success" return value (0 or 1).])