1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 01UPSTREAM_autofs-5.0.4-use-misc-device.patch
4
## DP: Upstream patch on top of 5.0.4.
7
autofs-5.0.4 - use misc device
9
From: Ian Kent <raven@themaw.net>
11
Change default installed configuration to use the misc device ioctl
12
interface if available.
16
redhat/autofs.sysconfig.in | 2 +-
17
samples/autofs.conf.default.in | 2 +-
18
3 files changed, 3 insertions(+), 2 deletions(-)
21
diff --git a/CHANGELOG b/CHANGELOG
22
index da7ecbf..96a4617 100644
26
- another easy alloca replacements fix.
27
- add LSB init script parameter block.
28
- fix file map lookup when reading included or nsswitch sources.
29
+- use misc device ioctl interface by default, if available.
31
4/11/2008 autofs-5.0.4
32
-----------------------
33
diff --git a/redhat/autofs.sysconfig.in b/redhat/autofs.sysconfig.in
34
index 04e521c..97e20fe 100644
35
--- a/redhat/autofs.sysconfig.in
36
+++ b/redhat/autofs.sysconfig.in
37
@@ -110,7 +110,7 @@ BROWSE_MODE="no"
38
# If the kernel supports using the autofs miscellanous device
39
# and you wish to use it you must set this configuration option
40
# to "yes" otherwise it will not be used.
41
-#USE_MISC_DEVICE="no"
42
+USE_MISC_DEVICE="yes"
46
diff --git a/samples/autofs.conf.default.in b/samples/autofs.conf.default.in
47
index 52d18ec..62084c2 100644
48
--- a/samples/autofs.conf.default.in
49
+++ b/samples/autofs.conf.default.in
50
@@ -110,7 +110,7 @@ BROWSE_MODE="no"
51
# If the kernel supports using the autofs miscellanous device
52
# and you wish to use it you must set this configuration option
53
# to "yes" otherwise it will not be used.
54
-#USE_MISC_DEVICE="no"
55
+USE_MISC_DEVICE="yes"