Your message dated Mon, 26 Oct 2020 21:18:42 +0000
with message-id <[email protected]>
and subject line Bug#646625: fixed in autofs 5.1.6-4
has caused the Debian Bug report #646625,
regarding autofs5: auto.net and -hosts do not handle nfs4 shares
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
646625: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646625
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: autofs5
Version: 5.0.4-3.2
Severity: important

Autofs does not mount nfs4 shares as nfs4 with the supplied files in the autofs
package.
There is no indication in the man files that -hosts and auto.net only mount as
nfs3 (or lower).

auto.net has a misleading lines with nfs4 as part of the options.
This line does not work as the shares are parsed with the nfs4 root included in
the paths.
If the line with just nfs is used, and if the client machine has rpc.statd
running, the shares are mounted as nfs3 which can have interesting side effects
with file ownership.

The script supplied in bug #533893 works.

/var/log/daemon.log from autofs restart, after ls /net/nede
auto.net with nfs4 line active.

Oct 25 20:26:52 hooch automount[3583]: Starting automounter version 5.0.4,
master map /etc/auto.master
Oct 25 20:26:52 hooch automount[3583]: using kernel protocol version 5.01
Oct 25 20:26:52 hooch automount[3583]: lookup_nss_read_master: reading master
file /etc/auto.master
Oct 25 20:26:52 hooch automount[3583]: parse_init: parse(sun): init gathered
global options: (null)
Oct 25 20:26:52 hooch automount[3583]: lookup_read_master: lookup(file): read
entry /net
Oct 25 20:26:52 hooch automount[3583]: master_do_mount: mounting /net
Oct 25 20:26:52 hooch automount[3583]: automount_path_to_fifo: fifo name
/var/run/autofs.fifo-net
Oct 25 20:26:52 hooch automount[3583]: lookup_nss_read_map: reading map file
/etc/auto.net
Oct 25 20:26:52 hooch automount[3583]: parse_init: parse(sun): init gathered
global options: (null)
Oct 25 20:26:52 hooch automount[3583]: mounted indirect on /net with timeout
300, freq 75 seconds
Oct 25 20:26:52 hooch automount[3583]: st_ready: st_ready(): state = 0 path
/net
Oct 25 20:26:52 hooch automount[3583]: ghosting enabled
Oct 25 20:26:59 hooch automount[3583]: handle_packet: type = 3
Oct 25 20:26:59 hooch automount[3583]: handle_packet_missing_indirect: token
20, name nede, request pid 3591
Oct 25 20:26:59 hooch automount[3583]: attempting to mount entry /net/nede
Oct 25 20:26:59 hooch automount[3583]: lookup_mount: lookup(program): looking
up nede
Oct 25 20:26:59 hooch automount[3583]: lookup_mount: lookup(program): nede ->
-fstype=nfs4,hard,intr,nodev,nosuid,async  #011/nfs4 nede:/nfs4  #011/nfs4/home
nede:/nfs4/home  #011/nfs4/mirror nede:/nfs4/mirror
Oct 25 20:26:59 hooch automount[3583]: parse_mount: parse(sun): expanded entry:
-fstype=nfs4,hard,intr,nodev,nosuid,async  #011/nfs4 nede:/nfs4  #011/nfs4/home
nede:/nfs4/home  #011/nfs4/mirror nede:/nfs4/mirror
Oct 25 20:26:59 hooch automount[3583]: parse_mount: parse(sun): gathered
options: fstype=nfs4,hard,intr,nodev,nosuid,async
Oct 25 20:26:59 hooch automount[3583]: parse_mount: parse(sun):
dequote("/nfs4") -> /nfs4
Oct 25 20:26:59 hooch automount[3583]: parse_mapent: parse(sun): gathered
options: fstype=nfs4,hard,intr,nodev,nosuid,async
Oct 25 20:26:59 hooch automount[3583]: parse_mapent: parse(sun):
dequote("nede:/nfs4") -> nede:/nfs4
Oct 25 20:26:59 hooch automount[3583]: add_offset_entry: parse(sun): added
multi-mount offset /nfs4 -> -fstype=nfs4,hard,intr,nodev,nosuid,async
nede:/nfs4
Oct 25 20:26:59 hooch automount[3583]: parse_mount: parse(sun):
dequote("/nfs4/home") -> /nfs4/home
Oct 25 20:26:59 hooch automount[3583]: parse_mapent: parse(sun): gathered
options: fstype=nfs4,hard,intr,nodev,nosuid,async
Oct 25 20:26:59 hooch automount[3583]: parse_mapent: parse(sun):
dequote("nede:/nfs4/home") -> nede:/nfs4/home
Oct 25 20:26:59 hooch automount[3583]: add_offset_entry: parse(sun): added
multi-mount offset /nfs4/home -> -fstype=nfs4,hard,intr,nodev,nosuid,async
nede:/nfs4/home
Oct 25 20:26:59 hooch automount[3583]: parse_mount: parse(sun):
dequote("/nfs4/mirror") -> /nfs4/mirror
Oct 25 20:26:59 hooch automount[3583]: parse_mapent: parse(sun): gathered
options: fstype=nfs4,hard,intr,nodev,nosuid,async
Oct 25 20:26:59 hooch automount[3583]: parse_mapent: parse(sun):
dequote("nede:/nfs4/mirror") -> nede:/nfs4/mirror
Oct 25 20:26:59 hooch automount[3583]: add_offset_entry: parse(sun): added
multi-mount offset /nfs4/mirror -> -fstype=nfs4,hard,intr,nodev,nosuid,async
nede:/nfs4/mirror
Oct 25 20:26:59 hooch automount[3583]: mount_multi_triggers: mount offset
/net/nede/nfs4 at /net/nede
Oct 25 20:26:59 hooch automount[3583]: mount_autofs_offset: calling mount -t
autofs -s  -o fd=7,pgrp=3583,minproto=5,maxproto=5,offset automount
/net/nede/nfs4
Oct 25 20:26:59 hooch automount[3583]: mounted offset on /net/nede/nfs4 with
timeout 300, freq 75 seconds
Oct 25 20:26:59 hooch automount[3583]: mount_autofs_offset: mounted trigger
/net/nede/nfs4 at /net/nede/nfs4
Oct 25 20:26:59 hooch automount[3583]: dev_ioctl_send_ready: token = 20
Oct 25 20:26:59 hooch automount[3583]: mounted /net/nede
root@hooch:~#

