Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 1 | From 6e835350b7413210c410d3578cfab804186b7a4f Mon Sep 17 00:00:00 2001 |
| 2 | From: Kai Kang <kai.kang@windriver.com> |
| 3 | Date: Tue, 17 Nov 2020 11:13:40 +0800 |
| 4 | Subject: [PATCH] sudo.conf.in: fix conflict with multilib |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 5 | |
| 6 | When pass ${libdir} to --libexecdir of sudo, it fails to install sudo |
| 7 | and lib32-sudo at same time: |
| 8 | |
| 9 | | Error: Transaction test error: |
| 10 | | file /etc/sudo.conf conflicts between attempted installs of |
| 11 | sudo-1.9.3p1-r0.core2_64 and lib32-sudo-1.9.3p1-r0.core2_32 |
| 12 | |
| 13 | Update the comments in sudo.conf.in to avoid the conflict. |
| 14 | |
| 15 | Signed-off-by: Kai Kang <kai.kang@windriver.com> |
| 16 | |
| 17 | Upstream-Status: Inappropriate [OE configuration specific] |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 18 | |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 19 | --- |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 20 | examples/sudo.conf.in | 8 ++++---- |
| 21 | 1 file changed, 4 insertions(+), 4 deletions(-) |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 22 | |
| 23 | diff --git a/examples/sudo.conf.in b/examples/sudo.conf.in |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 24 | index 2187457..0908d24 100644 |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 25 | --- a/examples/sudo.conf.in |
| 26 | +++ b/examples/sudo.conf.in |
| 27 | @@ -4,7 +4,7 @@ |
| 28 | # Sudo plugins: |
| 29 | # Plugin plugin_name plugin_path plugin_options ... |
| 30 | # |
| 31 | -# The plugin_path is relative to @plugindir@ unless |
| 32 | +# The plugin_path is relative to $plugindir such as /usr/lib/sudo unless |
| 33 | # fully qualified. |
| 34 | # The plugin_name corresponds to a global symbol in the plugin |
| 35 | # that contains the plugin interface structure. |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 36 | @@ -51,7 +51,7 @@ |
| 37 | # The compiled-in value is usually sufficient and should only be changed |
| 38 | # if you rename or move the sudo_intercept.so file. |
| 39 | # |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 40 | -#Path intercept @intercept_file@ |
| 41 | +#Path intercept $intercept_file |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 42 | |
| 43 | # |
| 44 | # Sudo noexec: |
| 45 | @@ -65,7 +65,7 @@ |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 46 | # The compiled-in value is usually sufficient and should only be changed |
| 47 | # if you rename or move the sudo_noexec.so file. |
| 48 | # |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 49 | -#Path noexec @noexec_file@ |
| 50 | +#Path noexec $noexec_file |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 51 | |
| 52 | # |
| 53 | # Sudo plugin directory: |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 54 | @@ -74,7 +74,7 @@ |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 55 | # The default directory to use when searching for plugins that are |
| 56 | # specified without a fully qualified path name. |
| 57 | # |
| 58 | -#Path plugin_dir @plugindir@ |
| 59 | +#Path plugin_dir $plugindir |
| 60 | |
| 61 | # |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 62 | # Core dumps: |