Добрый день!
Установил чистую R6, поставил все обновы. Пытаюсь настроить autofs на монтирование smb шар. Не получается, хотя в старом релизе работало...
Что может быть не так.
Включил debug log в autofs.
Судя по логу, не читается директория /etc/auto.master.d
информация из лога...
авг 05 13:16:58 desktop automount[5669]: lookup(file): failed to read included master map auto.master
ls -ld /etc/auto.master.d
drwxr-xr-x 2 root root 23 авг 5 11:15 /etc/auto.master.d/
ls -la /etc/auto.master.d
итого 16
drwxr-xr-x 2 root root 23 авг 5 11:15 ./
drwxr-xr-x 125 root root 8192 авг 5 13:16 ../
-rw-r--r-- 1 root root 17 авг 5 11:15 sec.autofs
Логи журнала
automount[5669]: Starting automounter version 5.0.7, master map auto.master
авг 05 13:16:58 desktop automount[5669]: using kernel protocol version 5.02
авг 05 13:16:58 desktop automount[5669]: lookup_nss_read_master: reading master files auto.master
авг 05 13:16:58 desktop automount[5669]: parse_init: parse(sun): init gathered global options: (null)
авг 05 13:16:58 desktop automount[5669]: spawn_mount: mtab link detected, passing -n to mount
авг 05 13:16:58 desktop automount[5669]: spawn_umount: mtab link detected, passing -n to mount
авг 05 13:16:58 desktop automount[5669]: lookup_read_master: lookup(file): read entry +dir:/etc/auto.master.d
авг 05 13:16:58 desktop automount[5669]: lookup_nss_read_master: reading master dir /etc/auto.master.d
авг 05 13:16:58 desktop automount[5669]: lookup_read_master: lookup(dir): scandir: /etc/auto.master.d
авг 05 13:16:58 desktop automount[5669]: lookup_read_master: lookup(file): read entry +auto.master
авг 05 13:16:58 desktop automount[5669]: lookup_nss_read_master: reading master files auto.master
авг 05 13:16:58 desktop automount[5669]: parse_init: parse(sun): init gathered global options: (null)
авг 05 13:16:58 desktop automount[5669]: lookup(file): failed to read included master map auto.master
авг 05 13:16:58 desktop automount[5669]: no mounts in table
# cat /etc/autofs/auto.master
#
# 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
#
# NOTE: mounts done from a hosts map will be mounted with the
# "nosuid" and "nodev" options unless the "suid" and "dev"
# options are explicitly given.
#
#/net -hosts
#
# Include /etc/auto.master.d/*.autofs
#
+dir:/etc/auto.master.d
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
R6 autofs не читает содержимое /etc/auto.master.d
Re: R6 autofs не читает содержимое /etc/auto.master.d
/etc/auto.master.d/
сами создавали? Что-то у меня ее нету совсем.
сами создавали? Что-то у меня ее нету совсем.
Re: R6 autofs не читает содержимое /etc/auto.master.d
keleg писал(а):/etc/auto.master.d/
сами создавали? Что-то у меня ее нету совсем.
Да, эту директорию создавал сам.
Re: R6 autofs не читает содержимое /etc/auto.master.d
В тестинг отправлено обновление autofs. Теперь должно работать.
Re: R6 autofs не читает содержимое /etc/auto.master.d
После обновления заработало.
Спасибо Сергею.
Спасибо Сергею.