Ubuntu is missing /dev/infiniband/rdma_cm group ownership udev rule
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Fix Released
|
Undecided
|
Scott James Remnant (Canonical) |
Bug Description
The Debian version of udev ships with the rule
KERNEL=
in /etc/udev/
crw-rw---- 1 root rdma 10, 60 2008-08-08 14:39 /dev/infiniband
That is, the rdma_cm file is owned by group rdma, which means that ordinary users can be given permission to use the RDMA CM by adding them to the group "rdma". (The rdma_ucm kernel driver is designed so that this file is safe for ordinary users to access)
Ubuntu does not include this group ownership rule, due to a different policy about what rules are shipped as part of the udev package; the policy is that the group ownership rule should be in the package that uses the file, in this case librdmacm1.
This means that on Ubuntu systems, the device files end up as
crw-rw---- 1 root root 10, 59 2008-08-08 14:33 rdma_cm
and only root can use the RDMA CM.
Here is a debdiff that bumps the version to -ubuntu1 and adds a librdmacm1.udev file with the required udev rule. It would be great if this could be integrated into the Ubuntu package