* [sisyphus] pam_usb
@ 2013-04-28 12:38 andriy
0 siblings, 0 replies; only message in thread
From: andriy @ 2013-04-28 12:38 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
Установил, но
[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. Как сделать правильно?
Спасибо за ответ.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-04-28 12:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-28 12:38 [sisyphus] pam_usb andriy
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git