[Comm] [SOLVED] hal задурил

Michael Shigorin mike на osdn.org.ua
Чт Дек 23 12:55:27 UTC 2010


	Здравствуйте.
Спросили с таким: пришлось отодвинуть ~/.kde (KDE 3.5.10)
в сторонку, после чего было замечено, что при вставлении
флэшки вылазит окошко с сообщением:

org.freedesktop.hal.storage.mount-removable no <-- (action, result)

на чём реакция и заканчивается.

Полечилось добавлением "да, можно" в /etc/PolicyKit/PolicyKit.conf:

---
<config version="0.1">

<match action="org.freedesktop.hal.storage.mount-removable">
  <match user="Put user account name here">
    <return result="yes"/>
  </match>
</match>

<match action="org.freedesktop.hal.storage.mount-fixed">
  <match user="Put user account name here">
    <return result="yes"/>
  </match>
</match>

</config>
--- http://foo-projects.org/pipermail/lunar/2008-August/008081.html

и service haldaemon restart, но осталось непонятым понятным,
с чего вылезло-то (вникать ввиду устарелости hal неохота).

См. тж. https://wiki.archlinux.org/index.php/HAL#USB_sticks_and_drives_do_not_automount_correctly

-- 
 ---- WBR, Michael Shigorin <mike на altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


Подробная информация о списке рассылки community