Bug 18527 - Update Request: nvidia340 GPL fix
Summary: Update Request: nvidia340 GPL fix
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure advisory mga5-64-ok
Keywords: validated_update
Depends on:
Blocks: 18031 18374 18375
  Show dependency treegraph
 
Reported: 2016-05-24 10:49 CEST by Thomas Backlund
Modified: 2016-06-09 14:46 CEST (History)
3 users (show)

See Also:
Source RPM: nvidia340
CVE:
Status comment:


Attachments

Description Thomas Backlund 2016-05-24 10:49:17 CEST
For testers, installing nvidia340-kernel-<flavour>-latest should pull in dkms-nvidia340, kernel-desktop-devel-<flavour>-latest and dkms + gcc buildchain + deps and install and work properly... 


Advisory:
Updated nvidia340 driver fixes GPL violation

It's been found that shipping prebuilt proprietary kernel modules is 
in violation of the GPL license.

Since Mageia.org is pro open source we adjust the way we provide
support for propritetary drivers.

In order to comply with GPL, this update switches to dkms source based
setup that builds the needed modules at kernel / driver install time.


SRPMS:
kmod-nvidia340-340.96-6.mga5.nonfree.src.rpm


i586:
nvidia340-kernel-desktop586-latest-340.96-6.mga5.nonfree.i586.rpm
nvidia340-kernel-desktop-latest-340.96-6.mga5.nonfree.i586.rpm
nvidia340-kernel-server-latest-340.96-6.mga5.nonfree.i586.rpm


x86_64:
nvidia340-kernel-desktop-latest-340.96-6.mga5.nonfree.x86_64.rpm
nvidia340-kernel-server-latest-340.96-6.mga5.nonfree.x86_64.rpm
Thomas Backlund 2016-05-24 13:47:03 CEST

Blocks: (none) => 18031

Thomas Backlund 2016-05-24 13:59:09 CEST

Blocks: (none) => 18374

Thomas Backlund 2016-05-24 13:59:14 CEST

Blocks: (none) => 18375

Comment 1 claire robinson 2016-05-31 13:23:32 CEST
Testing mga5 64

tl;dr; Adding an OK. I already have dkms packages installed, so it doesn't appear to do alot but notably doesn't attempt to pull in a prebuilt kmod. Requires seem OK.

The only danger I see in this is if people have manually installed and are using kernels without using the *-latest meta-packages but even then it will only conceivably fail if they are using an older kernel, without keeping up with kernel updates. If this is what they've done however, then that scenario is quite likely due to kernel versioning.


# rpm -qa *kernel*
nvidia340-kernel-desktop-latest-340.96-6.mga5.nonfree
kernel-userspace-headers-4.1.15-2.mga5
kernel-desktop-devel-4.1.15-2.mga5-1-1.mga5
kernel-desktop-latest-4.1.15-2.mga5
kernel-desktop-4.1.15-2.mga5-1-1.mga5
kernel-desktop-devel-latest-4.1.15-2.mga5
nvidia340-kernel-4.1.15-desktop-2.mga5-340.96-1.mga5.nonfree
kernel-firmware-20150722-1.mga5
kernel-firmware-nonfree-20151018-1.mga5.nonfree

# rpm -qa *nvidia*
dkms-nvidia340-340.96-1.mga5.nonfree
nvidia340-doc-html-340.96-1.mga5.nonfree
nvidia340-kernel-desktop-latest-340.96-1.mga5.nonfree
nvidia340-kernel-4.1.15-desktop-2.mga5-340.96-1.mga5.nonfree
x11-driver-video-nvidia340-340.96-1.mga5.nonfree


# urpmq --list-media active
Core Release
Core Updates
Core Updates Testing
Nonfree Release
Nonfree Updates
Nonfree Updates Testing
Tainted Release
Tainted Updates
Core 32bit Release
Core 32bit Updates
Nonfree 32bit Release
Nonfree 32bit Updates
Tainted 32bit Release
Tainted 32bit Updates


# urpmi nvidia340-kernel-desktop-latest
Marking nvidia340-kernel-desktop-latest as manually installed, it won't be auto-orphaned
writing /var/lib/rpm/installed-through-deps.list

installing nvidia340-kernel-desktop-latest-340.96-6.mga5.nonfree.x86_64.rpm from /var/cache/urpmi/rpms            
Preparing...                     ######################################
      1/1: nvidia340-kernel-desktop-latest
                                 ######################################
      1/1: removing nvidia340-kernel-desktop-latest-340.96-1.mga5.nonfree.x86_64
                                 ######################################



Checking requires (irrelevant output omitted)..

# urpmq  --media Testing --requires nvidia340-kernel-desktop-latest
dkms-nvidia340[>= 340.96-1.mga5.nonfree]
kernel-desktop-devel-latest


# dkms status -m nvidia340
nvidia340, 340.96-1.mga5.nonfree, 4.1.15-desktop-2.mga5, x86_64: installed 
nvidia340, 340.96-1.mga5.nonfree, 4.1.15-desktop-2.mga5, x86_64: installed-binary from 4.1.15-desktop-2.mga5

Whiteboard: (none) => has_procedure mga5-64-ok

Comment 2 claire robinson 2016-06-02 22:23:06 CEST
I'll test this builds with the new kernel before validating.
Len Lawrence 2016-06-05 21:13:05 CEST

CC: (none) => tarazed25

Comment 3 Thomas Andrews 2016-06-05 21:20:22 CEST
I had updated to the 4.4.11 kernel in both 64 and 32 bit before seeing that this was separate.

Booted into kernel 4.1.18.2 and tried to update this package, but it didn't appear as an update for me on either system. Yes, I DID make sure to activate nonfree testing.

Everything is working, in both kernels, so I can only assume that the package was installed and did what it was supposed to do. I leave it to you whether this is enough for an OK in the whiteboard.

CC: (none) => andrewsfarm

Comment 4 claire robinson 2016-06-09 13:25:03 CEST
Validating.

CC: (none) => sysadmin-bugs
Keywords: (none) => validated_update

Comment 5 claire robinson 2016-06-09 14:24:48 CEST
Advisory uploaded.

Whiteboard: has_procedure mga5-64-ok => has_procedure advisory mga5-64-ok

Comment 6 Mageia Robot 2016-06-09 14:46:17 CEST
An update for this issue has been pushed to the Mageia Updates repository.

http://advisories.mageia.org/MGAA-2016-0091.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.