[ANNOUNCE] autofs 5.1.5 release

From: Ian Kent
Date: Tue Oct 30 2018 - 03:21:27 EST


Hi all,

It's time for a release, autofs-5.1.5.

A few changes of note are:

With the deprecation of the fedfs-utils package it was necessary
to add a couple of binaries from that package for fedfs users to
give them time to migrate away from using fedfs. The binaries
included in autofs are fedfs-map-nfs4 and mount.fedfs. To exclude
these binaries from being included use "--without fedfs" with the
configure invocation.

A regression which broke amd format maps option parsing resulting
from the addition of amd program mount support was fixed.

When used as a systemd service there were problems with dependency
interactions that required changing the way autofs interacts with
systemd. Other than fixing the problem this should not have any
visible changes other than noticing a new command line option used
with automount(8) in the systemd unit definition.

There are some minor improvements to building without hesiod
support. This amounts to providing sensible error messages to
indicate autofs has been built without hesiod support rather
than the terse messages that would result otherwise.

The SIGUSR2 handling didn't work as documented in the automount(8)
man page. Adding the "--enable-forced-shutdown" option to configure
will now work as described in automount(8) if the kernel changes
needed to support it are present.

Additionally there are a number of bug fixes and other minor
improvements.

autofs
======

The package can be found at:
https://www.kernel.org/pub/linux/daemons/autofs/v5/

It is autofs-5.1.5.tar.[gz|xz]

No source rpm is there as it can be produced by using:

rpmbuild -ts autofs-5.1.5.tar.gz

and the binary rpm by using:

rpmbuild -tb autofs-5.1.5.tar.gz

See the README.amd-maps file for information about using amd format
maps.

Here are the entries from the CHANGELOG which outline the updates:

30/10/2018 autofs-5.1.5
- fix flag file permission.
- fix directory create permission.
- fix use after free in do_master_list_reset().
- fix deadlock in dumpmaps.
- dont use array for path when not necessary.
- fix prefix option handling in expand_entry().
- fix sublink option not set from defaults.
- fix error return in do_nfs_mount().
- add error handling for ext_mount_add().
- account for recent libnsl changes.
- use_hostname_for_mounts shouldn't prevent selection among replicas.
- fix monotonic_elapsed.
- Makefiles.rules: remove 'samples' from SUBDIRS.
- dont allow trailing slash in master map mount points.
- fix libresolv configure check.
- add fedfs-getsrvinfo.c.
- add mount.fedfs.c.
- add fedfs-map-nfs4.c.
- add conditional inclusion of fedfs binaries.
- add an example fedfs master map entry to the installed master map.
- improve hostname lookup error logging.
- fix rpm spec install premissions on auto.net and auto.smb.
- tiny patch for autofs typo and possible bug.
- add units After line to include statd service.
- use systemd sd_notify() at startup.
- fix NFS version mask usage.
- fix fd leak in rpc_do_create_client().
- add-man page note about extra slashes in paths.
- change expire type naming to better reflect usage.
- use defines for expire type.
- enable SIGUSR2 handling in rpm spec file.
- fix age setting at startup.
- fix update_negative_cache() map source usage.
- fix program usage message.
- mark removed cache entry negative.
- set bind mount as propagation slave.
- add master map pseudo options for mount propagation.
- fix use after free in parse_ldap_config().
- fix incorrect locking in sss lookup.
- fix amd parser opts option handling.
- fix possible NULL pointer dereference in get_defaults_entry().
- better handle hesiod support not built in.
- fix indent in automount(8) man page.
- remove autofs4 module load code.
- add NULL check in prepare_attempt_prefix().
- update build info with systemd.
- use flags for startup boolean options.
- move close stdio descriptors to become_daemon().
- add systemd service command line option.
- refactor negative map entry check.
- remove unused function dump_master().
- remove unused function dump_state_queue().
- remove couple of undeeded requires.

Ian