Your message dated Fri, 06 Jul 2007 13:47:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#406700: fixed in autofs 4.1.4+debian-2
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: autofs
Version: 4.1.4+debian-1
Severity: normal

I am trying to use autofs to automount a Samba filesystem exported by
a machine whose IP address is assigned dynamically.  To find the IP
address I need to do a lookup in the .local namespace using Avahi.
(It turns out with the very latest autofs this isn't necessary, but
with earlier versions it seemed to be.)
So I created the following executable map file:

  #!/bin/ksh
  set -x
  key="$1"
  server=$(getent hosts $key.local)
  server="${server%% *}"
  echo "$key -fstype=cifs,rw,guest,uid=32074,gid=6202 ://$server/SharedDocs"

Unfortunately, this output is not understood, as you can see by the log:

  Jan 12 20:49:41 localhost automount[1571]: >> + key=bloodhound
  Jan 12 20:49:41 localhost automount[1571]: >> + getent hosts bloodhound.local
  Jan 12 20:49:41 localhost automount[1571]: >> + server='192.168.2.33    
bloodhound.local'
  Jan 12 20:49:41 localhost automount[1571]: >> + server=192.168.2.33
  Jan 12 20:49:41 localhost automount[1571]: >> + echo 'bloodhound 
-fstype=cifs,rw,guest,uid=32074,gid=6202 ://192.168.2.33/SharedDocs'
  Jan 12 20:49:46 localhost automount[1571]: mount(nfs): host -fstype=cifs: 
lookup failure
  Jan 12 20:49:55 localhost automount[1571]: mount(nfs): host uid=32074: lookup 
failure
  Jan 12 20:49:55 localhost automount[1571]: mount(nfs): host gid=6202: lookup 
failure
  Jan 12 20:49:55 localhost automount[1571]: mount(nfs): host : lookup failure
  Jan 12 20:50:09 localhost automount[1571]: >> mount to NFS server 
'bloodhound' failed: server is down.
  Jan 12 20:50:09 localhost automount[1571]: mount(nfs): nfs: mount failure 
bloodhound://192.168.2.33/SharedDocs on /var/autofs/smb/bloodhound
  Jan 12 20:50:09 localhost automount[1571]: failed to mount 
/var/autofs/smb/bloodhound

My auto.master file is as follows:

  #
  # $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $
  #
  # Sample auto.master file
  # This is an automounter map and it has the following format
  # key [ -mount-options-separated-by-comma ] location
  # For details of the format look at autofs(5).
  /misc   /etc/auto.misc --timeout=60
  /var/autofs/smb /etc/auto.mysmb  --timeout=60
  /var/autofs/testsmb     /etc/auto.testsmb  --timeout=60
  #/misc  /etc/auto.misc
  #/net   /etc/auto.net

  /var/autofs/bigusb /etc/auto.bigusb --timeout=500

And when I use the same text in a non-program map, it works:

  % cat /etc/auto.testsmb
  bloodhound -fstype=cifs,rw,guest,uid=32074,gid=6202 ://192.168.2.33/SharedDocs
  % ls /var/autofs/smb/bloodhound/
  ls: /var/autofs/smb/bloodhound/: No such file or directory
  # ls /var/autofs/testsmb/bloodhound/
  2004IFresults.html   EA Games  My Music     My Videos
  2004IFresults_files  My Games  My Pictures  desktop.ini

I assume that something goes wrong with the parsing of output from
program maps, but I don't know how to trigger more debugging
information from the daemon.



Norman



-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages autofs depends on:
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  ucf                          2.0017      Update Configuration File: preserv

Versions of packages autofs recommends:
ii  nfs-common                    1:1.0.10-4 NFS support files common to client

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: autofs
Source-Version: 4.1.4+debian-2

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:

autofs-hesiod_4.1.4+debian-2_sparc.deb
  to pool/main/a/autofs/autofs-hesiod_4.1.4+debian-2_sparc.deb
autofs-ldap_4.1.4+debian-2_sparc.deb
  to pool/main/a/autofs/autofs-ldap_4.1.4+debian-2_sparc.deb
autofs_4.1.4+debian-2.diff.gz
  to pool/main/a/autofs/autofs_4.1.4+debian-2.diff.gz
autofs_4.1.4+debian-2.dsc
  to pool/main/a/autofs/autofs_4.1.4+debian-2.dsc
autofs_4.1.4+debian-2_sparc.deb
  to pool/main/a/autofs/autofs_4.1.4+debian-2_sparc.deb



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.
Jan Christoph Nordholz <[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: SHA1

Format: 1.7
Date: Thu, 28 Jun 2007 23:28:49 +0200
Source: autofs
Binary: autofs-hesiod autofs-ldap autofs
Architecture: source sparc
Version: 4.1.4+debian-2
Distribution: unstable
Urgency: low
Maintainer: Jan Christoph Nordholz <[EMAIL PROTECTED]>
Changed-By: Jan Christoph Nordholz <[EMAIL PROTECTED]>
Description: 
 autofs     - kernel-based automounter for Linux
 autofs-hesiod - Hesiod map support for autofs
 autofs-ldap - LDAP map support for autofs
Closes: 406700 416597
Changes: 
 autofs (4.1.4+debian-2) unstable; urgency=low
 .
   * Add virtual package autofs to provide for smooth transitions
     between the upcoming experimental autofs5 package and this one.
   * Drop conflict with an ancient samba version - the PTS doesn't
     even go back that far.
   * Add a short explanation of the expected output of a program map
     to autofs.5. Closes: #406700.
   * Add an LSB header to the init script.
   * Add Recommends: module-init-tools. Closes: #416597.
Files: 
 bcfdb36160fab6e18266f0a11ef90210 669 utils extra autofs_4.1.4+debian-2.dsc
 9d06b31d88e39a673da38749f4447a7e 34269 utils extra 
autofs_4.1.4+debian-2.diff.gz
 ea2a8d75667abb852fca0149a166c301 112186 utils extra 
autofs_4.1.4+debian-2_sparc.deb
 babb3c8c7aa1375583e9741bdf09b9a7 27538 utils extra 
autofs-hesiod_4.1.4+debian-2_sparc.deb
 6a09ea7b2da5ca99a990f1e344b9fc03 40330 utils extra 
autofs-ldap_4.1.4+debian-2_sparc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGjkW20fhX0Y/ocz0RAlAGAKCPU73WxQvNxCye+iaHhphW6PgYRACgklPC
WTyWRYBnctkES7JbY4vtxyQ=
=Zwhl
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to