[Bug 218500] [NEW] Ubuntu is missing /dev/infiniband/uverbs* group ownership udev rule

Roland Dreier roland at digitalvampire.org
Thu Apr 17 04:46:28 BST 2008


Public bug reported:

The Debian version of udev ships with the rule

    KERNEL=="uverbs*",                              GROUP="rdma"

in /etc/udev/rules.d/020_permissions.rules.  This means that on systems
with RDMA devices available, loading the ib_uverbs modules results in
device files like

    crw-rw---- 1 root rdma 231, 192 2008-04-16 20:39
/dev/infiniband/uverbs0

That is, the uverbs* files are owned by group rdma, which means that
ordinary users can be given permission to use RDMA devices by adding
them to the group "rdma".  (These devices are designed so that they are
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
creates the group, in this case libibverbs1.

This means that on Ubuntu systems, the device files end up as

    crw-rw---- 1 root root 231, 192 2008-04-16 20:38
/dev/infiniband/uverbs0

and only root can use RDMA devices.

** Affects: libibverbs (Ubuntu)
     Importance: Undecided
         Status: Confirmed

-- 
Ubuntu is missing /dev/infiniband/uverbs* group ownership udev rule
https://bugs.launchpad.net/bugs/218500
You received this bug notification because you are a member of Ubuntu
Sponsors for universe, which is a direct subscriber.



More information about the Ubuntu-universe-sponsors mailing list