Package: autofs
Version: 5.1.1-1
Severity: important
Tags: patch

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Boot machine that has autofs configured to mount directories under /home/ via nfs4.
The machine comes up but directories don't get mounted.

For this to work properly we need several things to happen:

1) rpc.idmapd and rpc.gssd need to run
2) autofs needs to start up after the network is online

Add the following line to autofs.system
Requires=network-online.target nfs-client.target

Add the following line to nfs-client.target
Requires=nfs-idmapd.service rpc-gssd.service

After these changes, autofs starts up late enough that the network is online, and
when it tries to mount nfs4 mounts it works

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
APT policy: (750, 'testing'), (500, 'unstable'), (500, 'stable'), (102, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages autofs depends on:
ii  init-system-helpers  1.45
ii  libc6                2.24-3
ii  libxml2              2.9.4+dfsg1-2
ii  multiarch-support    2.24-3
ii  ucf                  3.0036

Versions of packages autofs recommends:
ii  kmod        22-1.1
ii  nfs-common  1:1.2.8-9.2

autofs suggests no packages.

-- Configuration Files:
/etc/init.d/autofs changed [not included]

-- no debconf information

Reply via email to