Skip to content

Handle change in path for udisks2-inhibit executable

For GNU/Linux distros that have the executable udisks2-inhibit, the location changed from:
with udisks2 version 2.9.2 2.8.4-2.

Following are the udisks2 versions and locations for the udisks2-inhibit executable for some currently supported distros.

Distro udisks2 Version Path to udisks2-inhibit
Debian 9 2.1.8-1 /usr/lib/udisks2/
Debian 10 2.8.1-4 /usr/lib/udisks2/
Debian SID 2.9.2-2 /usr/lib/udisks2/ (symlink) AND /usr/libexec/udisks2/
Fedora 33 2.9.1-2.fc33 NO udisks2-inhibit
Fedora 34 2.9.2-2.fc34 NO udisks2-inhibit
openSUSE 15.2 2.8.1-lp152.1.4 NO udisks2-inhibit
Ubuntu 18.04 2.7.6-3ubuntu0.2 /usr/lib/udisks2/
Ubuntu 20.04 2.8.4-1ubuntu1 /usr/lib/udisks2/
Ubuntu 20.10 2.9.1-2ubuntu1 /usr/lib/udisks2/ (symlink) AND /usr/lib/udisks2/
Ubuntu 21.04 2.9.2-1 /usr/lib/udisks2/ (symlink) AND /usr/libexec/udisks2/

EDIT 2021-05-30: Added symlink notes into table.

Edited by Curtis Gedak

Merge request reports