Commit Graph

158 Commits

Author SHA256 Message Date
Aleksa Sarai
4a233a5c6e Accepting request 517286 from home:cyphar:containers:runc_use_signed_archive
- Use .tar.xz provided by upstream, as well as include the keyring to allow
  full provenance of the source.

OBS-URL: https://build.opensuse.org/request/show/517286
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=57
2017-08-19 13:24:20 +00:00
Dominique Leuenberger
2916c4fb6f Accepting request 517265 from Virtualization:containers
- Use the upstream Makefile, to ensure that we always include the version
  information in runc. This was confusing users (and Docker). bsc#1053532
- Add a backported patch to fix a Makefile bug.
  https://github.com/opencontainers/runc/pull/1555
  + bsc1053532-0001-makefile-drop-usage-of-install.patch
- Update to runc v1.0.0-rc4.
- Use -buildmode=pie for tests and binary build. bsc#1048046 bsc#1051429
- Cleanup seccomp builds similar to bsc#1028638

OBS-URL: https://build.opensuse.org/request/show/517265
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/runc?expand=0&rev=14
2017-08-17 09:44:20 +00:00
Aleksa Sarai
74ea12c88b Accepting request 517264 from home:cyphar:containers:bsc1053532
- Use the upstream Makefile, to ensure that we always include the version and
  commit information in runc. This was confusing users (and Docker).
  bsc#1053532
- Add a backported patch to fix a Makefile bug. This also includes some other
  changes to make the docker-runc.spec mirror the newer runc.

OBS-URL: https://build.opensuse.org/request/show/517264
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=55
2017-08-16 19:16:32 +00:00
Aleksa Sarai
d38ef74d50 Accepting request 516116 from home:cyphar:containers:runc_update_rc4
- Update to runc v1.0.0-rc4. Upstream changelog:
	+ runc now supports v1.0.0 of the OCI runtime specification. #1527
	+ Rootless containers support has been released. The current state of
	  this feature is that it only supports single-{uid,gid} mappings as an
	  unprivileged user, and cgroups are completely unsupported. Work is
	  being done to improve this. #774
	+ Rather than relying on CRIU version nnumbers, actually check if the
	  system supports pre-dumping. #1371
	+ Allow the PIDs cgroup limit to be updated. #1423
	+ Add support for checkpoint/restore of containers with orphaned PTYs
	  (which is effectively all containers with terminal=true). #1355
	+ Permit prestart hooks to modify the cgroup configuration of a
	  container. #1239
	+ Add support for a wide variety of mount options. #1460
	+ Expose memory.use_hierarchy in MemoryStats. #1378
	* Fix incorrect handling of systems without the freezer cgroup. #1387
	* Many, many changes to switch away from Go's "syscall" stdlib to
	  "golang.org/x/sys/unix". #1394 #1398 #1442 #1464 #1467 #1470 #1474
	  #1478 #1491 #1482 #1504 #1519 #1530
	* Set cgroup resources when restoring a container. #1399
	* Switch back to using /sbin as the installation directory. #1406
	* Remove the arbitrary container ID length restriction. #1435
	* Make container force deletion ignore non-existent containers. #1451
	* Improve handling of arbitrary cgroup mount locations when populating
	  cpuset. #1372
	* Make the SaneTerminal interface public. #1479
	* Fix cases where runc would report a container to be in a "Running"
	  state if the init was a zombie or dead. #1489
	* Do not set supplementary groups for numeric users. #1450
	* Fix various issues with the "owner" field in runc-list. #1516
	* Many other miscellaneous fixes, some of which were made by first-time
	  contributors. Thanks, and welcome to the project! #1406 #1400 #1365
	  #1396 #1402 #1414 #1412 #1408 #1418 #1425 #1428 #1436 #1433 #1438
	  #1410 #1447 #1388 #1484 #1481 #1496 #1245 #1524 #1534 #1526 #1533
	- Remove any semblance of non-Linux support. #1502
	- We no longer use shfmt for testing. #1510

OBS-URL: https://build.opensuse.org/request/show/516116
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=54
2017-08-11 13:51:29 +00:00
Aleksa Sarai
438ec77e8c - Use -buildmode=pie for tests and binary build. bsc#1048046 bsc#1051429
This also includes some various improvements to the packaging of runc,
containerd and docker-runc.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=53
2017-08-11 12:10:02 +00:00
Dominique Leuenberger
27a574379a Accepting request 509158 from Virtualization:containers
1

OBS-URL: https://build.opensuse.org/request/show/509158
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/runc?expand=0&rev=13
2017-07-30 09:22:54 +00:00
Thomas Hipp
030004095c Accepting request 508797 from home:thipp:branches:Virtualization:containers
- switch to opencontainers/runc master branch
- remove CVE-2016-9962.patch 
- stop providing docker-runc

OBS-URL: https://build.opensuse.org/request/show/508797
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=51
2017-07-10 11:39:32 +00:00
Dominique Leuenberger
dcbdbcdd9e Accepting request 494718 from Virtualization:containers
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/494718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/runc?expand=0&rev=12
2017-05-20 08:13:19 +00:00
Jordi Massaguer
e9cd9305f4 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=49 2017-05-04 19:02:51 +00:00
Jordi Massaguer
8d8fed71b3 Accepting request 492509 from home:jordimassaguerpla:branch:V:c:fix_golang_req
- fix golang requirement to 1.7

OBS-URL: https://build.opensuse.org/request/show/492509
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=48
2017-05-04 18:33:34 +00:00
Jordi Massaguer
02fcbee273 Accepting request 491891 from home:jengelh:branches:Virtualization:containers
- Substitute %__-type macro indirections

OBS-URL: https://build.opensuse.org/request/show/491891
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=47
2017-04-28 16:29:38 +00:00
Jordi Massaguer
871ab3a54c OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=46 2017-04-20 10:54:06 +00:00
Jordi Massaguer
dd30b50950 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=45 2017-04-20 10:25:40 +00:00
Yuchen Lin
e1aa70800a Accepting request 487329 from Virtualization:containers
1

OBS-URL: https://build.opensuse.org/request/show/487329
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/runc?expand=0&rev=11
2017-04-17 08:26:20 +00:00
Jordi Massaguer
3f88467bef Accepting request 487318 from home:cyphar:containers
Fix up the ignore cgroupv2 patch so it is easier to track.

OBS-URL: https://build.opensuse.org/request/show/487318
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=43
2017-04-11 12:14:17 +00:00
Jordi Massaguer
c6ef2832c5 fix changelog
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=42
2017-04-11 11:03:16 +00:00
Aleksa Sarai
b0463e5979 Accepting request 487271 from home:jordimassaguerpla:branch:V:c:runc:ignore_cgroup_v2_mountpoints
- fix bsc#1028113 - runc: make sure to ignore cgroup v2 mountpoints

OBS-URL: https://build.opensuse.org/request/show/487271
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=41
2017-04-11 09:56:51 +00:00
Dominique Leuenberger
df1e6f7536 Accepting request 478794 from Virtualization:containers
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/478794
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/runc?expand=0&rev=10
2017-03-12 19:05:55 +00:00
Aleksa Sarai
b55f5ac831 Accepting request 461897 from home:jordimassaguerpla:branch:Vc:update_docker_1_13
- update to docker-1.13.0 requirement

OBS-URL: https://build.opensuse.org/request/show/461897
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=39
2017-03-05 03:07:20 +00:00
Dominique Leuenberger
acca8538c6 Accepting request 450531 from Virtualization:containers
(forwarded request 450530 from jordimassaguerpla)