The share root has not been stripped from the share paths.

server: nede, Lenny with backports 2.6.32 kernel.
client; hooch, squeeze

Suggest that the nfs4 line be removed from auto.net and a auto.nfs4 file
included in the package.



-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages autofs5 depends on:
ii  libc6                        2.11.2-10   Embedded GNU C Library: Shared lib
ii  ucf                          3.0025+nmu1 Update Configuration File: preserv

Versions of packages autofs5 recommends:
ii  module-init-tools             3.12-1     tools for managing Linux kernel mo
ii  nfs-common                    1:1.2.2-4  NFS support files common to client

autofs5 suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: autofs
Source-Version: 5.1.6-4
Done: Mike Gabriel <[email protected]>

We believe that the bug you reported is fixed in the latest version of
autofs, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mike Gabriel <[email protected]> (supplier of updated autofs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 26 Oct 2020 21:46:29 +0100
Source: autofs
Architecture: source
Version: 5.1.6-4
Distribution: unstable
Urgency: medium
Maintainer: Mike Gabriel <[email protected]>
Changed-By: Mike Gabriel <[email protected]>
Closes: 646625 968675
Changes:
 autofs (5.1.6-4) unstable; urgency=medium
 .
   * debian/patches:
     + Add fix-autofs-schema.patch. Fix EQUALITY of automountInformation
       in LDAP autofs.schema. (Closes: #968675).
     + Add fix-nfs4-mounts-in-auto-net.patch. Follow-up of the nfs4 fix in
       #533893. (Closes: #646625).
     + Use correct capitalization for Vcs-*: field tags.
Checksums-Sha1:
 c50f5969bc6e0595269b40803515e5010c7595a3 2337 autofs_5.1.6-4.dsc
 d4ae4c68e5ed3bd8655ad5489e91b686b19092d8 25020 autofs_5.1.6-4.debian.tar.xz
 0c9e712bd0ac1a485fca42b58f28e49bd84d1d2b 7256 autofs_5.1.6-4_source.buildinfo
Checksums-Sha256:
 935c79dbb1ae4a71143dae1613d37fb399d2819ec60ae7d22bc47e57808e80de 2337 
autofs_5.1.6-4.dsc
 3a2096ab224797c3127441c4b6cc078399ffdf688c3d974029c4c00d39632d0f 25020 
autofs_5.1.6-4.debian.tar.xz
 5aa0a087e1063266410ee86a060b85e7d9cd3ed012baae7dde07df8e0c937420 7256 
autofs_5.1.6-4_source.buildinfo
Files:
 2107961f0d2a57e04ced08347b956b44 2337 utils optional autofs_5.1.6-4.dsc
 7d346ca2071ad03865b15049a0068c3d 25020 utils optional 
autofs_5.1.6-4.debian.tar.xz
 06a503497b9229c1c1c97b987975f374 7256 utils optional 
autofs_5.1.6-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAl+XOLsVHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxoJcP/AvWaSgaPuxxCcWByxvHzhX8zM5+
gkZOwQqJm1a7lDz3pH321FpmlrnjJO6OSrLUJN9DKcQ+clXMK3h8MsR0ebF6heoV
tUZ8Guurqz47UP/9h/Dij6cUzl5zDy1tDQoYJ9sUvaFMSJVgYm7jDLIURTKBPnz2
vj4MrDaI5o2HtdyL18v4rWz91sq6iCvpx5C5a0rVMq7cjywsgf0EWO7vlk1dRN+x
z57EX2E5zh9+Mh4RpGm4jjg2vgHrPo6QUR4Tx8UzvI1ncgyXGpfsO+VAcqNX7ipG
60HsV6a0G1vaymA7zRKdgN3eUnE8QZTagYFXQn0/uSLPljEoMPdalejZroDKAxoG
GZvD2UFdP8hqd2Pm0vOJZ0GU0qNAVx/M/2fpXj6TWfTutj/lS8zr5tGzMulRsW9o
KTmMbFfYCJfj4l8Xigr2wu4tfrus++azZYOCXpmaRxdFJwUQ4Qtd0wcz6FZwBvK9
C858+wURz0LlOUXLl8LirTZrui7DrY0qHkR8gnHD4CQLJnUhtIj35bvHlckQO/Sj
9RuD99wjAgpfMzoSKPDLAJb1LCA01udfthquTVeTXfw8ShF92dNVtmekqf7bjpDn
r+7wwtrve1CXDEOKLEBBi2fW25A8IqBo32tijR2unKMiLcG25m3ycWU4/MZcTt87
7GAHQ30EF5zNDpvW
=9tFy
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to