Need add uaccess tag for /dev/dri/renderD*

Bug #1536438 reported by Qiang Yu on 2016-01-21
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
High
Unassigned
Trusty
High
Martin Pitt

Bug Description

[Impact]
The lts-wily backported kernel introduces the amdgpu driver. Graphics cards that use this driver need the render node (/dev/dri/renderD*) to be accessible to users.

[Test Case]
Install the lts-wily kernel, and check whether /dev/dri/renderD* is accessible or not.

[Regression Potential]
Low, as the change is already upstream and included in wily.

--------------------------------
3.16/3.19 Linux kernel add render node support which will create /dev/dri/renderD*.
uaccess tag must be added to the /lib/udev/rules.d/70-uaccess.rules to make it access-able to login user just like /dev/dri/card*.
It has been done on Ubuntu 15.04, but 14.04.3 has not.

14.04.3 70-uaccess.rules
# DRI video devices
SUBSYSTEM=="drm", KERNEL=="card*", TAG+="uaccess"

15.04 70-uaccess.rules
# DRI video devices
SUBSYSTEM=="drm", KERNEL=="card*|renderD*", TAG+="uaccess"

Please fix this for AMD GPU driver will use the /dev/dri/renderD*.

Fixed upstream in https://github.com/systemd/systemd/commit/735e5d

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: systemd-services 204-5ubuntu20.14
ProcVersionSignature: Ubuntu 3.19.0-33.38~14.04.1-generic 3.19.8-ckt7
Uname: Linux 3.19.0-33-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.15
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Jan 21 10:06:24 2016
InstallationDate: Installed on 2015-09-16 (126 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)

Qiang Yu (qiang-yu) wrote :
Changed in systemd (Ubuntu):
assignee: nobody → Alberto Milone (albertomilone)
status: New → Triaged
importance: Undecided → High
Martin Pitt (pitti) on 2016-02-25
Changed in systemd (Ubuntu):
status: Triaged → Fix Released
Changed in systemd (Ubuntu Trusty):
status: New → Triaged
assignee: nobody → Alberto Milone (albertomilone)
Martin Pitt (pitti) on 2016-02-25
description: updated
Martin Pitt (pitti) on 2016-02-25
Changed in systemd (Ubuntu Trusty):
status: Triaged → In Progress
Martin Pitt (pitti) on 2016-02-25
Changed in systemd (Ubuntu):
assignee: Alberto Milone (albertomilone) → nobody
Changed in systemd (Ubuntu Trusty):
assignee: Alberto Milone (albertomilone) → Martin Pitt (pitti)

Hello Qiang, or anyone else affected,

Accepted systemd into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/systemd/204-5ubuntu20.19 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in systemd (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
description: updated
summary: - Need add uaccess tag for /dev/dri/renderD*
+ SRU: Need add uaccess tag for /dev/dri/renderD*

Please test the proposed update, as there is no way to verify this without having the affected hardware (which I don't).

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 204-5ubuntu20.19

---------------
systemd (204-5ubuntu20.19) trusty-proposed; urgency=medium

  * Add upstream-uaccess-Add-new-DRM-render-nodes.patch: Add uaccess tag for
    "renderD*" devices for AMD GPUs. (LP: #1536438)
  * libpam-systemd: Don't restart logind on upgrades, this confuses too many
    clients and causes effects like screen blanking. (LP: #1473800)
  * debian/extra/initramfs.hook: Fix typo in path of udevadm.upgrade : The
    binary is /bin/udevadm.upgrade while udev is unpacked and not configured
    (see debian/udev.{pre,post}inst. (LP: #1535255)

 -- Martin Pitt <email address hidden> Thu, 25 Feb 2016 16:49:20 +0100

Changed in systemd (Ubuntu Trusty):
status: Fix Committed → Fix Released
Changed in systemd (Ubuntu Trusty):
importance: Undecided → High
tags: removed: verification-needed
summary: - SRU: Need add uaccess tag for /dev/dri/renderD*
+ Need add uaccess tag for /dev/dri/renderD*
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers