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