Package: autofs / 5.1.8-2+deb12u2

Metadata

Package Version Patches format
autofs 5.1.8-2+deb12u2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
11default_automaster_location.patch | (download)

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

 Set /etc/auto.master as the default location of the automounter
 master map, because that file is surely available (the package
 installs a default one). If the admin already has an auto.master
12disable_default_auto_master.patch | (download)

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

 Disable upstream's default of activating /mnt and /net.
 In previous versions this was done as a security measure
 (because the hosts map was processed without nosuid and nodev).


15auto_net_nfs4.patch | (download)

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

 add an example line for nfsv4 environments.


fix ldflags.patch | (download)

Makefile.rules | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

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


fix ssslib search.patch | (download)

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

 don't skip sssd autofs search if preseeded.
remove kernel mount.nfs version check.patch | (download)

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

 remove kernel and mount.nfs version check

autofs daemon checks for kernel and mount.nfs versions and uses
mount hidden samba shares.patch | (download)

modules/parse_sun.c | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

 drop backslash after arguments parsing.
hardening flags.patch | (download)

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

 avoid warning about -fpie from blhc
Abstract:
 This is probably not entirely necessary since all modules are
 compiled with -fPIE, but it avoids a warning.
spelling error fixes.patch | (download)

CHANGELOG | 2 1 + 1 - 0 !
README.replicated-server | 2 1 + 1 - 0 !
daemon/automount.c | 2 1 + 1 - 0 !
daemon/state.c | 2 1 + 1 - 0 !
lib/defaults.c | 2 1 + 1 - 0 !
lib/parse_subs.c | 2 1 + 1 - 0 !
man/auto.master.5.in | 6 3 + 3 - 0 !
man/autofs.5 | 16 8 + 8 - 0 !
man/autofs.conf.5.in | 6 3 + 3 - 0 !
modules/lookup_file.c | 2 1 + 1 - 0 !
modules/lookup_hesiod.c | 4 2 + 2 - 0 !
modules/lookup_ldap.c | 4 2 + 2 - 0 !
modules/lookup_nisplus.c | 2 1 + 1 - 0 !
modules/lookup_program.c | 2 1 + 1 - 0 !
modules/lookup_yp.c | 2 1 + 1 - 0 !
modules/mount_nfs.c | 2 1 + 1 - 0 !
modules/parse_sun.c | 2 1 + 1 - 0 !
17 files changed, 30 insertions(+), 30 deletions(-)

 fix tons of spelling flaws. thanks lintian.
fix lookup ldap crash.patch | (download)

modules/lookup_ldap.c | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 fix segfault in lookup_ldap initialisation
 lib/defaults.c doesn't initialise the config cache before lookup_ldap
 attempts to read from it.
 .
 <andreas> lookup_ldap is the only module that is still built and linked
 using -Bsymbolic-functions. d/rules tries to strip that option out of
 LDFLAGS, but it leaks back in via $(krb5-config --libs) when lookup_ldap
 is built.
fix nfs4 mounts in auto net.patch | (download)

samples/auto.net | 55 35 + 20 - 0 !
1 file changed, 35 insertions(+), 20 deletions(-)

 fix nfs4/nfs mounting via autofs in auto.net.
fix nfs4 only mounts should not use rpcbind.patch | (download)

include/replicated.h | 2 2 + 0 - 0 !
modules/mount_nfs.c | 13 7 + 6 - 0 !
modules/replicated.c | 4 2 + 2 - 0 !
3 files changed, 11 insertions(+), 8 deletions(-)

 autofs-5.1.8 - fix nfsv4 only mounts should not use rpcbind

Commit 606795ecfaa1 ("autofs-5.1.7 - also require TCP_REQUESTED when
setting NFS port" together with commit 26fb6b5408be) caused NFSv4 only
mounts to also use rpcbind to probe availability which breaks the
requirememt that this type of mount not use rpcbind at all.

Fix this by treating fstype=nfs4 mounts as a special case which doesn't
use rpcbind.

Signed-off-by: Ian Kent <raven@themaw.net>

fix missing unlock in sasl do kinit ext cc.patch | (download)

modules/cyrus-sasl.c | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 autofs-5.1.8 - fix missing unlock in sasl_do_kinit_ext_cc()

There is a missing mutex unlock in function sasl_do_kinit_ext_cc(),
fix it.

Signed-off-by: James Dingwall <james-autofs@dingwall.me.uk>
Signed-off-by: Ian Kent <raven@themaw.net>

use correct reference for IN6 macro cal.patch | (download)

modules/replicated.c | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 autofs-5.1.8 - use correct reference for in6 macro call
Origin https://www.spinics.net/lists/autofs/msg02669.html
Bug-Debian: https://bugs.debian.org/1041051

While the usage isn't strickly wrong it's also not correct and it
passes compiler checks but it doesn't match the usage within the
macro it's passed to.

Change it to match the IN6_* macro definition to reduce the potential
for confusion.

Signed-off-by: Ian Kent <raven@themaw.net>

dont probe interface that cant send pac.patch | (download)

lib/parse_subs.c | 36 35 + 1 - 0 !
modules/replicated.c | 19 11 + 8 - 0 !
2 files changed, 46 insertions(+), 9 deletions(-)

 autofs-5.1.8 - dont probe interface that cant send packet