R6 autofs не читает содержимое /etc/auto.master.d

Ответить
salvador
Сообщения: 3
Зарегистрирован: 05 авг 2015, 13:20
Operating system: ROSA R6

R6 autofs не читает содержимое /etc/auto.master.d

Сообщение salvador » 05 авг 2015, 13:33

Добрый день!

Установил чистую 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

keleg
Сообщения: 5518
Зарегистрирован: 15 сен 2011, 01:58

Re: R6 autofs не читает содержимое /etc/auto.master.d

Сообщение keleg » 06 авг 2015, 07:25

/etc/auto.master.d/
сами создавали? Что-то у меня ее нету совсем.

salvador
Сообщения: 3
Зарегистрирован: 05 авг 2015, 13:20
Operating system: ROSA R6

Re: R6 autofs не читает содержимое /etc/auto.master.d

Сообщение salvador » 06 авг 2015, 07:39

keleg писал(а):/etc/auto.master.d/
сами создавали? Что-то у меня ее нету совсем.

Да, эту директорию создавал сам.

keleg
Сообщения: 5518
Зарегистрирован: 15 сен 2011, 01:58

Re: R6 autofs не читает содержимое /etc/auto.master.d

Сообщение keleg » 14 авг 2015, 04:06

В тестинг отправлено обновление autofs. Теперь должно работать.

salvador
Сообщения: 3
Зарегистрирован: 05 авг 2015, 13:20
Operating system: ROSA R6

Re: R6 autofs не читает содержимое /etc/auto.master.d

Сообщение salvador » 20 авг 2015, 11:52

После обновления заработало.
Спасибо Сергею.

Ответить

Вернуться в «Обсуждение ROSA Fresh R4 - R8 (платформа 2014.1)»