udisksctl doesn't accept absolute object-paths
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udisks |
Confirmed
|
Medium
|
|||
udisks2 (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
If I issue "udisksctl dump" and then issue "udisksctl info" for one of the objects in the dump, I get an error message. For instance:
$ udisksctl info --object-path /org/freedeskto
(udisksctl info:4995): GLib-GIO-CRITICAL **: g_dbus_
Error looking up object with path /org/freedeskto
This is confusing.
It turns out that object paths must be relative to /org/freedeskto
$ udisksctl info --object-path drives/
/org/freedeskto
org.freedeskt
[snip]
I don't know if this is a bug in the executable or in the man page. In either case, I suggest it would be very helpful to state in udisksctl(1) that relative object paths must/can (whichever it is) be used.
Changed in udisks: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Thanks, that should probably be reported upstream on https:/ /bugs.freedeskt op.org/ enter_bug. cgi?product= udisks