aluzzardi / pam_usb

Hardware authentication for Linux using ordinary USB Flash Drives.
GNU General Public License v2.0
152 stars 82 forks source link

An error occurs when pamusb-conf are executed in centos8 and ubuntu18.04 #52

Open likunyur opened 1 year ago

likunyur commented 1 year ago

In these two systems, execute "pamusb conf --add device=MyDevice", and the prompt is as follows:

Traceback (most recent call last): File "/usr/bin/pamusb-conf", line 264, in '/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

At present, I try to solve the problem of "org. freedesktop. UDisks", but there is no good method,I hope to seek help here to solve this problem.

thanks.

galliotxy commented 1 year ago

    您好,您的邮件已经收到。我会尽快查收的~