Обновил/выложил сборку xfce-sysv по просьбе одного человека:
http://nightly.altlinux.org/p8/beta/basealt-p8-xfce-sysv-20160812-x86_64.iso
http://nightly.altlinux.org/p8/beta/basealt-p8-xfce-sysv-20160812-i586.iso
У меня при запуске жалуется на что-то про polkit agent, имейте в виду. Ну и #31501 всё так же пока на месте.
Ошибка в Сизифе и p8/branch найдена?
Положил i586 на флешку. Посмотрел лайвом.
Ошибка одна и та же, что в сизифном, что в этом на базе p8:
- При подключении к usb-порту устройств подключаемых в другое место (терминология udisks2), устройства в thunar не обнаруживаются, хотя 'fdisk -l' их видит.
- В вызванном из Xfce4-меню окне xfce4-sesson-logout все опции кроме опции Выйти, заблокированы и неактивны, - затенены.
Т.е. как минимум в этих двух случаях не отрабатываются рулезы 60-* polkit:
# ls /etc/polkit-1/rules.d/
50-default.rules 60-sysvinit-mount.rules 60-xfsm-shutdown-helper.rules
60-sysvinit-console-kit.rules 60-sysvinit-nm.rules
Смотрел долго. До отупения.
И.., не увидел в загруженном лайве процесса:
$ ps -eo pid,user,s,cmd|grep polkit|grep -v grep
1911 polkitd S /usr/libexec/polkit-1/polkitd --no-debug
Т.е. демон не поднялся.
Подозреваю что именно из-за этого опции которые разрешаются рулезами и заблокированы:
man polkitd
DESCRIPTION
polkitd provides the org.freedesktop.PolicyKit1 D-Bus service on the system message
bus. Users or administrators should never need to start this daemon as it will be
automatically started by dbus-daemon(1) or systemd(1) whenever an application calls
into the service.
polkitd must be started with superuser privileges but drops privileges early by
switching to the unprivileged polkitd system user.
See the polkit(8) man page for more information.
man polkit
AUTHORIZATION RULES
polkitd reads .rules files from the /etc/polkit-1/rules.d and
/usr/share/polkit-1/rules.d directories by sorting the files in lexical order based on
the basename on each file (if there's a tie, files in /etc are processed before files
in /usr). For example, for the following four files, the order is
Т.е. нет демона polkitd в процессах - нет и рулезов.
+-------------------+
| Authentication |
| Agent |
+-------------------+
| libpolkit-agent-1 |
+-------------------+
^ +---------+
| | Subject |
+--------------+ +---------+
| ^
| |
User Session | |
=======================|========================|=============
System Context | |
| |
| +---+
V |
/------------\ |
| System Bus | |
\------------/ |
^ ^ V
| | +---------------------+
+--------------+ | | Mechanism |
| | +---------------------+
V +----> | libpolkit-gobject-1 |
+------------------+ +---------------------+
| polkitd(8) |
+------------------+
| org.freedesktop. |
| PolicyKit1 |<---------+
+------------------+ |
^ |
| +--------------------------------------+
| | /usr/share/polkit-1/actions/*.policy |
| +--------------------------------------+
|
+--------------------------------------+
| /etc/polkit-1/rules.d/*.rules |
| /usr/share/polkit-1/rules.d/*.rules |
+--------------------------------------+
Похоже что пересекается с этим багом:
Ошибка 32364 - апгрейд, xfce4-sesson-logout, жуткие тормоза и слом опций
https://bugzilla.altlinux.org/show_bug.cgi?id=32364Дополнил.Упс-с...
dbus-демон не смог поднять демон polkitd:
# grep 'Aug 14 01' /run/media/user/alt-live-storage/var/log/auth/messages
Aug 14 01:04:23 localhost dbus[9306]: [system] Failed to activate service 'org.freedesktop.PolicyKit1': timed out
Aug 14 01:04:48 localhost dbus[9306]: [system] Failed to activate service 'org.freedesktop.PolicyKit1': timed out
Aug 14 01:05:13 localhost dbus[9306]: [system] Failed to activate service 'org.freedesktop.UPower': timed out
# mount /dev/sdb1 /mnt/disk1 -o loop
mount: /dev/loop0 is write-protected, mounting read-only
# mount /mnt/disk1/live /mnt/disk2/ -o loop
# cat /mnt/disk2/etc/altlinux-release
ALT Linux starter kit (Hypericum)
# grep '^rpm' /mnt/disk2/etc/apt/sources.list.d/alt.list
rpm [p8] http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/i586 classic
rpm [p8] http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/noarch classic
classic
# find /mnt/disk2/usr/ -name "*org.freedesktop.PolicyKit1*"
/mnt/disk2/usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service
# cat /mnt/disk2/usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service
[D-BUS Service]
Name=org.freedesktop.PolicyKit1
Exec=/usr/libexec/polkit-1/polkitd --no-debug
User=root
SystemdService=polkit.service
# groups
root bin daemon sys adm disk wheel proc