Your message dated Thu, 14 Mar 2019 19:49:07 +0000 with message-id <[email protected]> and subject line Bug#910367: fixed in autofs 5.1.5-1 has caused the Debian Bug report #910367, regarding autofs: No way to mount smb share with a dollar sign at the end 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.) -- 910367: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910367 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: autofs Version: 5.1.2-1 Severity: important Hi, Since stretch update, there is no way to automount a smb share with a '$' at the end of its name anymore. But these names are automaticcaly generated by windows when the share is hidden by default... The auto.smb script has a awk script to protect the '$' character. It works for the local mount path and options (cf user='...' parameter below), but not for the server path. # /etc/auto.smb nas-stbm -fstype=cifs,multiuser,cruid=0,sec=krb5,user="HOSTNAME\$" \ "/GENOME$" "://nas-stbm/GENOME\$" \ [...] I tweak /etc/auto.smb to get the options I wanted. But I tried to generate both version (quoted or not) : A: "/GENOME$" "://nas-stbm/GENOME\$" B: "/GENOME$" "://nas-stbm/GENOME$" Both fails. Running autofs in debug mode, for A, I got: Oct 5 13:30:50 ge91097 automount[14285]: attempting to mount entry /srv/cifs2/nas-stbm/GENOME$ Oct 5 13:30:50 ge91097 automount[14285]: lookup_mount: lookup(program): /srv/cifs2/nas-stbm/GENOME$ -> -fstype=cifs,multiuser,cruid=0,sec=krb5,user=HOSTNAME\$ ://nas-stbm/GENOME\$ Oct 5 13:30:50 ge91097 automount[14285]: parse_mount: parse(sun): expanded entry: -fstype=cifs,multiuser,cruid=0,sec=krb5,user=HOSTNAME\$ ://nas-stbm/GENOME\$ Oct 5 13:30:50 ge91097 automount[14285]: parse_mount: parse(sun): gathered options: fstype=cifs,multiuser,cruid=0,sec=krb5,user=HOSTNAME$ Oct 5 13:30:50 ge91097 automount[14285]: sun_mount: parse(sun): mounting root /srv/cifs2/nas-stbm/GENOME$, mountpoint /srv/cifs2/nas-stbm/GENOME$, what //nas-stbm/GENOME\$, fstype cifs, options multiuser,cruid=0,sec=krb5,user=HOSTNAME$ Oct 5 13:30:50 ge91097 automount[14285]: do_mount: //nas-stbm/GENOME\$ /srv/cifs2/nas-stbm/GENOME$ type cifs options multiuser,cruid=0,sec=krb5,user=HOSTNAME$ using module generic Oct 5 13:30:50 ge91097 automount[14285]: mount_mount: mount(generic): calling mkdir_path /srv/cifs2/nas-stbm/GENOME$ Oct 5 13:30:50 ge91097 automount[14285]: mount_mount: mount(generic): calling mount -t cifs -o multiuser,cruid=0,sec=krb5,user=HOSTNAME$ //nas-stbm/GENOME\$ /srv/cifs2/nas-stbm/GENOME$ => note the '\' before '$' that is kept in the server path [...] Oct 5 13:30:50 ge91097 automount[14285]: mount(generic): failed to mount //nas-stbm/GENOME\$ (type cifs) on /srv/cifs2/nas-stbm/GENOME$ For B, I got: Oct 5 13:43:17 ge91097 automount[15058]: lookup_mount: lookup(program): /srv/cifs2/nas-stbm/GENOME$ -> -fstype=cifs,multiuser,cruid=0,sec=krb5,user=HOSTNAME\$ ://nas-stbm/GENOME$ Oct 5 13:43:17 ge91097 automount[15058]: parse_mount: parse(sun): expanded entry: -fstype=cifs,multiuser,cruid=0,sec=krb5,user=HOSTNAME\$ ://nas-stbm/GENOME Oct 5 13:43:17 ge91097 automount[15058]: parse_mount: parse(sun): gathered options: fstype=cifs,multiuser,cruid=0,sec=krb5,user=HOSTNAME$ Oct 5 13:43:17 ge91097 automount[15058]: sun_mount: parse(sun): mounting root /srv/cifs2/nas-stbm/GENOME$, mountpoint /srv/cifs2/nas-stbm/GENOME$, what //nas-stbm/GENOME, fstype cifs, options multiuser,cruid=0,sec=krb5,user=HOSTNAME$ Oct 5 13:43:17 ge91097 automount[15058]: do_mount: //nas-stbm/GENOME /srv/cifs2/nas-stbm/GENOME$ type cifs options multiuser,cruid=0,sec=krb5,user=HOSTNAME$ using module generic Oct 5 13:43:17 ge91097 automount[15058]: mount_mount: mount(generic): calling mkdir_path /srv/cifs2/nas-stbm/GENOME$ Oct 5 13:43:17 ge91097 automount[15058]: mount_mount: mount(generic): calling mount -t cifs -o multiuser,cruid=0,sec=krb5,user=HOSTNAME$ //nas-stbm/GENOME /srv/cifs2/nas-stbm/GENOME$ => note the missing '$' in the server path [...] Oct 5 13:43:17 ge91097 automount[15058]: mount(generic): failed to mount //nas-stbm/GENOME (type cifs) on /srv/cifs2/nas-stbm/GENOME$ I workaround the problem by renaming /sbin/mount.cifs into mount.cifs.real and writing the following script in /sbin/mount.cifs: #!/bin/bash SHARE="${1/\\\$/\$}" shift exec "$0".real "$SHARE" "$@" Please, propose a way (whatever it is) to quote the share name. Regards, Vincent -- System Information: Debian Release: buster/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, armel, mipsel Kernel: Linux 4.17.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages autofs depends on: ii libc6 2.27-6 ii libxml2 2.9.4+dfsg1-7+b1 ii ucf 3.0038 Versions of packages autofs recommends: ii e2fsprogs 1.44.4-2 ii kmod 25-1 ii nfs-common 1:1.3.4-2.2 autofs suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: autofs Source-Version: 5.1.5-1 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: Thu, 14 Mar 2019 19:42:50 +0100 Source: autofs Binary: autofs autofs-ldap autofs-hesiod Architecture: source Version: 5.1.5-1 Distribution: experimental Urgency: medium Maintainer: Mike Gabriel <[email protected]> Changed-By: Mike Gabriel <[email protected]> Description: autofs - kernel-based automounter for Linux autofs-hesiod - Hesiod map support for autofs autofs-ldap - LDAP map support for autofs Closes: 709366 737679 757038 784301 787202 805028 842199 849148 864857 892374 901554 902565 910367 Changes: autofs (5.1.5-1) experimental; urgency=medium . [ Mike Gabriel ] * New upstream release. - Make browsable_dirs option functional. Configurable in autofs.conf. (Closes: #784301). - Fix FTBFS with clang. (Closes: #757038). - Fix specification of nfsvers=4.1 (with minor version numbers) in auto.master. (Closes: #892374). * debian/patches: + Rebase some patches. + Drop do-not-check-for-modprobe-procfs-or-load-module.patch, fix-autofs-manpage-whatis.patch, fix-autofsconf-manpage-section.patch. Fixes shipped by upstream. + Add mount-hidden-samba-shares.patch. Fix regression between 5.0.8 and 5.1.1 regarding the mounting of hidden samba shares. (Closes: #787202, #910367). + Add spelling-error-fixes.patch, fixing tons of spelling fixes. Thanks lintian. * debian/rules: + Add get-orig-source target. + Evoke install_samples upstream Makefile target explicitly during dh_auto_install. + Enable all hardening flags. * debian/control: + Bump to Standards-Version: 4.3.0. No changes needed. + Adopt autofs package. Thanks to Dmitry Smirnov and other contributors for all the previous work. (Closes: #849148). + Explicit B-D on pkg-config. + Update Vcs-*: fields. Packaging has moved to salsa.debian.org. (Closes: #902565). + Add B-D on dpkg-dev (>= 1.16.1.1~) for full hardening flag support. + Use secure URL in Homepage: field. * debian/source/options: + Drop custom compression for debian/ folder's tarball. * debian/autofs-ldap.<scripts>: + Ensure file permissions of /etc/autofs_ldap_auth.conf are set to root:root:0600 via dpkg-statoverride. (Closes: #805028). * debian/autofs.service: + Add nfs-client.target to Wants= key. Hopefully, this is sufficient to fix #842199, if not, please reopen the bug. (Closes: #842199). + PID file is in /run, not /var/run (which is a symlink to /run). + Add Documentation= key. * debian/copyright: + Drop outdated information from main header. Use https:// in URLs. . [ Stefan Potyra ] * debian/control: + Add libtirpc-dev to build-depends. * debian/rules: + Add option --with-libtirpc to configure. (Closes: #737679, #709366). . [ Andreas Hasenack ] * debian/tests: + Add nfs-mount and smb-mount tests. (Closes: #901554). . [ Vincent McIntyre ] * debian/patches: + Add hardening-flags.patch. Assure that automount is built with DAEMON_CFLAGS. (Closes: #864857). Checksums-Sha1: 1c0372579c5bf072a6c2abb26b97bac04ccc74df 2349 autofs_5.1.5-1.dsc f60ce7b1e4e3c380fbca8347b395f7fc07a141ec 313476 autofs_5.1.5.orig.tar.xz bba483059dcfa387b797352e09ad69efd9c8d193 21324 autofs_5.1.5-1.debian.tar.xz 6c690b31b9eb2eb60d51e718be25c103c8dfe88d 8601 autofs_5.1.5-1_source.buildinfo Checksums-Sha256: 2e531ec8b2e0a6146bde04714d692c937dcb84a4c5b074ffbdfe0f026096303c 2349 autofs_5.1.5-1.dsc 23afdad9e2fd6d41b1900be8cfecfd5aae0ad174c7708ff685ec27e280f9c0da 313476 autofs_5.1.5.orig.tar.xz fc99ac22684462967aa0784e11015b12c4a55feea9fe78595092c2056d946cd5 21324 autofs_5.1.5-1.debian.tar.xz 07e7bd1746acbf23df19514179b6f5bc61aa3162873212f74790f784bbe97878 8601 autofs_5.1.5-1_source.buildinfo Files: cbf70c28342819c075fab59139a887c2 2349 utils optional autofs_5.1.5-1.dsc 61d2cfbf51159c9c82b57e1ea9c34376 313476 utils optional autofs_5.1.5.orig.tar.xz a2fd3fcc0b2a4f06184d11f00ec0699e 21324 utils optional autofs_5.1.5-1.debian.tar.xz d45c04bb0fa89ecf956b2fa3b8dc5d1e 8601 utils optional autofs_5.1.5-1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAlyKrEQVHHN1bndlYXZl ckBkZWJpYW4ub3JnAAoJEJr0azAldxsx3lMP/ijb2YSEdTnH54qa383pwUUffbPT WwDm8bkRT5rOiTyTkvFniAjDnx8EH6CK71dtn2NxwIsiZTxqvE1G9iSd56Nt4Vd9 pLhbbiKfSGeq95GzhHgAUDOB/DxkWfxJiS8ORXKH8GaTZELBppZymAqkcQpSPJp+ juorlk9obp3wpJPPk4XqDkXBCK+Yd5zbNs+D2YNcx6qFIQfRP1yLbXi1DjknwwgE JK+vnz8zLjHvAUbK+5sT//EZQ2Xv8xgK03Dnts4A7ut3RPjsc/CMZh211WJWN1In VIupwX9352vsqZVtgHU3akOvfJlN+GVjTLU4Y81u9dJPK+crhJbEQdnQ4k/pXhF9 AboROIMeryCAyeY9Zsj6ZskHzK4YePBKzP1mCtprN3SEWg9NDxDrKOMdOwd4RKBJ F3mbyv5qhFwNPhoV6Y05SfgccCPGh2EI+oSP+Mb/kZuAPjQ904yR3Oxl5OpiQwst OGgawIJw+WSbrfTDqcO5XfyRFr5eVWOqjxDwOMgsCads4moS3+6zG2qBqXJY1Py9 MrXOa4eXjZJwsep9HODqi0pGuB7uoybnPmZCtkRYe4xgCxNDyZ+JDRBRlGJEDBIq rd/vcCLXGIzAdDzjJkXWnlJnRzPzumY+svgbhcxBdYMHa5dBckERuIw6nXBi0eBO YId5eYO8RlguQzAz =X1to -----END PGP SIGNATURE-----
--- End Message ---

