LINUX.ORG.RU

Автоматическое монтирование в Gnome


0

0

Всем привет!

Не получается автоматически монтировать разделы в Gnome. При подключении флешки и перехода на неё, выдаёт ошибку:

Ошибка org.freedesktop.DBus.Error.AccessDenied

A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")

На сколько я понимаю, что-то с Hal'ом.

PolicyKit-gnome-0.9 вставать отказывается, пишет:

No package 'polkit-dbus' found

Скачал и проинсталлил dbus под слаку, но не помогло =(

Так же поставил gnome-device-manager-0.2, gnome-mount-0.8 и ivman-0.6.14
нифига не работает

/etc/dbus-1/system.conf:

<!-- This configuration file controls the systemwide message bus.
Add a system-local.conf and edit that rather than changing this
file directly. -->

<!-- Note that there are any number of ways you can hose yourself
security-wise by screwing up this file; in particular, you
probably don't want to listen on any more addresses, add any more
auth mechanisms, run as a different user, etc. -->

<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">;
<busconfig>

<!-- Our well-known bus type, do not change this -->
<type>system</type>

<!-- Run as special user -->
<user>messagebus</user>

<!-- Fork into daemon mode -->
<fork/>

<!-- We use system service launching using a helper -->
<standard_system_servicedirs/>

<!-- This is a setuid helper that is used to launch system services -->
<servicehelper>/usr/libexec/dbus-daemon-launch-helper</servicehelper>

<!-- Write a pid file -->
<pidfile>/var/run/dbus/dbus.pid</pidfile>

<!-- Only allow socket-credentials-based authentication -->
<auth>EXTERNAL</auth>

<!-- Only listen on a local socket. (abstract=/path/to/socket
means use abstract namespace, don't really create filesystem
file; only Linux supports this. Use path=/whatever on other
systems.) -->
<listen>unix:path=/var/run/dbus/system_bus_socket</listen>

<policy context="default">
<!-- Deny everything then punch holes -->
<deny send_interface="*"/>
<deny receive_interface="*"/>
<deny own="*"/>
<!-- But allow all users to connect -->
<allow user="*"/>
<!-- Allow anyone to talk to the message bus -->
<!-- FIXME I think currently these allow rules are always implicit
even if they aren't in here -->
<allow send_destination="org.freedesktop.DBus"/>
<allow receive_sender="org.freedesktop.DBus"/>
<!-- valid replies are always allowed -->
<allow send_requested_reply="true"/>
<allow receive_requested_reply="true"/>
</policy>

<!-- Config files are placed here that among other things, punch
holes in the above policy for specific services. -->
<includedir>system.d</includedir>

<!-- This is included last so local configuration can override what's
in this standard file -->
<include ignore_missing="yes">system-local.conf</include>

<include if_selinux_enabled="yes" selinux_root_relative="yes">contexts/dbus_contexts</include>

</busconfig>

★★

Ответ на: комментарий от sdio

Вот именно по этой причине у топикстартера эти грабли... неоффициальные билды... да того гляди ещё и не все депенденсы установил, а теперь будет играть в шерлока, и искать, чтоже надо ещё доустановить, да что же ещё надо донастроить... вообщем класический ССЗБ :)

Cy6erBr4in ★★★
()
Ответ на: комментарий от Cy6erBr4in

Кибер, в слаке по-любому приходится играть в Шерлока и Пуаро вместе взятых - там апт "искаропки" нет. :)

И чего люди только не делают, чтобы не использовать Дебиан!

hibou ★★★★★
()

И после этого кто-то еще будет говорить, что в слаке все просто и понятно? ню-ню.

h8 ★★★
()
Ответ на: комментарий от Cy6erBr4in

А по теме кто-нибудь может что-нибудь сказать?
Гном брал с gnomeslackbuild.org

кстати, и в KDE автомонтирование не пашет

SaBo ★★
() автор топика
Ответ на: комментарий от SaBo

> Ошибка org.freedesktop.DBus.Error.AccessDenied

Как бы может прав недостаточно? Кстати, в Слаке SE есть? Может оно ограничивает монтирование?

Irben ★★★
()

#chmod -x /etc/rc.d/rc.hald #usermod -G plugdev (user name) #/etc/rc.d/rc.messagebus reload #usermod -G plugdev (user name)

mesanei
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.