summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sudo/files/0001-sudo.conf.in-fix-conflict-with-multilib.patch
blob: f4fc376bb8fa2c72d96b39e6878b793ffa1da4d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
sudo.conf.in: fix conflict with multilib

When pass ${libdir} to --libexecdir of sudo, it fails to install sudo
and lib32-sudo at same time:

| Error: Transaction test error:
|  file /etc/sudo.conf conflicts between attempted installs of
     sudo-1.9.3p1-r0.core2_64 and lib32-sudo-1.9.3p1-r0.core2_32

Update the comments in sudo.conf.in to avoid the conflict.

Signed-off-by: Kai Kang <kai.kang@windriver.com>

Upstream-Status: Inappropriate [OE configuration specific]
---
 examples/sudo.conf.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/examples/sudo.conf.in b/examples/sudo.conf.in
index 6535d3a..50afc8f 100644
--- a/examples/sudo.conf.in
+++ b/examples/sudo.conf.in
@@ -4,7 +4,7 @@
 # Sudo plugins:
 #   Plugin plugin_name plugin_path plugin_options ...
 #
-# The plugin_path is relative to @plugindir@ unless
+# The plugin_path is relative to $plugindir such as /usr/lib/sudo unless
 #   fully qualified.
 # The plugin_name corresponds to a global symbol in the plugin
 #   that contains the plugin interface structure.
@@ -51,7 +51,7 @@
 # The compiled-in value is usually sufficient and should only be changed
 # if you rename or move the sudo_intercept.so file.
 #
-#Path intercept @plugindir@/sudo_intercept.so
+#Path intercept $plugindir/sudo_intercept.so
 
 #
 # Sudo noexec:
@@ -65,7 +65,7 @@
 # The compiled-in value is usually sufficient and should only be changed
 # if you rename or move the sudo_noexec.so file.
 #
-#Path noexec @plugindir@/sudo_noexec.so
+#Path noexec $plugindir/sudo_noexec.so
 
 #
 # Sudo plugin directory:
@@ -74,7 +74,7 @@
 # The default directory to use when searching for plugins that are
 # specified without a fully qualified path name.
 #
-#Path plugin_dir @plugindir@
+#Path plugin_dir $plugindir
 
 #
 # Sudo developer mode:
--
2.17.1