Сегодня я заметил это каждый раз, когда я пытаюсь войти как гость, зависания системы. Это происходит в обоих случаях - когда я пытаюсь войти в систему как гость на экране входа в систему и когда я нажимаю пункт меню верхнего правого угла "Guest session".
Могло бы быть важно, чтобы у меня недавно была большая проблема с обновлением от 14,04 до 15,04 - система была абсолютно недоступна, и я был вынужден использовать живой USB и процедуру восстановления, описанную здесь: https://help.ubuntu.com/community/LiveCdRecovery, чтобы заставить систему запуститься снова.
Какова могла быть проблема здесь?
Править: Я заметил, что попытка войти в систему как гость производит это в системном журнале:
Jan 3 15:52:59 marek-GA-990XA-UD3 systemd[1888]: Starting Default.
Jan 3 15:52:59 marek-GA-990XA-UD3 systemd[1]: Started User Manager for UID 132.
Jan 3 15:52:59 marek-GA-990XA-UD3 kernel: [ 17.985371] audit_printk_skb: 39 callbacks suppressed
Jan 3 15:52:59 marek-GA-990XA-UD3 kernel: [ 17.985374] audit: type=1400 audit(1451832779.452:25): apparmor="DENIED" operation="create" profile="/usr/lib/lightdm/lightdm-guest-session" pid=1897 comm="xrdb" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create" addr=none
Jan 3 15:52:59 marek-GA-990XA-UD3 kernel: [ 17.998050] audit: type=1400 audit(1451832779.464:26): apparmor="DENIED" operation="create" profile="/usr/lib/lightdm/lightdm-guest-session" pid=1912 comm="id" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create" addr=none
Jan 3 15:52:59 marek-GA-990XA-UD3 kernel: [ 17.998057] audit: type=1400 audit(1451832779.464:27): apparmor="DENIED" operation="create" profile="/usr/lib/lightdm/lightdm-guest-session" pid=1912 comm="id" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create" addr=none
Jan 3 15:52:59 marek-GA-990XA-UD3 kernel: [ 17.999409] audit: type=1400 audit(1451832779.464:28): apparmor="DENIED" operation="create" profile="/usr/lib/lightdm/lightdm-guest-session" pid=1913 comm="xhost" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create" addr=none
Jan 3 15:52:59 marek-GA-990XA-UD3 kernel: [ 18.003125] audit: type=1400 audit(1451832779.468:29): apparmor="DENIED" operation="create" profile="/usr/lib/lightdm/lightdm-guest-session" pid=1916 comm="unity_support_t" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create" addr=none
Jan 3 15:52:59 marek-GA-990XA-UD3 kernel: [ 18.007685] audit: type=1400 audit(1451832779.472:30): apparmor="DENIED" operation="create" profile="/usr/lib/lightdm/lightdm-guest-session" pid=1921 comm="id" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create" addr=none
Jan 3 15:52:59 marek-GA-990XA-UD3 kernel: [ 18.007693] audit: type=1400 audit(1451832779.472:31): apparmor="DENIED" operation="create" profile="/usr/lib/lightdm/lightdm-guest-session" pid=1921 comm="id" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create" addr=none
Jan 3 15:52:59 marek-GA-990XA-UD3 kernel: [ 18.009047] audit: type=1400 audit(1451832779.476:32): apparmor="DENIED" operation="create" profile="/usr/lib/lightdm/lightdm-guest-session" pid=1922 comm="xhost" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create" addr=none
Jan 3 15:52:59 marek-GA-990XA-UD3 kernel: [ 18.013074] audit: type=1400 audit(1451832779.480:33): apparmor="DENIED" operation="create" profile="/usr/lib/lightdm/lightdm-guest-session" pid=1927 comm="xdg-user-dirs-u" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create" addr=none
Jan 3 15:52:59 marek-GA-990XA-UD3 kernel: [ 18.013081] audit: type=1400 audit(1451832779.480:34): apparmor="DENIED" operation="create" profile="/usr/lib/lightdm/lightdm-guest-session" pid=1927 comm="xdg-user-dirs-u" family="unix" sock_type="stream" protocol=0 requested_mask="create" denied_mask="create" addr=none
Скорее всего, lightdm-guest-session файл в
/etc/apparmor.d
был поврежден или был удален. Должен быть файл нынешний названный lightdm-guest-session без расширения и со следующей внутренней частью:
# vim:syntax=apparmor
# Profile for restricting lightdm guest session
#include <tunables/global>
/usr/lib/lightdm/lightdm-guest-session {
# Most applications are confined via the main abstraction
#include <abstractions/lightdm>
# chromium-browser needs special confinement due to its sandboxing
#include <abstractions/lightdm_chromium-browser> }
строки с #include не являются комментариями, но необходимый!