Debian Patches

Status for autofs/5.1.7-1+deb11u2

Patch Description Author Forwarded Bugs Origin Last update
11default_automaster_location.patch Description:
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
map in a different place, he can customize the file later.
Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> no 2014-03-07
12disable_default_auto_master.patch Description:
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).
Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> no
15auto_net_nfs4.patch Add an example line for nfsv4 environments. Jan Christoph Nordholz <hesso@pool.math.tu-berlin.de> no
fix-ldflags.patch avoid dropping LDFLAGS to fix "hardening-no-relro" Dmitry Smirnov <onlyjob@member.fsf.org> invalid 2014-03-07
fix-ssslib-search.patch Don't skip sssd autofs search if preseeded. Adam Conrad <adconrad@ubuntu.com> no 2015-06-06
remove-kernel-mount.nfs-version-check.patch remove kernel and mount.nfs version check
autofs daemon checks for kernel and mount.nfs versions and uses
slightly different code if kernel is older than 2.6.22 or mount.nfs
does not use string options. Both cases are of very old, pre-squeeze,
versions.

But because automount spawns mount.nfs at startup, this interferes
with systemd and upstart daemon pid tracking mechanism (they track
pid of mount.nfs, not automount as a result). Fix this by removing
the check entirely.

Note that for current Debian and Ubuntu versions, no versioned Breaks
are necessary.

The patch is based on a similar patch by Dmitrijs Ledkovs.
Michael Tokarev <mjt@tls.msk.ru> invalid debian 2014-03-07
mount-hidden-samba-shares.patch Drop backslash after arguments parsing.Abstract:
I finally found the time to investigate this problem. It happened because
two facts:
.
1. Autofs reads '$' as a special symbol (variable name) and expands it
to variable value

2. mount.cifs reads '\\' as a delimiter, so you can actually pass
"\\\\hostname\\sharename" as mount src argument
.
So in my case if I returns "//hostname/C$" from auto.smb, then automount
daemon replace '$' to '' and if I returns "//hostname/C\\$" then
mount.cifs crops "\\$" and uses '$' as a prefixpath mount option.
.
I made simple fix in automount, that drops back slash after arguments
parsing.
yktor no https://bbs.archlinux.org/viewtopic.php?id=213396
hardening-flags.patch Avoid warning about -fPIE from blhcAbstract:
This is probably not entirely necessary since all modules are
compiled with -fPIE, but it avoids a warning.
Index: autofs-5.1.2/daemon/Makefile
Vincent McIntyre <vincent.mcintyre@csiro.au> no
spelling-error-fixes.patch Fix tons of spelling flaws. Thanks lintian. Mike Gabriel <mike.gabriel@das-netzwerkteam.de> no
fix-lookup-ldap-crash.patch 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.
Malcolm Scott <debianpkg@malc.org.uk> yes debian
fix-nfs4-mounts-in-auto-net.patch Fix nfs4/nfs mounting via autofs in auto.net. David Mohr <bugs@da.mcbf.net> no
fix-nfs4-only-mounts-should-not-use-rpcbind.patch 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.
Ian Kent <raven@themaw.net> no 2021-10-31
fix-missing-unlock-in-sasl-do-kinit-ext-cc.patch 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.
James Dingwall <james-autofs@dingwall.me.uk> no 2022-07-20
use-correct-reference-for-IN6-macro-cal.patch autofs-5.1.8 - use correct reference for IN6 macro callOrigin https://www.spinics.net/lists/autofs/msg02669.html

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.
Ian Kent <raven@themaw.net> no debian 2023-07-13
dont-probe-interface-that-cant-send-pac.patch autofs-5.1.8 - dont probe interface that cant send packet
When calculating the proximity add checks for basic reachability.

If an interface doesn't have an address of the family of the target
host, or the interface address is the IPv6 link local address, or
the target host address is the IPv6 link local address then don't
add it to the list of hosts to probe.
Ian Kent <raven@themaw.net> no debian https://www.spinics.net/lists/autofs/msg02667.html 2023-07-13

All known versions for source package 'autofs'

Links