[sisyphus] pam_usb
andriy
l.andriy на gmail.com
Вс Апр 28 16:38:58 MSK 2013
Установил, но
[root на andriy system-services]#pamusb-conf --verbose --add-device=Andriy
Traceback (most recent call last):
File "/usr/bin/pamusb-conf", line 252, in <module>
'/org/freedesktop/UDisks')
File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 241, in
get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 248,
in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 180, in
activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 278, in
start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line
651, in call_blocking
message, timeout)
dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.ServiceUnknown: The name
org.freedesktop.UDisks was not provided by any .service files
пробовал делать так
cp /usr/share/dbus-1/system-services/org.freedesktop.UDisks2.service
/usr/share/dbus-1/system-services/org.freedesktop.UDisks.service
а также менял:
[root на andriy system-services]# cat org.freedesktop.UDisks.service
[D-BUS Service]
Name=org.freedesktop.UDisks
Exec=/usr/libexec/udisks2/udisksd --no-debug
User=root
SystemdService=udisks2.service
и при:
[root на andriy system-services]#pamusb-conf --verbose --add-device=Andriy
получал:
Traceback (most recent call last):
File "/usr/bin/pamusb-conf", line 252, in <module>
'/org/freedesktop/UDisks')
File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 241, in
get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib64/python2.7/site-packages/dbus/proxies.py", line 248,
in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 180, in
activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib64/python2.7/site-packages/dbus/bus.py", line 278, in
start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib64/python2.7/site-packages/dbus/connection.py", line
651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.TimedOut:
Activation of org.freedesktop.UDisks timed out
Как понимаю оно использует udisks, а неudisks2. Как сделать правильно?
Спасибо за ответ.
Подробная информация о списке рассылки Sisyphus