Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Strony: 1
Witam
Xfe4 przestał montować napędy wymienne. Jako że odpowiedzialny za to jest thunar-volman, zacząłem sprawdzanie od niego. Zgodnie z porada z thunar.xfce.org
:
Spróbuj uruchomić thunar-volman z okna Terminala po podłączeniu napędu lub włożeniu nośnika. Najpierw musisz poznać HALowe UDI nowego urządzenia używając lshal lub hal-device. Jeśli już znasz UDI, uruchom thunar-volman --device-added <udi-twojego-urządzenia> w oknie Terminala i obserwuj komunikaty wyjściowe szukając błędów i ostrzeżeń.[/quote]
wykonałemKod:
# lshali wynik jest taki:
Kod:
*** [DIE] lshal.c:dump_devices():285 : Couldn't obtain list of devicesz kolei
Kod:
# hal-devicezwraca:
Kod:
Empty HAL device list.Wygląda mi na to że hal w ogóle nie startuje.
Szukając dalej probowałem uruchomić hala nie jako demona:Kod:
/usr/sbin/hald --daemon=no --verbose=yesW wynikach moją uwagę zwróciła taka linia:
Kod:
[E] hald_dbus.c:5919: dbus_bus_request_name(): Connection ":1.314" is not allowed to own the service "org.freedesktop.Hal" due to security policies in the configuration file/etc/dbus-1/system.d/hal.conf:
Kod:
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> <busconfig> <!-- This configuration file specifies the required security policies for the HAL to work. --> <!-- Only root or user haldaemon can own the HAL service --> <policy user="haldaemon"> <allow own="org.freedesktop.Hal"/> </policy> <policy group="users"> <allow own="org.freedesktop.Hal"/> <!-- Allow anyone to invoke methods on the Manager and Device interfaces --> <policy context="default"> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.DBus.Introspectable"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.DBus.Properties" /> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Manager"/> </policy> <!-- Only allow users at the local console to manipulate devices, requires consolekit --> <policy at_console="true"> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.CPUFreq"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.DockStation"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.KillSwitch"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.KeyboardBacklight"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.LaptopPanel"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.Leds"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.LightSensor"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.Storage"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.Storage.Removable"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.Volume"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.WakeOnLan"/> </policy> <!-- Debian group policies --> <policy group="powerdev"> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.CPUFreq"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.DockStation"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.KillSwitch"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.KeyboardBacklight"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.LaptopPanel"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.Leds"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.LightSensor"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.WakeOnLan"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/> </policy> <policy group="plugdev"> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.Storage"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.Storage.Removable"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.Volume"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/> </policy> <!-- well,...and root too --> <policy user="root"> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.CPUFreq"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.DockStation"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.KillSwitch"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.KeyboardBacklight"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.LaptopPanel"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.Leds"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.LightSensor"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.Storage"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.Storage.Removable"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.Volume"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/> <allow send_destination="org.freedesktop.Hal" send_interface="org.freedesktop.Hal.Device.WakeOnLan"/> </policy> </busconfig>Na to co jest źle w tym configu juz zabrakło mi pomysłu.... albo szukam nie tam gdzie trzeba....
Użytkownik oczywiście jest w grupie plugdev.
EDIT:
proba uruchomienia hala w trybie "niedemonowym" jako zwykły user, daje wynik:-Kod:
tete@tete:~$ /usr/sbin/hald --daemon=no --verbose=yes 16:28:59.504 [i] hald.c:673: hal 0.5.14 16:28:59.504 [i] hald.c:674: using child timeout 250s 16:28:59.504 [i] hald.c:739: Will not daemonize 16:28:59.504 [i] hald_dbus.c:5444: local server is listening at unix:abstract=/var/run/hald/dbus-OwDTel7gSy,guid=58ea2b6f384d35e1e6aeec66000007de 16:28:59.510 [i] hald_runner.c:304: Runner has pid 7797 Runner started - allowed paths are '/usr/lib/hal:/usr/lib/hal/scripts:/usr/bin' 16:28:59.512 [i] hald_runner.c:184: runner connection is 0x891c940 16:28:59.512 [W] osspec.c:393: Unable to open /proc/mdstat: No such file or directory 16:28:59.513 [D] util_helper.c:126: drop_privileges: could not set group idOstatnio edytowany przez tete (2011-04-09 22:20:59)
Offline
Masz dysk chodzący w RAID'zie?
Offline
Wywal hala w diabły, a zainstaluj [url=http://packages.debian.org/wheezy/udisks]udisks[/url], - powinno gruntownie pomóc ;)
Jeżeli masz tą wersję:
$ equery b thunar-volman [ Searching for file(s) thunar-volman in *... ] xfce-extra/thunar-volman-0.6.0 (/usr/bin/thunar-volman) $ grep -i hal /usr/portage/xfce-extra/thunar-volman/thunar-volman-0.6.0.ebuild $
(to jest Gentoo), to ona żadnego hala nie wymaga. :D
To by było na tyle
;-)
Ostatnio edytowany przez Jacekalex (2011-04-09 19:11:32)
Offline
[quote=torrentow]Masz dysk chodzący w RAID'zie?[/quote]
Nie :)
[quote=Jacekalex]Wywal hala w diabły, a zainstaluj [url=http://packages.debian.org/wheezy/udisks]udisks[/url], - powinno gruntownie pomóc ;)[/quote]
Udisks mam ale na chwile obecna hal mi też potrzebny
[quote=Jacekalex]Jeżeli masz tą wersję:
$ equery b thunar-volman [ Searching for file(s) thunar-volman in *... ] xfce-extra/thunar-volman-0.6.0 (/usr/bin/thunar-volman) $ grep -i hal /usr/portage/xfce-extra/thunar-volman/thunar-volman-0.6.0.ebuild $
[/quote]
Mam standardowo z repo:
ii thunar-volman 0.3.80-5 Thunar
Okazało się że rozwiązania najprostsze są najskuteczniejsze. :> Porównałem hal.conf na blaszaku z tym z laptopa. Wystarczyło zmienić:
<policy group="users"> <allow own="org.freedesktop.Hal"/> </policy>
na:
<policy user="root"> <allow own="org.freedesktop.Hal"/> </policy>
po restarcie dbusa Thunar-volman montuje az miło, k3b nie pluje się że nie znalazło napędów itd :D
Ostatnio edytowany przez tete (2011-04-09 21:45:03)
Offline
Strony: 1
Time (s) | Query |
---|---|
0.00014 | SET CHARSET latin2 |
0.00005 | SET NAMES latin2 |
0.00125 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.218.108.24' WHERE u.id=1 |
0.00076 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.218.108.24', 1732783386) |
0.00062 | SELECT * FROM punbb_online WHERE logged<1732783086 |
0.00060 | DELETE FROM punbb_online WHERE ident='3.147.36.106' |
0.00067 | DELETE FROM punbb_online WHERE ident='57.141.0.5' |
0.00071 | DELETE FROM punbb_online WHERE ident='85.208.96.208' |
0.00075 | SELECT topic_id FROM punbb_posts WHERE id=170502 |
0.00007 | SELECT id FROM punbb_posts WHERE topic_id=18758 ORDER BY posted |
0.00054 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=18758 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00126 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=18758 ORDER BY p.id LIMIT 0,25 |
0.00096 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=18758 |
Total query time: 0.00843 s |