Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519980 - app-emulation/docker-1.1.2 version bump
Summary: app-emulation/docker-1.1.2 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tianon
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2014-08-15 10:04 UTC by Jorge Nerin
Modified: 2014-09-09 19:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The trivial patch to fix it for kernels >=3.15 (29ecc95c31ecfe15e3b3d8db94cea1c555e526a3-fix_PAM_System_error.patch,901 bytes, patch)
2014-08-15 10:06 UTC, Jorge Nerin
Details | Diff
docker-1.1.2-r1.ebuild (docker-1.1.2-r1.ebuild,5.60 KB, text/plain)
2014-08-15 10:10 UTC, Jorge Nerin
Details
docker-1.1.2-r1.ebuild (docker-1.1.2-r1.ebuild,5.60 KB, text/plain)
2014-08-15 10:44 UTC, Jorge Nerin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jorge Nerin 2014-08-15 10:04:15 UTC
Current docker version in tree (1.1.0) doesn't work ok in kernels newer than or equal to 3.15. The bug is solved with a trivial patch that will be included with docker 1.1.3, but as today it still hasn't been released. So I created my own 1.1.2-r1 ebuild which applies the patch and results in a working docker.

I also added in src_prepare a call to epatch_user as a kind of helping for this kind of bugs.
Comment 1 Jorge Nerin 2014-08-15 10:06:41 UTC
Created attachment 382920 [details, diff]
The trivial patch to fix it for kernels >=3.15

Source of the patch: https://github.com/LK4D4/docker/commit/29ecc95c31ecfe15e3b3d8db94cea1c555e526a3 More exactly https://github.com/LK4D4/docker/commit/29ecc95c31ecfe15e3b3d8db94cea1c555e526a3.patch
Comment 2 Jorge Nerin 2014-08-15 10:10:52 UTC
Created attachment 382922 [details]
docker-1.1.2-r1.ebuild

The ebuild for 1.1.2+pam_fix+epatch_user
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-15 10:19:17 UTC
Why would you provide an -r1. There is no -r0 so you should start there.
Comment 4 Jorge Nerin 2014-08-15 10:27:55 UTC
As this wasn't a "pure" 1.1.2 release I tough naming it -r1 would be a good way to signal that it had additional patches.

But of course rename it as needed :).
Comment 5 Jorge Nerin 2014-08-15 10:44:34 UTC
Created attachment 382926 [details]
docker-1.1.2-r1.ebuild

I forgot to update DOCKER_GITCOMMIT.
Comment 6 Tianon 2014-08-15 14:56:06 UTC
1.1.2 has been in the docker overlay for a while now; I recently pinged my proxy-maintainer (gregkh, who I've now CC'd here) about syncing it into tree, but he's been busy (and thus obviously hasn't had a chance to get it in yet).

My next suggestion was going to be to use epatch_user, but now I remember and see that none of the ebuilds in the tree have that change from the overlay yet. :)

I'll go ahead and add 1.1.2-r1 to the overlay now to include that patch so Greg can sync it into the tree when he gets a chance.
Comment 7 RAPHEAD 2014-08-29 08:31:11 UTC
Meanshile wer are missing 1.2.0. Any status?
Comment 8 Greg Kroah-Hartman (RETIRED) gentoo-dev 2014-08-29 17:45:02 UTC
Sorry, it's in my queue, should get to it later today...
Comment 9 Greg Kroah-Hartman (RETIRED) gentoo-dev 2014-09-09 19:07:51 UTC
1.2.0 is now in the tree, sorry for the delay.