Please add udev rules for InfiniBand/RDMA device nodes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Fix Released
|
Wishlist
|
Scott James Remnant (Canonical) |
Bug Description
Binary package hint: udev
There are InfiniBand/RDMA driver modules shipped with the Ubuntu kernel (ib_uverbs, ib_umad, ib_ucm, rdma_ucm at least) that create device nodes in /dev. Userspace (eg libibverbs1, in Ubuntu universe) expects these nodes to be in /dev/infiniband, and it works better if some of them are owned by group "rdma" (which libibverbs1 will create in its postinst script).
Debian's udev ships with rules to do this by default (although a couple of rules are still pending in Debian bug #427993). Please include similar rules in Ubuntu's udev, such as:
KERNEL=="umad*", NAME="infiniban
KERNEL=="issm*", NAME="infiniban
KERNEL=="uverbs*", NAME="infiniban
KERNEL=="ucm*", NAME="infiniban
KERNEL=="rdma_ucm", NAME="infiniban
and permission rules such as:
KERNEL=="uverbs*", GROUP="rdma"
KERNEL=="ucm*", GROUP="rdma"
KERNEL=="rdma_ucm", GROUP="rdma"
Adding the following rules:
KERNEL= ="umad[ 0-9]*", NAME="infiniban d/%k" ="issm[ 0-9]*, NAME="infiniban d/%k" ="uverbs[ 0-9]*, NAME="infiniban d/%k"
KERNEL=
KERNEL=
Neither the ucm or rdma_ucm are mentioned in devices.txt; they need to appear there before we add rules for them.
Permission rules need to be in libibverbs1, since it creates the group.