На самом деле вопрос сложней, чем в теме.
Есть два пользователя:
rukovod
user
Сервер по nfs раздает им по /home'у каждому.(ldap,nfs,autofs) По сути в exports стоит /home, а autofs уже разбирается что именно монтировать кому.
Однако rukovod хочет, чтобы он видел /home user'а и ещё одну его папку отдельно.
в итоге, на рабочем столе создана папка Офис, в ней лежат:
Символическая ссылка на /home/user/Общедоступные - всё прекрасно работает, при обращении к home/user тут же монтируется эта папка и rukovod может с ней работать, права на все файлы в ней принадлежат user.
Символическая ссылка на /home/user - вот так просто. Здесь возникает проблема. Как только я создаю такую символическую ссылку командой:
ln -s /home/user /home/rokovod/Рабочий\ стол/Офис/user
Вход пользователя user в систему жутко медленный. Но ладно бы вход - можно смириться, но и выход из системы. Буквально - нажимаешь завершение сеанса и ждешь больше 30 секунд, выглядит будто система не отреагировала на нажатие, но потом выходит. При этом всё остальное хорошо работает.
Вход rukovod абсолютно нормальный.
Других глюков не замечано.
Не зависит от того, заходил ли rukovod после включения компьютера первым или вообще не заходил.
Система xubuntu 12.04.
(Кстати, только что заметил, что справка в из меню говорит Welcome to Xubuntu 11.10, хотя система стоит 12.04:))
Почему же оно тормозит?
Предполагаю, что время тормоза зависит от времени таймаута, установленного в autofs для mount'а - 60 секунд. Но тогда интересно с чего же он глючит-то всё-таки.
Пользователь решил продолжить мысль 02 Ноября 2012, 09:45:28:
xsession-errors у user'a выглядит опасно,
зашел под user, нажал заблокировать экран, увидел черный экран и надпись couldn't что-то там pointer, потом нажал esc появилось окно с огнем и меню ввода логин-пароля. Нажал new login - не работает просто, ввел пароль, вренулся в сессию, нажал выйти из сеанса, долго ждал, вышел, лог:
cat /home/poguliaev/.xsession-errors
openConnection: connect: Нет такого файла или каталога
cannot connect to brltty at :0
(polkit-gnome-authentication-agent-1:4173): GLib-CRITICAL **: g_variant_new_string: assertion `string != NULL' failed
(polkit-gnome-authentication-agent-1:4173): polkit-gnome-1-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-ZGdaI0/pkcs11: Нет такого файла или каталога
** Message: applet now removed from the notification area
** Message: using fallback from indicator to GtkStatusIcon
** Message: applet now embedded in the notification area
(xfce4-indicator-plugin:4228): libindicator-WARNING **: IndicatorObject class does not have an accessible description.
(xfce4-indicator-plugin:4228): libindicator-WARNING **: IndicatorObject class does not have an accessible description.
** Message: moving back from GtkStatusIcon to indicator
** Message: applet now removed from the notification area
(xfce4-indicator-plugin:4228): Gtk-CRITICAL **: IA__gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
xfsettingsd: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.
(polkit-gnome-authentication-agent-1:4173): Gdk-WARNING **: polkit-gnome-authentication-agent-1: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
xfce4-settings-helper: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
(update-notifier:4196): Gdk-WARNING **: update-notifier: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
blueman-applet: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
(nm-applet:4200): Gdk-WARNING **: nm-applet: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
applet.py: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
xfce4-xkb-plugin: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
openConnection: connect: Нет такого файла или каталога
cannot connect to brltty at :0
/usr/bin/iceauth: timeout in locking authority file /home/poguliaev/.ICEauthority
** (xfce4-session:5609): WARNING **: Failed to setup the ICE authentication data, session management might not work properly.
(polkit-gnome-authentication-agent-1:5630): GLib-CRITICAL **: g_variant_new_string: assertion `string != NULL' failed
(polkit-gnome-authentication-agent-1:5630): polkit-gnome-1-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
Home directory /home/poguliaev not ours.
(xfce4-panel:5622): GLib-WARNING **: (/build/buildd/glib2.0-2.32.3/./glib/gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
xfce4-panel: Failed to connect to session manager: Не удалось подключиться к менеджеру сеансов: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
** (xfce4-session:5609): WARNING **: ICE connection 0xb8371938 rejected
(xfdesktop:5626): GLib-WARNING **: (/build/buildd/glib2.0-2.32.3/./glib/gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
Failed to connect to session manager: Не удалось подключиться к менеджеру сеансов: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
** (xfce4-session:5609): WARNING **: ICE connection 0xb8371938 rejected
** (xfce4-session:5609): WARNING **: ICE connection 0xb8371938 rejected
(xfce4-settings-helper:5628): GLib-WARNING **: (/build/buildd/glib2.0-2.32.3/./glib/gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
Failed to connect to session manager: Не удалось подключиться к менеджеру сеансов: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
Ошибка подключения: Отказ в подключении
pa_context_connect() не удалось: Отказ в подключении
** (xfce4-session:5609): WARNING **: ICE connection 0xb8371938 rejected
** (xfce4-session:5609): WARNING **: ICE connection 0xb8371938 rejected
** (xfce4-session:5609): WARNING **: ICE connection 0xb8371938 rejected
(xfwm4:5619): GLib-WARNING **: (/build/buildd/glib2.0-2.32.3/./glib/gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
(xfwm4:5619): xfwm4-WARNING **: Failed to connect to session manager: Не удалось подключиться к менеджеру сеансов: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
** Message: applet now removed from the notification area
** Message: applet now embedded in the notification area
** Message: applet now removed from the notification area
(xfce4-indicator-plugin:5684): libindicator-WARNING **: IndicatorObject class does not have an accessible description.
(xfce4-indicator-plugin:5684): libindicator-WARNING **: IndicatorObject class does not have an accessible description.
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-HY5GZ8/pkcs11: Нет такого файла или каталога
(xfce4-indicator-plugin:5684): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed
(xfce4-indicator-plugin:5684): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
(xfce4-indicator-plugin:5684): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed
(xfce4-indicator-plugin:5684): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
(xfce4-indicator-plugin:5684): GLib-CRITICAL **: g_variant_get_double: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_DOUBLE)' failed
(xfce4-indicator-plugin:5684): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed
(xfce4-indicator-plugin:5684): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
(xfce4-indicator-plugin:5684): GLib-CRITICAL **: g_variant_get_boolean: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN)' failed
(xfce4-indicator-plugin:5684): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed
(xfce4-indicator-plugin:5684): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
(xfce4-indicator-plugin:5684): GLib-CRITICAL **: g_variant_get_double: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_DOUBLE)' failed
(xfce4-indicator-plugin:5684): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed
(xfce4-indicator-plugin:5684): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
(xfce4-indicator-plugin:5684): GLib-CRITICAL **: g_variant_get_double: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_DOUBLE)' failed
(xfce4-indicator-plugin:5684): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed
(xfce4-indicator-plugin:5684): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
(xfce4-indicator-plugin:5684): GLib-CRITICAL **: g_variant_get_int32: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_INT32)' failed
(xfce4-indicator-plugin:5684): Gtk-CRITICAL **: IA__gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
Home directory /home/poguliaev not ours.
/usr/bin/iceauth: timeout in locking authority file /home/poguliaev/.ICEauthority
** (xfce4-session:5609): WARNING **: Failed to execute "/usr/bin/iceauth source /tmp/.xfsm-ICE-NZI5MW"
xfsettingsd: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.
xfwm4: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
Thunar: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
xfdesktop: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
wrapper: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
blueman-applet: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
xfce4-indicator-plugin: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
xfce4-xkb-plugin: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
wrapper: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
wrapper: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
wrapper: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
(update-notifier:5643): Gdk-WARNING **: update-notifier: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
(nm-applet:5656): Gdk-WARNING **: nm-applet: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
applet.py: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
openConnection: connect: Нет такого файла или каталога
cannot connect to brltty at :0
/usr/bin/iceauth: timeout in locking authority file /home/poguliaev/.ICEauthority
** (xfce4-session:8822): WARNING **: Failed to setup the ICE authentication data, session management might not work properly.
(polkit-gnome-authentication-agent-1:8840): GLib-CRITICAL **: g_variant_new_string: assertion `string != NULL' failed
(polkit-gnome-authentication-agent-1:8840): polkit-gnome-1-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
Home directory /home/poguliaev not ours.
Ошибка подключения: Отказ в подключении
pa_context_connect() не удалось: Отказ в подключении
(xfdesktop:8836): GLib-WARNING **: (/build/buildd/glib2.0-2.32.3/./glib/gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
Failed to connect to session manager: Не удалось подключиться к менеджеру сеансов: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
** (xfce4-session:8822): WARNING **: ICE connection 0xb8035f40 rejected
(xfce4-panel:8831): GLib-WARNING **: (/build/buildd/glib2.0-2.32.3/./glib/gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
xfce4-panel: Failed to connect to session manager: Не удалось подключиться к менеджеру сеансов: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
** (xfce4-session:8822): WARNING **: ICE connection 0xb80365e8 rejected
(xfce4-settings-helper:8838): GLib-WARNING **: (/build/buildd/glib2.0-2.32.3/./glib/gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
Failed to connect to session manager: Не удалось подключиться к менеджеру сеансов: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
** (xfce4-session:8822): WARNING **: ICE connection 0xb8022938 rejected
** (xfce4-session:8822): WARNING **: ICE connection 0xb8035f40 rejected
** (xfce4-session:8822): WARNING **: ICE connection 0xb80365e8 rejected
(xfwm4:8829): GLib-WARNING **: (/build/buildd/glib2.0-2.32.3/./glib/gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
(xfwm4:8829): xfwm4-WARNING **: Failed to connect to session manager: Не удалось подключиться к менеджеру сеансов: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
** (xfce4-session:8822): WARNING **: ICE connection 0xb8022938 rejected
** Message: applet now removed from the notification area
** Message: using fallback from indicator to GtkStatusIcon
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-7dQXxd/pkcs11: Нет такого файла или каталога
** Message: applet now embedded in the notification area
(xfce4-indicator-plugin:8893): libindicator-WARNING **: IndicatorObject class does not have an accessible description.
(xfce4-indicator-plugin:8893): libindicator-WARNING **: IndicatorObject class does not have an accessible description.
** Message: moving back from GtkStatusIcon to indicator
** Message: applet now removed from the notification area
(xfce4-indicator-plugin:8893): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed
(xfce4-indicator-plugin:8893): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
(xfce4-indicator-plugin:8893): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed
(xfce4-indicator-plugin:8893): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
(xfce4-indicator-plugin:8893): GLib-CRITICAL **: g_variant_get_double: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_DOUBLE)' failed
(xfce4-indicator-plugin:8893): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed
(xfce4-indicator-plugin:8893): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
(xfce4-indicator-plugin:8893): GLib-CRITICAL **: g_variant_get_boolean: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN)' failed
(xfce4-indicator-plugin:8893): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed
(xfce4-indicator-plugin:8893): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
(xfce4-indicator-plugin:8893): GLib-CRITICAL **: g_variant_get_double: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_DOUBLE)' failed
(xfce4-indicator-plugin:8893): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed
(xfce4-indicator-plugin:8893): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
(xfce4-indicator-plugin:8893): GLib-CRITICAL **: g_variant_get_double: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_DOUBLE)' failed
(xfce4-indicator-plugin:8893): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed
(xfce4-indicator-plugin:8893): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed
(xfce4-indicator-plugin:8893): GLib-CRITICAL **: g_variant_get_int32: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_INT32)' failed
(xfce4-indicator-plugin:8893): Gtk-CRITICAL **: IA__gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed
Home directory /home/poguliaev not ours.
/usr/bin/iceauth: timeout in locking authority file /home/poguliaev/.ICEauthority
** (xfce4-session:8822): WARNING **: Failed to execute "/usr/bin/iceauth source /tmp/.xfsm-ICE-R7A3MW"
xfsettingsd: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.
xfwm4: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
xfdesktop: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
Thunar: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
(update-notifier:8862): Gdk-WARNING **: update-notifier: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
(nm-applet:8867): Gdk-WARNING **: nm-applet: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
blueman-applet: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
xfce4-indicator-plugin: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
wrapper: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
wrapper: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
xfce4-xkb-plugin: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
wrapper: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
applet.py: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.
wrapper: Fatal IO error 11 (Ресурс временно недоступен) on X server :1.0.