Package: autofs / 5.0.7-3

Metadata

Package Version Patches format
autofs 5.0.7-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 autofs 5.0.7 fix nobind sun escaped map entries.patch | (download)

modules/mount_nfs.c | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)

 autofs-5.0.7 - fix nobind sun escaped map entries

If a map contains a Sun colon escape to indicate the mount is a local
file system and the "nobind" option is present there is no hostname in
the mount location and the mount fails.

0002 autofs 5.0.7 fix use cache entry after free mistake.patch | (download)

daemon/lookup.c | 7 5 + 2 - 0 !
1 file changed, 5 insertions(+), 2 deletions(-)

 autofs-5.0.7 - fix use cache entry after free mistake

Fix an obvious use after free mistake in lookup_prune_one_cache().

0004 autofs 5.0.7 fix parse buffer initialization.patch | (download)

lib/master_tok.l | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 autofs-5.0.7 - fix parse buffer initialization

When parsing a master map entry, if the mount point path is longer than
the following map string the lexical analyzer buffer may not have a null
terminator where it is expected. If the map name string also contains a
string that is the same as a map type at the end the map name the map
name is not constructed correctly because of this lack of a string
terminator in the buffer.

0005 autofs 5.0.7 fix typo in automount 8.patch | (download)

man/automount.8 | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 autofs-5.0.7 - fix typo in automount(8)

filagdir.patch | (download)

configure.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix --with-flagdir in configure.in
allow nsswitch.conf to not contain automount lines.patch | (download)

lib/nss_parse.y | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 [patch] allow nsswitch.conf to not contain automount lines
Bug-Debian: http://bugs.debian.org/682266

Current code does not allow a case when nsswitch.conf
does not mention automount map at all, like all new
installations.  It logs a rather unpleasant error
message instead:

 syntax error in nsswitch config near [ syntax error ]

this patch has a minimal fix, to allo "file" to be empty.

Whole parser in C is about 25 lines of code, the "grammar"
is trivial, and it is better to ditch all this yacc/lex
stuff, but that will be much more intrusive change.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Cc: 682266@bugs.debian.org

11default_automaster_location.patch | (download)

samples/autofs.conf.default.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
12disable_default_auto_master.patch | (download)

samples/auto.master | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

---
14avoid_sock_cloexec.patch | (download)

include/automount.h | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

---
15auto_net_nfs4.patch | (download)

samples/auto.net | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

---
manpages.patch | (download)

man/auto.master.5.in | 4 2 + 2 - 0 !
man/autofs.8.in | 6 3 + 3 - 0 !
man/automount.8 | 2 1 + 1 - 0 !
3 files changed, 6 insertions(+), 6 deletions(-)

 correct spelling errors in man pages



manpages hyphen.patch | (download)

man/auto.master.5.in | 2 1 + 1 - 0 !
man/autofs.5 | 30 15 + 15 - 0 !
2 files changed, 16 insertions(+), 16 deletions(-)

 minor lintianisation patch for w:'hyphen-used-as-minus-sign'


default autofs remove USE_MISC_DEVICE.patch | (download)

samples/autofs.conf.default.in | 5 0 + 5 - 0 !
1 file changed, 5 deletions(-)

 remove references to (now unused) use_misc_device from autofs.conf.default

This will also make the last portion of the file saner, since USE_MISC_DEVICE
there is inside description of another variable.


do not check for modprobe procfs or load module.patch | (download)

configure.in | 6 0 + 6 - 0 !
daemon/module.c | 3 3 + 0 - 0 !
include/automount.h | 11 3 + 8 - 0 !
3 files changed, 6 insertions(+), 14 deletions(-)

 do not check for modprobe or procfs or load module
save hesiod libs correctly.patch | (download)

aclocal.m4 | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

 properly save libs/ldflags when checking for hesiod
link daemon with lpthread.patch | (download)

daemon/Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 link daemon with -pthread
fix ldflags.patch | (download)

Makefile.rules | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 avoid dropping ldflags to fix "hardening-no-relro"


remove kernel mount.nfs version check.patch | (download)

daemon/automount.c | 7 0 + 7 - 0 !
include/mounts.h | 9 0 + 9 - 0 !
lib/mounts.c | 2 2 + 0 - 0 !
modules/replicated.c | 5 2 + 3 - 0 !
4 files changed, 4 insertions(+), 19 deletions(-)

 remove kernel and mount.nfs version check