Public bug reported:

Contents of /run/autofs.d:

$ tail /run/autofs.d/*
==> /run/autofs.d/sda1.autofs <==
/- /run/autofs.d/sda1.direct --timeout=10

==> /run/autofs.d/sda1.direct <==
/mnt/WDC_WD5000BEVT-22ZAT0/sda1 -fstype=ntfs-3g,users,exec :/dev/sda1

==> /run/autofs.d/sda5.autofs <==
/- /run/autofs.d/sda5.direct --timeout=10

==> /run/autofs.d/sda5.direct <==
/mnt/WDC_WD5000BEVT-22ZAT0/sda5 -fstype=auto :/dev/sda5

==> /run/autofs.d/sda7.autofs <==
/- /run/autofs.d/sda7.direct --timeout=10

==> /run/autofs.d/sda7.direct <==
/mnt/WDC_WD5000BEVT-22ZAT0/sda7 -fstype=auto :/dev/sda7

==> /run/autofs.d/sdb2.autofs <==
/- /run/autofs.d/sdb2.direct --timeout=10

==> /run/autofs.d/sdb2.direct <==
/mnt/FUJITSU_MHY2160BH/sdb2_root -fstype=ext4 :/dev/sdb2

==> /run/autofs.d/sdb3.autofs <==
/- /run/autofs.d/sdb3.direct --timeout=10

==> /run/autofs.d/sdb3.direct <==
/mnt/FUJITSU_MHY2160BH/sdb3_Флешка -fstype=ntfs-3g,users,exec :/dev/sdb3


Debug output:

Starting automounter version 5.0.6, master map /etc/autofs/auto.master
using kernel protocol version 5.02
lookup_nss_read_master: reading master file /etc/autofs/auto.master
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry /-
lookup_read_master: lookup(file): read entry /mnt/ftp
lookup_read_master: lookup(file): read entry +dir:/run/autofs.d
lookup_nss_read_master: reading master dir /run/autofs.d
lookup_read_master: lookup(dir): scandir: /run/autofs.d
include_file: lookup(dir): include: /run/autofs.d/sda1.autofs
lookup_nss_read_master: reading master file /run/autofs.d/sda1.autofs
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry /-
include_file: lookup(dir): include: /run/autofs.d/sda5.autofs
lookup_nss_read_master: reading master file /run/autofs.d/sda5.autofs
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry /-
include_file: lookup(dir): include: /run/autofs.d/sda7.autofs
lookup_nss_read_master: reading master file /run/autofs.d/sda7.autofs
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry /-
include_file: lookup(dir): include: /run/autofs.d/sdb2.autofs
lookup_nss_read_master: reading master file /run/autofs.d/sdb2.autofs
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry /-
include_file: lookup(dir): include: /run/autofs.d/sdb3.autofs
lookup_nss_read_master: reading master file /run/autofs.d/sdb3.autofs
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry /-
master_do_mount: mounting /-
automount_path_to_fifo: fifo name /run/autofs.fifo--
lookup_nss_read_map: reading map file /etc/autofs/auto.smb
parse_init: parse(sun): init gathered global options: (null)
lookup_nss_read_map: reading map file /run/autofs.d/sda1.direct
parse_init: parse(sun): init gathered global options: (null)
lookup_nss_read_map: reading map file /run/autofs.d/sda5.direct
parse_init: parse(sun): init gathered global options: (null)
lookup_nss_read_map: reading map file /run/autofs.d/sda7.direct
parse_init: parse(sun): init gathered global options: (null)
lookup_nss_read_map: reading map file /run/autofs.d/sdb2.direct
parse_init: parse(sun): init gathered global options: (null)
lookup_nss_read_map: reading map file /run/autofs.d/sdb3.direct
parse_init: parse(sun): init gathered global options: (null)

sdb3 is getting parsed, but:

mounted direct on /mnt/smb with timeout 300, freq 75 seconds
do_mount_autofs_direct: mounted trigger /mnt/smb
mounted direct on /mnt/WDC_WD5000BEVT-22ZAT0/sda1 with timeout 10, freq 3 
seconds
do_mount_autofs_direct: mounted trigger /mnt/WDC_WD5000BEVT-22ZAT0/sda1
mounted direct on /mnt/WDC_WD5000BEVT-22ZAT0/sda5 with timeout 10, freq 3 
seconds
do_mount_autofs_direct: mounted trigger /mnt/WDC_WD5000BEVT-22ZAT0/sda5
mounted direct on /mnt/WDC_WD5000BEVT-22ZAT0/sda7 with timeout 10, freq 3 
seconds
do_mount_autofs_direct: mounted trigger /mnt/WDC_WD5000BEVT-22ZAT0/sda7
mounted direct on /mnt/FUJITSU_MHY2160BH/sdb2_root with timeout 10, freq 3 
seconds
do_mount_autofs_direct: mounted trigger /mnt/FUJITSU_MHY2160BH/sdb2_root
st_ready: st_ready(): state = 0 path /-

here is no sdb3 mount point!

If I change /run/autofs.d/sdb3.direct to:
/mnt/FUJITSU_MHY2160BH/sdb3_no_non-english -fstype=ntfs-3g,users,exec :/dev/sdb3

everything begins to work:
Starting automounter version 5.0.6, master map /etc/autofs/auto.master
using kernel protocol version 5.02
lookup_nss_read_master: reading master file /etc/autofs/auto.master
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry /-
lookup_read_master: lookup(file): read entry /mnt/ftp
lookup_read_master: lookup(file): read entry +dir:/run/autofs.d
lookup_nss_read_master: reading master dir /run/autofs.d
lookup_read_master: lookup(dir): scandir: /run/autofs.d
include_file: lookup(dir): include: /run/autofs.d/sda1.autofs
lookup_nss_read_master: reading master file /run/autofs.d/sda1.autofs
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry /-
include_file: lookup(dir): include: /run/autofs.d/sda5.autofs
lookup_nss_read_master: reading master file /run/autofs.d/sda5.autofs
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry /-
include_file: lookup(dir): include: /run/autofs.d/sda7.autofs
lookup_nss_read_master: reading master file /run/autofs.d/sda7.autofs
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry /-
include_file: lookup(dir): include: /run/autofs.d/sdb2.autofs
lookup_nss_read_master: reading master file /run/autofs.d/sdb2.autofs
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry /-
include_file: lookup(dir): include: /run/autofs.d/sdb3.autofs
lookup_nss_read_master: reading master file /run/autofs.d/sdb3.autofs
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry /-
master_do_mount: mounting /-
automount_path_to_fifo: fifo name /run/autofs.fifo--
lookup_nss_read_map: reading map file /etc/autofs/auto.smb
parse_init: parse(sun): init gathered global options: (null)
lookup_nss_read_map: reading map file /run/autofs.d/sda1.direct
parse_init: parse(sun): init gathered global options: (null)
lookup_nss_read_map: reading map file /run/autofs.d/sda5.direct
parse_init: parse(sun): init gathered global options: (null)
lookup_nss_read_map: reading map file /run/autofs.d/sda7.direct
parse_init: parse(sun): init gathered global options: (null)
lookup_nss_read_map: reading map file /run/autofs.d/sdb2.direct
parse_init: parse(sun): init gathered global options: (null)
lookup_nss_read_map: reading map file /run/autofs.d/sdb3.direct
parse_init: parse(sun): init gathered global options: (null)
mounted direct on /mnt/smb with timeout 300, freq 75 seconds
do_mount_autofs_direct: mounted trigger /mnt/smb
mounted direct on /mnt/WDC_WD5000BEVT-22ZAT0/sda1 with timeout 10, freq 3 
seconds
do_mount_autofs_direct: mounted trigger /mnt/WDC_WD5000BEVT-22ZAT0/sda1
mounted direct on /mnt/WDC_WD5000BEVT-22ZAT0/sda5 with timeout 10, freq 3 
seconds
do_mount_autofs_direct: mounted trigger /mnt/WDC_WD5000BEVT-22ZAT0/sda5
mounted direct on /mnt/WDC_WD5000BEVT-22ZAT0/sda7 with timeout 10, freq 3 
seconds
do_mount_autofs_direct: mounted trigger /mnt/WDC_WD5000BEVT-22ZAT0/sda7
mounted direct on /mnt/FUJITSU_MHY2160BH/sdb2_root with timeout 10, freq 3 
seconds
do_mount_autofs_direct: mounted trigger /mnt/FUJITSU_MHY2160BH/sdb2_root
mounted direct on /mnt/FUJITSU_MHY2160BH/sdb3_no_non-english with timeout 10, 
freq 3 seconds
do_mount_autofs_direct: mounted trigger 
/mnt/FUJITSU_MHY2160BH/sdb3_no_non-english
st_ready: st_ready(): state = 0 path /-

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: autofs 5.0.6-2ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-22.34~pre201301090400-generic 3.5.7.2
Uname: Linux 3.5.0-22-generic x86_64
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
Date: Thu Apr  4 14:44:21 2013
InstallationMedia: Xubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
SourcePackage: autofs
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: autofs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug quantal

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/1164446

Title:
  autofs doesn't handle non-english characters in map files included
  with +dir option

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1164446/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to