OBS-URL: https://build.opensuse.org/request/show/450531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/runc?expand=0&rev=9
2017-01-23 10:36:50 +00:00
Jordi Massaguer
0de2bc6731 Accepting request 450530 from home:jordimassaguerpla:branch:Vc:runc:fix_CVE_name
OBS-URL: https://build.opensuse.org/request/show/450530
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=37
2017-01-16 15:08:31 +00:00
Aleksa Sarai
6c28b7232c OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=36 2017-01-13 17:01:54 +00:00
Dominique Leuenberger
d116931e46 Accepting request 447965 from Virtualization:containers
- update runc to the version used in docker 1.12.5 (bsc#1016307).
  This fixes bsc#1015661 

- For the moment, we have to switch to using Docker's fork of runC. This *will*
  be solved properly by creating a new package purely for Docker's runC fork,
  because it's quite silly to tie OCI project releases to Docker's vendoring
  scheme. Once this is fixed, this package will be switch to being purely-OCI.

- add the /usr/bin/docker-run symlink to partially fix bsc#1015661

  fix bsc#1009961
- update to 02f8fa7 because that is the needed version for docker 1.12.1 (bsc#1004490)
  it fails to build

OBS-URL: https://build.opensuse.org/request/show/447965
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/runc?expand=0&rev=8
2017-01-10 09:44:31 +00:00
Aleksa Sarai
4199169c81 Accepting request 447963 from home:jordimassaguerpla:branch:Vc:fix_runc_symlink
OBS-URL: https://build.opensuse.org/request/show/447963
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=34
2016-12-28 10:08:10 +00:00
Aleksa Sarai
88553395ee Accepting request 447318 from home:jordimassaguerpla:branch:V:c:fix_runc_symlink
- add symlink to docker-runc in the post section, as this is how it
  has been already fixed for some client. fixes bsc#1015661

OBS-URL: https://build.opensuse.org/request/show/447318
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=33
2016-12-21 16:38:17 +00:00
Jordi Massaguer
020aaf5db9 fix version
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=32
2016-12-19 17:41:49 +00:00
Aleksa Sarai
9547577941 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=31 2016-12-19 14:01:37 +00:00
Aleksa Sarai
0017b9024f Accepting request 446750 from home:jordimassaguerpla:branch:Vc:runc_symlink_docker_runc
- add the /usr/bin/docker-run symlink to partially fix bsc#1015661

OBS-URL: https://build.opensuse.org/request/show/446750
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=30
2016-12-19 08:39:07 +00:00
Dominique Leuenberger
3c297d979a Accepting request 441850 from Virtualization:containers
1

OBS-URL: https://build.opensuse.org/request/show/441850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/runc?expand=0&rev=7
2016-11-24 20:26:04 +00:00
Jordi Massaguer
e7756c519f Accepting request 441846 from home:jordimassaguerpla:branch:Vc:fix_runc_and_containerd_versioning
- fix version by adding a revision "counter" so that it will always
  increase
  fix bsc#1009961

OBS-URL: https://build.opensuse.org/request/show/441846
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=28
2016-11-24 12:49:13 +00:00
Dominique Leuenberger
3867adc402 Accepting request 437086 from Virtualization:containers
update to docker-1.12.2

OBS-URL: https://build.opensuse.org/request/show/437086
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/runc?expand=0&rev=6
2016-10-26 11:29:17 +00:00
Jordi Massaguer
5a4d9c570e OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=27 2016-10-24 10:56:10 +00:00
Dominique Leuenberger
72ccf7deaf Accepting request 429838 from Virtualization:containers
1

OBS-URL: https://build.opensuse.org/request/show/429838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/runc?expand=0&rev=5
2016-09-30 13:31:55 +00:00
Jordi Massaguer
6488c6af8b Accepting request 429757 from home:jengelh:branches:Virtualization:containers
- Run fdupes.

OBS-URL: https://build.opensuse.org/request/show/429757
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=25
2016-09-23 14:37:04 +00:00
Dominique Leuenberger
f528d97e95 Accepting request 428676 from Virtualization:containers
1

OBS-URL: https://build.opensuse.org/request/show/428676
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/runc?expand=0&rev=4
2016-09-21 16:49:18 +00:00
Aleksa Sarai
b5b7e65723 Accepting request 428672 from home:jordimassaguerpla:branch:V:c:fix_go_arches_def
- fix go_arches definition: use global instead of define, otherwise
  it fails to build

OBS-URL: https://build.opensuse.org/request/show/428672
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=23
2016-09-19 12:08:36 +00:00
Jordi Massaguer
094919e13c Accepting request 422801 from home:cyphar:branches:Virtualization:containers
Removes the docker-runc symlink, since that's been fixed as part of sr#422714

OBS-URL: https://build.opensuse.org/request/show/422801
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=22
2016-08-26 10:03:29 +00:00
Christian Brauner
820371af3d Accepting request 422238 from home:jordimassaguerpla:branch:Vc:symlink_runc
- Create a symlink /usr/sbin/docker-runc -> /usr/sbin/docker
  Docker expects this symlink to exist

OBS-URL: https://build.opensuse.org/request/show/422238
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=21
2016-08-25 17:13:43 +00:00
Christian Brauner
7bf8489ba5 Accepting request 422163 from home:jordimassaguerpla:branch:Vc:gcc_fails_with_GOPATH_empty
- Remove GOPATH at the end of the GOPATH assignment
  cause GOPATH is empty and if we do that, we get the path ""
  appended, which causes gcc6-go to complain

OBS-URL: https://build.opensuse.org/request/show/422163
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=20
2016-08-25 16:01:03 +00:00
Christian Brauner
e53118531b Accepting request 421922 from home:jordimassaguerpla:branch:V:c:fix_go_arches_definition
fix the go_arches definition

OBS-URL: https://build.opensuse.org/request/show/421922
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=19
2016-08-25 13:46:46 +00:00
Christian Brauner
c5cc4c7486 Accepting request 421771 from home:jordimassaguerpla:branch:Vc:add_version_unconverted_back
add version_unconverted back

OBS-URL: https://build.opensuse.org/request/show/421771
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=18
2016-08-24 15:03:48 +00:00
Christian Brauner
324f3b2a37 Accepting request 421574 from home:jordimassaguerpla:branch:V:c:add_go_arches_in_prjconf
- add go_arches in project configuration: this way, we can use the
  same spec file but decide in the project configuration if to
  use gc-go or gcc-go for some archs.

OBS-URL: https://build.opensuse.org/request/show/421574
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=17
2016-08-24 12:34:21 +00:00
Christian Brauner
80b6776c0c Accepting request 421318 from Virtualization:containers:1.12-RC
- use gcc6-go instead of gcc5-go (bsc#988408) 
- build ppc64le with gc-go because this version builds with gc-go 1.6

- bump git commit id to the one required by docker v1.12.0 (bsc#995058)
- run unit tests during package build
- remove seccomp-use-pkg-config.patch
  The patch is now upstream.
- remove GO_BUILD_FLAGS macro and substitute with BUILDFLAGS env variable to
  allow for easier string appending.
- only run unit test on architectures that provide the go list and go test tools

OBS-URL: https://build.opensuse.org/request/show/421318
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=16
2016-08-23 15:12:47 +00:00
Dominique Leuenberger
b0d1354899 Accepting request 419732 from Virtualization:containers
1

OBS-URL: https://build.opensuse.org/request/show/419732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/runc?expand=0&rev=3
2016-08-18 07:18:07 +00:00
Jordi Massaguer
e7b7a14f01 Accepting request 419728 from home:chbrauner:branches:Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/419728
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=14
2016-08-17 10:45:55 +00:00
Dominique Leuenberger
bea147fb6f Accepting request 415383 from Virtualization:containers
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/415383
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/runc?expand=0&rev=2
2016-07-29 22:27:41 +00:00
Jordi Massaguer
9fe93280f8 update changelog with fate#
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=12
2016-07-20 08:35:48 +00:00
Jordi Massaguer
56bf2c12a3 add bug number for docker 1.11.2
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=11
2016-07-19 15:34:55 +00:00
Dominique Leuenberger
1dc87f63c6 Accepting request 392078 from Virtualization:containers
This is necessary for the Docker 1.11.1 update, in which the daemon has been
split into multiple components.

runC is also a useful package unto itself (it allows people to just run
containers without needing any of the complicated functionality that Docker
provides).

OBS-URL: https://build.opensuse.org/request/show/392078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/runc?expand=0&rev=1
2016-05-04 06:19:55 +00:00
Aleksa Sarai
a12bb1c1f9 * Remove empty %postun and %post sections.
* Update to runC 0.1.1. Changelog from upstream:
  This release includes a bug fix for adding the selinux mount label in the specification.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/runc?expand=0&rev=9
2016-04-29 09:35:10 +00:00