Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 1 | Disable use of syslog for shadow-native tools |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 2 | |
| 3 | Disable use of syslog to prevent sysroot user and group additions from |
| 4 | writing entries to the host's syslog. This patch should only be used |
| 5 | with the shadow-native recipe. |
| 6 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 7 | Upstream-Status: Inappropriate [OE specific configuration] |
| 8 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 9 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 10 | Index: 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 Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 16 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 17 | 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).]) |