Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
likunyur opened this issue Jan 9, 2023 · 1 comment

Comments

@likunyur
Copy link

likunyur commented Jan 9, 2023

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
Copy link

galliotxy commented Jan 9, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants