Commit Graph

936 Commits

Author SHA1 Message Date
Bruce Ashfield
7bddcb3649 docker-ce: update to 18.09.3
Updating docker-ce to the latest 18.09 stable release. No
significant changes are part of this update.

   f5e591e815 Merge component 'cli' from git@github.com:docker/cli 18.09
   8845519dce Merge pull request #1734 from thaJeztah/18.09_backport_fix_test_for_go_1.12
   ea47598cf6 Fix test for Go 1.12.x
   70d1935665 Merge component 'engine' from git@github.com:docker/engine 18.09
   8238697633 Merge pull request #170 from thaJeztah/18.09_bump_swarmkit
   84c971868e Merge component 'cli' from git@github.com:docker/cli 18.09
   4e69571cff Merge pull request #1729 from thaJeztah/18.09_backport_e2e_handle_alpine_bump
   35a6ca7054 e2e: avoid `usermod -p` by using `useradd`'s `--password` option
   e0218c5780 e2e: Expand `useradd`'s `-m` otion into `--create-home`
   ba2b4c0c65 e2e Use `useradd`'s `--shell` option
   6064691b74 Merge component 'engine' from git@github.com:docker/engine 18.09
   9c47f77927 Merge pull request #169 from thaJeztah/18.09_bump_libnetwork2
   4b269555e0 Merge pull request #171 from thaJeztah/18.09_backport_fix_build_session_test
   b9167a9818 Fix TestBuildWithSession, TestBuildSquashParent  using wrong daemon during test
   5421245401 [18.09] bump swarmkit to c66ed60822d3fc3bf6e17a505ee79014f449ef05 (bump 18.09)
   5e4939ab2b Merge component 'engine' from git@github.com:docker/engine 18.09
   465705f78f Merge pull request #164 from thaJeztah/18.09_backport_esc_1090
   361573fb13 Merge pull request #166 from thaJeztah/18.09_backport_tarstream_release
   6e44ea5ca3 Merge pull request #167 from thaJeztah/18.09_backport_cp_longname
   006a8c7333 [18.09] bump libnetwork 4725f2163fb (bump_18.09 branch)
   ddb553c9c7 pkg/archive:CopyTo(): fix for long dest filename
   78d7be4aeb layer/layer_store: ensure NewInputTarStream resources are released
   afc2d3e1e5 Merge pull request #588 from seemethere/fix_link
   cfc168b856 Fix link to release notes to be an actual link
   53943599d3 Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 18.09
   dce2ceb9af Merge pull request #306 from dave-tucker/18.09
   dd0e4702ff [TAR-465] Jenkinsfile: Test the correct branch
   774a1f4eee Merge pull request #587 from andrewhsu/1809ga
   d1cde99c16 bump ver 18.09.3
   d234d63bd9 Merge component 'cli' from git@github.com:docker/cli 18.09
   7e985fdbcc set bigger grpc limit for GetConfigs api
   eca25928d3 Merge pull request #1694 from thaJeztah/18.09_backport_nolibtool
   fe586e6b03 Update PKCS11 library
   516e0938c4 Merge pull request #586 from andrewhsu/1809rc1
   9a547e9803 Merge component 'engine' from git@github.com:docker/engine 18.09
   730b7c7c36 Merge pull request #163 from thaJeztah/18.09_backport_busyboxstage2
   485445e58c bump ver 18.09.3-rc1
   9a1f0b6385 Windows: Bump busybox to v1.1
   24d84781fd Merge component 'engine' from git@github.com:docker/engine 18.09
   24e88ff12b Merge pull request #153 from thaJeztah/18.09_backport_update_containerd_1.2.4
   2a10e07767 Merge component 'engine' from git@github.com:docker/engine 18.09
   0fc0fbc929 Update containerd runtime 1.2.4
   c5e4f537fe Update runc to 6635b4f (fix CVE-2019-5736)
   1f1e19daa1 Revert "Merge pull request #240 from seemethere/bundle_me_up_1809"
   cdacf38efa Merge pull request #154 from thaJeztah/18.09_backport_fix_stale_container_on_start
   b8b285ce9b Merge component 'engine' from git@github.com:docker/engine 18.09
   878b9f56bf Merge pull request #162 from thaJeztah/18.09_backport_38636_fix_nil_pointer_dereference
   8af9b67ca8 Fix nil pointer derefence on failure to connect to containerd
   fca49318b4 Merge component 'engine' from git@github.com:docker/engine 18.09
   893afbfb6f Merge component 'engine' from git@github.com:docker/engine 18.09
   c835df1d14 Merge pull request #160 from thaJeztah/18.09_backport_add_missing_char_device_mode
   761df7a017 Merge pull request #135 from thaJeztah/18.09_backport_xattr_fix
   50e6ee21b3 Merge component 'engine' from git@github.com:docker/engine 18.09
   2012f67a6d Merge pull request #143 from thaJeztah/18.09_backport_skip_kmem_tests_on_rhel
   fb81d8fe00 Merge pull request #158 from thaJeztah/18.09_backport_save_the_environment
   1a1a62b3bf Merge pull request #157 from thaJeztah/18.09_backport_fix_test_int
   6a5c5805ac Merge pull request #159 from thaJeztah/18.09_backport_even_more_names_redux
   811028792b Merge pull request #161 from kolyshkin/18.09-backport-38423
   d4fa1ee60f Merge pull request #155 from thaJeztah/18.09_backport_override_validate
   0db790cc19 Merge pull request #149 from thaJeztah/18.09_backport_fix_restart
   c9de39ca94 Disabled these tests on s390x and ppc64le: - TestAPISwarmLeaderElection - TestAPISwarmRaftQuorum - TestSwarmClusterRotateUnlockKey
   a345ccfd0e Graphdriver: fix "device" mode not being detected if "character-device" bit is set
   ddcd7c106d Makes a few modifications to the name generator.
   125d84fbcf Fix: plugin-tests discarding current environment
   f3b1a30e52 make test-integration: use correct dockerd binary
   c14d8be35a hack: no need to git fetch in CI
   9eb15371b3 Allow overriding repository and branch in validate scripts
   241a2913ec Delete stale containerd object on start failure
   9f42d6f4aa Merge component 'engine' from git@github.com:docker/engine 18.09
   a6fcb60427 Merge pull request #147 from thaJeztah/18.09_bump_golang_1.10.8
   cedb2b83c6 Merge component 'engine' from git@github.com:docker/engine 18.09
   f3d6952b68 Merge pull request #150 from thaJeztah/18.09_backport_fix_pkg_archive_xattr_test
   735870ea3d Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 18.09
   fc58c203b0 Merge pull request #294 from thaJeztah/18.09_backport_start_dockerd_after_containerd
   6a2cf28a77 Merge pull request #298 from thaJeztah/18.09_backport_fix_containerd_race_condition
   2cb298c22b Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 18.09
   93dc56c138 Merge pull request #293 from thaJeztah/18.09_bump_golang_1.10.8
   58654c0a23 pkg/archive: fix TestTarUntarWithXattr failure on recent kernel
   242fedd184 keep old network ids
   4ce3c7be9a Merge branch '18.09' of github.com:docker/docker-ce into 18.09
   bd29eaad5a Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 18.09
   e1aeaae20a Change back to public forks
   24e4136d6c systemd: set --containerd socket patch to prevent race-condition
   a6dbf1f21f [18.09] Bump Golang 1.10.8 (CVE-2019-6486)
   594c0469ed Ignore xattr ENOTSUP errors on copy (fixes #38155)
   62479626f2 Merge pull request #475 from andrewhsu/1809ce
   408de3fdc3 bump ver 18.09.2 and update changelog
   41a97638d5 Merge component 'engine' from git@github.com:docker/ee-engine 18.09-ce
   94f8285a9c Merge component 'packaging' from git@github.com:docker/ee-packaging 18.09-ce
   3503a4d782 Switch to private forks for now
   e6c583ac99 Merge pull request #167 from seemethere/req_g_ce
   4d35d88be8 Bump containerd.io dep >= 1.2.2-3 (CVE-2019-5736)
   4f8ff9b127 Merge pull request #463 from andrewhsu/18.09-ce-tp3
   28242bbbd2 bump ver 18.09.2-tp3
   71adfb3f74 Merge pull request #240 from seemethere/bundle_me_up_1809
   e4931e664f Apply git bundles for CVE-2019-5736
   52d14c96c7 Start docker.service after containerd.service
   58fb11cbab Merge component 'cli' from git@github.com:docker/cli 18.09
   22e12bdcfc Merge pull request #1634 from thaJeztah/18.09_bump_golang_1.10.8
   37fd1a0d0a [18.09] Bump Golang 1.10.8 (CVE-2019-6486)
   1f467bcdc6 [18.09] Bump Golang 1.10.8 (CVE-2019-6486)
   4c52b901c6 Merge pull request #581 from seemethere/bump_v
   6caccb221d Merge component 'engine' from git@github.com:docker/engine 18.09
   006734c577 If url includes scheme, urlPath will drop hostname, which would not match the auth check
   0b021f6648 Authz plugin security fixes for 0-length content and path validation Signed-off-by: Jameson Hyde <jameson.hyde@docker.com>
   91c5fffc4b Bump version to 18.09.1
   5110db8f4f Merge component 'engine' from git@github.com:docker/engine 18.09
   6cab4a9c3e Merge pull request #144 from thaJeztah/18.09_backport_bump_containerd_v1.2.2
   2a881442fb Bump containerd to v1.2.2
   f2977c7888 Skip kernel-memory tests on RHEL/CentOS daemons
   d5a7bda9e8 Merge component 'engine' from git@github.com:docker/engine 18.09
   06f6e415e9 Merge pull request #142 from docker/revert-130-18.09_backport_fix_api_return_code
   8c0e7ea89c Revert "[18.09 backport] API: fix status code on conflicting service names"
   2e95726fa5 Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 18.09
   ded83fc61b Merge pull request #286 from paddy-hack/restore-sysvinit-and-upstart-support
   ffc8511d04 Restore SysVinit and Upstart support
   2df4905f67 Merge component 'cli' from git@github.com:docker/cli 18.09
   c6a63b52bb Merge pull request #1580 from thaJeztah/18.09_backport_e2e-invocation-nit
   8053e79119 Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 18.09
   9da07880a0 Merge pull request #284 from thaJeztah/18.09_backport_cli_does_not_obsolete_selinux_and_engine
   2b827d4782 Remove obsolete "selinux" and "engine" packages from CLI rpm
   f5e87b54df Merge component 'engine' from git@github.com:docker/engine 18.09
   7e7a37e63e e2e: assign a default value of 0 to `DOCKERD_EXPERIMENTAL`
   130caf6e0e connhelper: add e2e
   b274d87a12 Merge pull request #140 from andrewhsu/d
   dba1b4aeda libcontainerd: prevent exec delete locking
   b00fb7cf05 Revert "Propagate context to exec delete"
   af73095ae2 Merge component 'engine' from git@github.com:docker/engine 18.09
   9f8d1a9995 Merge pull request #139 from andrewhsu/ctxt
   4f1cf45af7 Merge pull request #138 from andrewhsu/cont
   b60801e6d4 Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 18.09
   2eaec5333d Merge component 'engine' from git@github.com:docker/engine 18.09
   3898ef4957 Merge component 'cli' from git@github.com:docker/cli 18.09
   95c87c410e Merge pull request #137 from thaJeztah/18.09_bump_golang_1.10.6
   f72ff31415 Propagate context to exec delete
   e775f2a03d Update containerd to aa5e000c963756778ab3ebd1a12c6
   2f72f4ef3e Merge pull request #282 from seemethere/1_10_6_backport
   fe860b72c7 Merge pull request #1575 from thaJeztah/bump_golang_1.10.6
   c86a836fc4 Bump Golang 1.10.6 (CVE-2018-16875)
   2b2dcff273 bump to golang 1.10.6
   3e105499c9 Bump Golang 1.10.6 (CVE-2018-16875)
   7dd1629b20 Merge component 'engine' from git@github.com:docker/engine 18.09
   29b8f24be7 Merge component 'cli' from git@github.com:docker/cli 18.09
   35ae1fc05c Merge pull request #130 from thaJeztah/18.09_backport_fix_api_return_code
   fbe190c787 Merge pull request #132 from thaJeztah/18.09_backport_idprefix
   ed161fafa9 Merge pull request #136 from thaJeztah/18.09_backport_fix_panic
   6e20a0f6df Merge pull request #1567 from thaJeztah/18.09_backport_fix_panic_on_update
   055b2b5a9f Fix panic (npe) when updating service limits/reservations
   79cbff3cd3 registry: use len(via)!=0 instead of via!=nil
   6021a0fde8 Merge component 'engine' from git@github.com:docker/engine 18.09
   c8cccde1d5 Merge pull request #133 from thaJeztah/18.09_backport_fix_ipam_swagger
   36f2444328 Swagger: fix definition of IPAM driver options
   50be23f5a1 fixes display text in Multiple IDs found with provided prefix
   6176e25a23 Merge component 'engine' from git@github.com:docker/engine 18.09
   b412443ed2 Merge pull request #131 from tonistiigi/1809-update-buildkit
   aafd3c7cec Merge pull request #129 from thaJeztah/18.09_backport_bump_containerd_vendoring
   e27956be04 vendor: update buildkit to d9f75920
   6155a653aa Add test for status code on conflicting service names
   c99df606e6 Update swarmkit to return correct error-codes on conflicting names
   3342cdc4ba Merge component 'cli' from git@github.com:docker/cli 18.09
   6290aed85c Merge pull request #1554 from thaJeztah/18.09_backport_completion-import--platform
   4dce161c07 Merge pull request #1553 from thaJeztah/18.09_backport_completion-log-driver-local
   0464f48da5 Merge component 'cli' from git@github.com:docker/cli 18.09
   0cbda9f762 Add bash completion for `import --platform`
   f0885d1fab Add bash completion for "local" log driver
   72b3a61238 Merge pull request #1552 from thaJeztah/18.09_backport_fix_filter_panic
   c9df8f4688 use empty string as cgroup path to grab first find
   42b5bd7c0f vndr libnetwork to adjust for updated runc
   9f0f7c271c update containerd to v1.2.1
   75d17684b1 Merge component 'engine' from git@github.com:docker/engine 18.09
   1a759e5769 Fix panic when pruning images with label-filter
   c19e3d0b29 Merge pull request #128 from thaJeztah/18.09_backport_containerd_v1.2.1-GA
   37a56d2599 update just installer of containerd to 1.2.1
   bca00687d8 Merge pull request #571 from andrewhsu/rc1
   fe0ed1581f bump ver 18.09.1-rc1 and update changelog
   7bdb3c6b87 Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 18.09
   66c694875f Merge pull request #280 from thaJeztah/18.09_backport_remove_spec
   89559b9c3c Remove unused spec files
   74239bfbe1 Merge pull request #570 from andrewhsu/b2
   24b031ea42 Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 18.09
   64e00cdf94 Merge component 'engine' from git@github.com:docker/engine 18.09
   6d1bca6a6c Merge component 'cli' from git@github.com:docker/cli 18.09
   129720636e bump ver 18.09.1-beta2
   dce40a7ca6 Merge pull request #279 from andrewhsu/golang
   11442eb1e7 bump golang to 1.10.5
   679c1150b8 Merge pull request #126 from thaJeztah/18.09_backport_mask_asound
   66abfda9b2 Merge pull request #1542 from thaJeztah/18.09_backport_completion_cli_experimental
   46a88fbe88 Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 18.09
   5efaa09256 Merge pull request #276 from andrewhsu/sock
   9b0d684d7f Add docker.socket requirement for docker.service
   ffd5999784 Merge pull request #260 from thaJeztah/18.09_remove_telemetry_remnants
   d3184b7576 Merge pull request #569 from andrewhsu/b1
   c5d1399959 Merge component 'engine' from git@github.com:docker/engine 18.09
   23a01f3126 bump ver 18.09.1-beta1
   e04edd81d4 Merge component 'cli' from git@github.com:docker/cli 18.09
   be73976052 Merge pull request #1544 from thaJeztah/18.09_bump_go_to_1.10.5
   3948a779cf Merge pull request #123 from tonistiigi/1809-builder-net
   0e511427f5 Merge pull request #127 from thaJeztah/18.09_bump_go_to_1.10.5
   5c9b82e262 Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 18.09
   9ff11286df Bump Go to 1.10.5
   4fa2dbdf38 Merge pull request #274 from seemethere/1809_sockles
   8293f65feb Add socket activation for RHEL based distributions
   67db4a25e1 Bump Go to 1.10.5
   b15b31936b Masked /proc/asound
   3fe8afdba7 Merge component 'engine' from git@github.com:docker/engine 18.09
   498e20e77e Merge pull request #125 from thaJeztah/18.09_backport_busybox
   613f303049 Windows:Tie busybox to version
   c2d6f2e82b Merge component 'cli' from git@github.com:docker/cli 18.09
   da117f6859 Merge pull request #1540 from thaJeztah/18.09_backport_fix_flags_in_usage
   6709623942 builder: delete sandbox in a goroutine for performance
   71605fc317 builder: set externalkey option for faster hook processing
   280488aa00 Add  bash completion for `manifest` command family
   42fbd93961 Add support for experimental cli features to bash completion
   13b7f9fef8 Refactor usage of `docker version` in bash completion
   5cd594924c Fix yamldocs outputing `[flags]` in usage output
   8273d9a9de Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 18.09
   b766ec9947 Merge pull request #269 from thaJeztah/18.09_backport_dont_require_containerd
   c9bd8ec5c6 Merge pull request #263 from thaJeztah/18.09_backport_compat
   9c47bb0899 Remove containerd dependency from CLI
   74513be78c Merge pull request #267 from thaJeztah/18.09_restore_requires
   1355f268ee Merge pull request #266 from thaJeztah/18.09_add_seccomp_dependency
   60a25b4d26 Add back requirements that were removed in the migration
   85e1aa53ce Add libseccomp requirement for rpm packages
   99e4130444 Change replaces/breaks to have compat with nightly
   b8014b87d1 Remove remnants from telemetry plugin from Fedora 27, 28
   3b44842574 Merge component 'engine' from git@github.com:docker/engine 18.09
   d8014103b9 Merge component 'cli' from git@github.com:docker/cli 18.09
   7e016c5a84 Merge pull request #81 from thaJeztah/18.09_backport_processandiot
   06d25f9c17 Merge pull request #85 from thaJeztah/18.09_backport_deprecated_storagedrivers
   2eb0feaf2d Merge pull request #107 from thaJeztah/18.09_backport_bump_libnetwork
   ed2630b559 Merge pull request #110 from thaJeztah/18.09_backport_handle_invalid_json
   1e216e2ec4 Merge pull request #112 from thaJeztah/18.09_backport_moby_37747
   bf3a1002a3 Merge pull request #113 from thaJeztah/18.09_backport_detach
   4d5ef4f441 Merge pull request #114 from thaJeztah/18.09_backport_limit_client_readall
   62511b1be7 Merge pull request #116 from thaJeztah/18.09_backport_apparmor_external_templates
   4dfe418aab Merge pull request #118 from thaJeztah/18.09_backport_fence_default_addr_pools
   34a9d0e6de Merge pull request #119 from thaJeztah/18.09_backport_fix_default_addr_pools_swagger
   cbd6c39e45 Merge pull request #120 from thaJeztah/18.09_backport_check_for_more_ipvs_options
   6947813afd Merge pull request #1454 from thaJeztah/18.09_backport_defaulttcpschema
   f10a3615ef Merge pull request #121 from thaJeztah/18.09_backport_containerd_v1.2.1
   09cf4efc43 Merge component 'engine' from git@github.com:docker/engine 18.09
   4ad68f7ef8 Merge component 'cli' from git@github.com:docker/cli 18.09
   b213b03c69 Merge pull request #1532 from tiborvass/18.09-fix-system-prune-filters
   aae62fd361 Merge pull request #122 from tonistiigi/buildkit-18091
   5e2e842819 Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 18.09
   959e3a80b6 Merge pull request #254 from thaJeztah/18.09_backport_remove_old_distros
   c79dceaf6e Merge component 'engine' from git@github.com:docker/engine 18.09
   71bb7e098b vendor: update buildkit to v0.3.3
   54654abf3a builder: avoid unset credentials in containerd
   079995778e builder: ignore `label` and `label!` prune filters
   fd572d6e86 builder: deprecate prune filter `unused-for` in favor of `until`
   0b06dc8581 prune: move image pruning before build cache pruning
   2aed2152c7 Merge pull request #84 from thaJeztah/18.09_backport_ovr2_index
   78dccb265d Ignore default address-pools on API < 1.39
   66a497c4f1 apparmor: allow receiving of signals from 'docker kill'
   9baf0f2b61 Update containerd to v1.2.1-rc.0
   9a2dacb99c wip: bump containerd and runc version
   309dc64b35 Bump containerd binary to fix shim hang
   1372540bda Update runc to 58592df56734acf62e574865fe40b9e53e967910
   d9478a175e Update containerd to v1.2.0
   d1211604a7 Add a note about updating runc / runc vendoring
   4056fb2fc0 Update containerd to v1.1.4
   fd1e90db5d Merge component 'cli' from git@github.com:docker/cli 18.09
   a788be9103 Merge pull request #1531 from thaJeztah/18.09_backport_builder_docs
   4f11099b2c Merge component 'cli' from git@github.com:docker/cli 18.09
   30082f9418 buildkit reference docs
   f36ca54c74 Documenting ENTRYPOINT can empty value of CMD
   3489e73a84 Merge pull request #1530 from thaJeztah/18.09_backport_add_logging_driver_example
   a01ddfe92a Update daemon.json example to show that log-opts must be a string
   bab6ed741c Merge component 'cli' from git@github.com:docker/cli 18.09
   d437d33fc8 Merge pull request #1526 from thaJeztah/18.09_backport_completion_fix_service__force
   2fbaf4d74c Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 18.09
   1703e794fe Merge pull request #258 from seemethere/sockittome
   72b2e41948 Fix bash completion for `service update --force`
   bcbad46784 Add CONFIG_IP_VS_PROTO_TCP, CONFIG_IP_VS_PROTO_UDP, IP_NF_TARGET_REDIRECT to check-config.sh
   87524aec57 Add missing default address pool fields to swagger
   8fc20c5a25 Add the docker.socket back in
   8e430bdb17 Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 18.09
   7429544e27 Merge component 'engine' from git@github.com:docker/engine 18.09
   1ece4fbc13 Merge pull request #255 from thaJeztah/18.09_backport_cosmic
   497150a448 Merge pull request #256 from thaJeztah/18.09_backport_fedora29
   72b50c8f3c Merge pull request #109 from thaJeztah/18.09_backport_cleanup_volume_tests
   40c17e0f1b Merge pull request #103 from thaJeztah/18.09_backport_fix_double_scheme
   a4d9985c38 runc.installer: add nokmem build tag for rhel7 kernel
   fd839bc749 Bump runc
   c539968eac client: use io.LimitedReader for reading HTTP error
   825b77191a Windows: DetachVhd attempt in cleanup
   6ad9059d36 awslogs: account for UTF-8 normalization in limits
   3cd1faba5a API: properly handle invalid JSON to return a 400 status
   2ccb209d78 Enable volume tests on Windows
   7f84ab28cd Integration test: use filepath.Join() to make path cross-platform
   0356a45a1c Some improvements to TestVolumesInspect
   a5a251a531 Renamed windowsRS1.ps1 to windows.ps1
   36fc33af11 Enabling Windows integration tests
   171a95c777 Windows: Start of enabling tests under integration/
   4d60db472b Merge pull request #568 from andrewhsu/ga
   255b96feb8 added link to official release notes page
   f2343d1f79 bump ver 18.09.0 and update changelog
   aba1f6009c Merge pull request #567 from thaJeztah/18.09_fixup_changelog
   a725999adf Merge component 'engine' from git@github.com:docker/engine 18.09
   97ead3de83 Merge pull request #74 from thaJeztah/18.09_backport_no_more_version_mismatch
   26724923df Merge pull request #79 from thaJeztah/18.09_backport_bugfix_issue_37870
   9e9298ef28 Merge pull request #108 from tonistiigi/copy-0.1.9
   a1a6612bf9 Merge pull request #96 from thaJeztah/18.09_backport_fix-duplicate-release
   a78fdada01 builder: update copy to 0.1.9
   550a02aa99 Merge pull request #105 from tiborvass/18.09-bk-fix-filters
   e2c5b23d49 [18.09 backport] update libnetwork to fix iptables compatibility on debian
   90250502de update containerd client and dependencies to v1.2.0
   02673c7372 bump up runc
   3d605988c4 Vendor Microsoft/hcsshim @ v0.7.9
   cd9d72e185 LCOW: ApplyDiff() use tar2ext4, not SVM
   0c72992e43 builder: fix bugs when pruning buildkit cache with filters
   ac4c86d93f Fix typo in changelog
   81daf7f4fb Fix double "unix://" scheme in TestInfoAPIWarnings
   3cf3a6d8dd Add initial scripts for Fedora 29
   c42096eff2 Add initial scripts for Ubuntu Cosmic (18.10)
   8d9b4f4fd9 README: remove Ubuntu 17.10 "Artful"
   6c2e70dfb4 Remove Ubuntu 14.04 "trusty tahr" build scripts
   4944d0221b Remove build scripts for Debian 8 "Jessie"
   5955459088 README: Remove mention of Debian 7 Wheezy
   ea7e1c4aaa builder: fix duplicate mount release
   b8f9cfd066 testing: add case for exec closeStdin
   36aa32ea5b add test case TestNewAPIClientFromFlagsForDefaultSchema
   cbcb491714 set default schema to tcp for docker host
   09de879e7a Deprecate legacy overlay storage driver, and add warning
   b1f3714ba1 Deprecate "devicemapper" storage driver, and add warning
   f3d391be68 overlay2: use index=off if possible
   c38ae153e0 overlay2: use global logger instance
   4a29152cb9 Windows:Allow process isolation
   ddba35eade bugfix: wait for stdin creation before CloseIO
   dd03cc8be5 Remove version-checks for containerd and runc

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-21 09:45:01 -04:00
Hongzhi.Song
8354c9cec4 irqbalance: uprev to v1.5.0
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-20 14:43:37 -04:00
Robert Yang
30167e3bcc docker: Set the same COMPATIBLE_HOST as containerd-opencontainers.
It depends on virtual/containerd which is provided by
containerd-opencontainers, so set the same COMPATIBLE_HOST as the last one.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-20 14:42:42 -04:00
Hongzhi.Song
8d88c35fb9 notary: uprev to v0.6.1
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-20 14:42:42 -04:00
Mark Asselstine
fb524ca5a2 netns: change build target to 'build' instead of 'static'
Attempting to build for x86-64 will result in an error:
   cannot find package runtime/cgo (using -importcfg)
   ...go/pkg/tool/linux_amd64/link: cannot open file : open : no such file or directory

As a workaround we switch the build target to 'build' which results in
a slightly smaller executable but does mean that several dynamic
libraries are required to run the generated executable. This shouldn't
be a problem as the build system will ensure the libraries are present
on images where the executable will be included. This change only
means the executable can't be copied as a single entity to a different
machine and run.

We do also patch the Makefile to allow the 'static' target to build
successfully and in the patch commit log we describe the issue in full
(at least in as much detail as we currently have on the issue). But
since the issue isn't fully understood we don't recommend the 'static'
build to be used at this time, thus default to the 'build' target.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-20 14:42:42 -04:00
Dengke Du
a1528f85a6 libvirt: place the qemu configure option to PACKAGECONFIG
If we build libvirt with mips64 arch will fail that was not compatible with,
so place the qemu configure options to PACKAGECONFIG, let the PACKAGECONFIG
control the build options.

qemu is in the default PACKAGECONFIG, so we are not changing the build
for non-mips architectures.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-20 14:42:42 -04:00
Bruce Ashfield
5fd37dbe1c kernel: add 5.0 bbappend
Althought the bbappends are currently empty, lets stick with
the versioned (versus wildcard) bbappend. They serve as an
explicit reference to which kernels have been tested with
meta-virt

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-18 09:52:33 -04:00
Hongzhi.Song
2f600a9df3 nagios-core: uprev to v4.4.3
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-17 00:19:07 +00:00
Hongzhi.Song
b3e9a2b333 nagios-nsca: uprev to v2.9.2
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-17 00:19:07 +00:00
He Zhe
4b62efe469 lxc: Correct CONFIG_CGROUP_NET_PRIO setting
Since af6363374cbd ("cgroup: make CONFIG_CGROUP_NET_PRIO bool and drop unnecessary init_netclassid_cgroup()"),
CONFIG_CGROUP_NET_PRIO has become a bool option. Forcedly setting it to "m"
would end up with "n". Change it to "y" here.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-17 00:19:03 +00:00
Dengke Du
ed9045b143 ceph: upgrade to 14.1.0
1. set the cross compile sysroot to find the rocksdb library
2. correct the install path for library in Distutils.cmake

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-17 00:18:31 +00:00
Dan Callaghan
2a44defc69 python-docker: depend on python-misc for the ntpath module
Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-08 16:01:28 -05:00
Hongzhi.Song
080f6b412d docker-distribution: uprev to v2.7.1
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-05 11:50:10 -05:00
Dengke Du
b5b5defc78 libvirt: add hook support
1. Add a hook support script for libvirt
   Add daemon, qemu, lxc and network script when the correspond to
   libvirt daemon, qemu guest, lxc guest and network started or stoped,
   based on:
   https://libvirt.org/hooks.html

2. Add a qemu user and a qemu group and a kvm group

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-01 11:37:46 -05:00
Dengke Du
3e7593f357 criu: fix host gcc can't recognized option -fmacro-prefix-map
Generally, our host gcc version below 8.0, but cross toolchain in yocto
above 8.0, now 8.3, the option "macro-prefix-map" coming from 8.0, so if
the host gcc below 8.0, it can't unrecognized the option "macro-prefix-map".

In criu source code, the HOSTCFLAGS coming from CFLAGS:
    https://github.com/checkpoint-restore/criu/blob/criu-dev/Makefile#L17
In yocto project, the CFLAGS coming from the cross toolchain, containing
the "-fmacro-prefix-map" default, so we should use the BUILD_CFLAGS, it
contains the flags that used for host building.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-01 11:37:43 -05:00
Bruce Ashfield
832a0f1e10 containers: introduce sample/reference container-base image type
container-base is a sample/reference image type that uses the
newly integrated image-oci image type to directly create OCI
compatible images from a build.

This image type can be inherited and extended to implement more
complex container types, with modified image configurations.

It is inspired by / based off the samples in the presentation
done by Scott Murray (Building Container Images with
OpenEmbedded and the Yocto Project) at ELCe 2018.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-02-27 11:46:34 -05:00
Bruce Ashfield
29c60173e2 containers: introduce image-oci
This image class creates an oci image spec directory from a generated
rootfs. The contents of the rootfs do not matter (i.e. they need not be
container optimized), but by using the container image type and small
footprint images, we can create directly executable container images.

Once the tarball (or oci image directory) has been created of the OCI
image, it can be manipulated by standard tools. For example, to create a
runtime bundle from the oci image, the following can be done:

Assuming the image name is "container-base":

  If the oci image was a tarball, extract it (skip, if a directory is being directly used)
    % tar xvf container-base-<arch>-<stamp>.rootfs-oci-latest-x86_64-linux.oci-image.tar

  And then create the bundle:
    % oci-image-tool create --ref name=latest container-base-<arch>-<stamp>.rootfs-oci container-base-oci-bundle

  Or to copy (push) the oci image to a docker registry, skopeo can be used (vary the
  tag based on the created oci image:

    % skopeo copy --dest-creds <username>:<password> oci:container-base-<arch>-<stamp>:latest docker://zeddii/container-base

The following image variables are available to customize the details
of the constructed image (defaults as shown):

   OCI_IMAGE_AUTHOR ?= "${PATCH_GIT_USER_NAME}"
   OCI_IMAGE_AUTHOR_EMAIL ?= "${PATCH_GIT_USER_EMAIL}"

   OCI_IMAGE_TAG ?= "latest"
   OCI_IMAGE_RUNTIME_UID ?= ""

   OCI_IMAGE_ARCH ?= "${TARGET_ARCH}"
   OCI_IMAGE_SUBARCH ?= "${@oci_map_subarch(d.getVar('TARGET_ARCH'), d.getVar('TUNE_FEATURES'), d)}"

   OCI_IMAGE_ENTRYPOINT ?= "sh"
   OCI_IMAGE_ENTRYPOINT_ARGS ?= ""
   OCI_IMAGE_WORKINGDIR ?= ""

   //List of ports to expose from a container running this image:
   //PORT[/PROT]
   //  format: <port>/tcp, <port>/udp, or <port> (same as <port>/tcp).
   OICI_IMAGE_PORTS ?= ""

   // key=value list of labels
   OCI_IMAGE_LABELS ?= ""
   // key=value list of environment variables
   OCI_IMAGE_ENV_VARS ?= ""

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-02-27 11:46:25 -05:00
Bruce Ashfield
9c686c4bb0 containers: introduce sloci for generating OCI image directories
There are multiple different tools/techniques to generate OCI images.
Many of these techniques are part of more complex workflows, or have
many options that are needed as part of a larger system or are needed
to provide flexibility in the tooling (i.e. they construct the
container as well as build the OCI image, or they can push directly
to a registry, etc).

What we want within the build context of bitbake/oe is to not
duplicate work that is done by bitbake, the other image bbclasses
or the runtime part of the ecosystem. This means only the construction
of an image-spec v1.x image without dependencies on build, or execution
of the container within a tool. We'd also like the tool to not pull
in multiple, unused dependencies that must be built native/native-sdk,
etc, to support the simple use case.

The requirements above exclude (for now) tools such as skopeo, umoci,
buildah, img, orca-build, kaniko, scratchbuild, etc. Leading us to
a from-scratch implementation .. or enter sloci-image.

sloci-image is a simple CLI for packing a rootfs into a single layer
OCI image. It can easily be extended, or ported to other language
implementations in the future. But it brings nearly no native
dependencies and is a pure/clean implementation of the image spec
that integrates nicely in an oe/bitbake environment.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-02-27 11:46:25 -05:00
Christopher Clark
4cbd6c2b46 ipxe: Uprev and fix host compiler and linker flags.
Adds patch to fix detection of the "no-pie" vs "nopie" flag, which needs
to be performed for both the host and target compilers; cannot assume
that one works for the other.

Use EXTRA_HOST_CFLAGS and EXTRA_HOST_LDFLAGS variables for passing
the host tool build parameters: BUILD_CFLAGS and BUILD_LDFLAGS.

Drop unneeded 'NO_WERROR=1' from the recipe and rewrap line.

Uprev commit to latest git revision.

Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-02-21 03:15:23 +00:00
Oleksandr Kravchuk
aea2a3531a lxc: remove perl-module-warnings-register from RDEPENDS
This module is part of the perl package now and is shipped by default.

Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-02-21 03:15:23 +00:00
Stefan Agner
da75d2a91a runc: address CVE-2019-5736
Use git hash which addresses CVE-2019-5736. Use the same git hash
used in top of Docker 18.09 branch.

Changes in runc since
  6635b4f0 merge branch 'cve-2019-5736'
  0a8e4117 nsenter: clone /proc/self/exe to avoid exposing host binary to container
  dd023c45 merge branch 'pr-1972'

Fixes: CVE-2019-5736
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-02-15 20:10:36 +00:00
Bruce Ashfield
8c1284f921 containerd: update to v1.2.4
Updating containerd to 1.2.4 (and switching to the release branch
for our git hash). The following commits are in this update:

   e6b3f563 Merge pull request #3002 from estesp/prepare-1.2.4-release
   5d1443dc Prepare v1.2.4 release
   2095626c Merge pull request #3014 from thaJeztah/1.2_bump_cri
   78286104 Merge pull request #3013 from thaJeztah/1.2_backport_windows_changes
   3cbdf9e4 [release/1.2] update containerd/cri to da0c016c830b2ea97fd1d737c49a568a816bf964
   dfa19e59 Windows:NewDirectIOFromFIFOSet
   84a14ae0 Update runhcs options to include CRI Sandbox support
   6a8198b0 Forward ctr.exe --debug as io.containerd.runhcs.v1 options
   d40cc95f Implement io.containerd.runhcs.v1 shim log opts
   30ca1c55 Add io.containerd.runhcs.v1 shim proto options
   7908802c Fix Makefile to run protobuild on paths with spaces
   583472f6 Merge pull request #2998 from thaJeztah/1.2_backport_bump_runc_cve_2019-5736
   b4bf3e34 Update runc to 6635b4f0c6af3810594d2770f662f34ddc15b40d (CVE-2019-5736)
   74133fa4 Merge pull request #2995 from thaJeztah/1.2_backport_remove_normalize_image_ref
   ed756ffd Use distribution's reference.ParseDockerRef
   2fb38236 Bump github.com/docker/distribution to 0d3efadf0154c2b8a4e7b6621fff9809655cc580
   7f5f1176 Merge pull request #2974 from ehazlett/release-v1.2.3
   7216861d Update for 1.2.3 release
   5de147d9 Merge pull request #2984 from Random-Liu/update-cri-release-1.2
   f7ac34e3 Update cri plugin to c3cf754321fc38c6af5dfd2552fdde0ad192b31d.
   0137339c Merge pull request #2977 from crosbymichael/io-panic
   7daf0804 Fix potential containerd panic.
   2fd20f11 Merge pull request #2972 from crosbymichael/exec-lock
   5730c500 Add a separate lock for pid.
   b9b7ef32 Revert "use state machine management for exec.Pid()"
   dba2e5e5 Merge pull request #2965 from fuweid/remove-noop
   9b6a318a metadata/gc: remove the noop-loop for snapshot reference
   d86a73a4 Merge pull request #2946 from fuweid/platformruntime
   dd29d5c3 Merge pull request #2947 from fuweid/pull-oct
   a0b4da71 bugfix: support application/octet-stream during pull
   b4d38c0f runtime: add Add/Delete method in PlatformRuntime interface
   af900154 Merge pull request #2955 from Random-Liu/cherrypick-#2944-release-1.2
   ab2cf013 Use context.Background for `O_NONBLOCK` `OpenFifo`.
   fa60b5be Merge pull request #2953 from thaJeztah/1.2_backport_fix_xattr
   2244a20c fix: SCHILY.xattrs should be SCHILY.xattr
   8c9ede4f Merge pull request #2950 from crosbymichael/lint-release
   bf3c932a [release 1.2] fix: linter issue
   5c38d942 Merge pull request #2932 from AkihiroSuda/runc20190115-1.2
   32f10c77 bump up runc
   97548718 Merge pull request #2917 from dmcgowan/release-1.2.2
   ef637041 Update for 1.2.2 release
   4bb2b0c3 Merge pull request #2912 from Random-Liu/update-cri-release-1.2
   f30fd023 Update cri to 0d5cabd006cb5319dc965046067b8432d9fa5ef8 (branch release/1.2).
   46e63338 Merge pull request #2893 from thaJeztah/1.2_revert_temp_golang_fix
   e71a191f Revert "Fix CI due to Golang 1.10.6 / 1.11.3 regressions (workaround)"
   aa5e000c Merge pull request #2878 from andrewhsu/backport-1.2-fifo-timeout
   31be8649 Merge pull request #2881 from thaJeztah/1.2_backport_fix_ci_golang_1.11
   27c6449c Fix CI due to Golang 1.10.6 / 1.11.3 regressions (workaround)
   18f57e20 Add timeout and cancel to shim fifo open
   9b32062d Merge pull request #2852 from dmcgowan/prepare-1.2.1
   51134077 Update version to 1.2.1
   dcc47ddd Merge pull request #2861 from dmcgowan/cherrypick-1.2-2857
   4c327b8e Update runc to 96ec2177ae841256168fcf76954f7177af
   b65a1137 Merge pull request #2860 from Random-Liu/update-cri-release-1.2
   18e453e4 Update release note.
   586807a8 Update cri plugin to 0ca1e3c2b73b5c38e72f29bb76338d0078b23d6c.
   4b284fa3 Merge pull request #2856 from Random-Liu/cherrypick-#2854-release-1.2
   b413e843 Kill should still work in stopped state.
   a06cddc2 Merge pull request #2845 from nnttmm/backport_2826
   176a5621 Merge pull request #2842 from thaJeztah/1.2_backport_update_runc_1.0-rc6
   8dc87dd8 Merge pull request #2847 from thaJeztah/1.2_backport_mask_asound
   703786c5 Add /proc/asound to masked paths
   c42c8952 use state machine management for exec.Pid()
   93d5b4b0 Update runc to v1.0.0-rc6
   de1f167a Merge pull request #2819 from dmcgowan/prepare-1.2.1-rc
   27d72ba7 Update version
   e3840cce Add 1.2.1 release notes
   940c0c06 Merge pull request #2817 from Random-Liu/cherrypick-2811-release-1.2
   4598ec21 Lock `KillAll`.
   e429785c Merge pull request #2815 from thaJeztah/1.2_backport_shimlockwhenstdinclose
   9be591e4 Merge pull request #2803 from crosbymichael/cherry-proc-lock
   309973ed Merge pull request #2801 from crosbymichael/cherry-runc
   e4c49d70 Update runc to 10d38b660a77168360df3522881e2dc2be
   cd83a4e0 fix pipe in broken may cause shim lock forever for runtime v1
   275f99fe fix pipe in broken may cause shim lock forever for runtime v2
   39cd8634 Merge pull request #2795 from estesp/cherrypick-optimize-shim-lock
   3afc3f14 Merge pull request #2796 from estesp/cherrypick-exit-ch-buffers
   f9323ca9 Revert v2 dropped events
   4c72befe Fix process locking and state management
   14dc3078 Partially revert the event discard change in #2748.
   417d6941 Increase reaper buffer size and non-blocking send
   7ef5285b optimize shim lock in runtime v1
   040e73fd Merge pull request #2792 from estesp/cherrypick-update-hcsshim-vendor
   c4a256d3 Merge pull request #2790 from estesp/cherrypick-v1v2-runtime-fix
   73758765 Temp: add appveyor enablement for release/1.2 branch
   090e3e98 Revendor github.com/Microsoft/hcsshim
   046b6c6d enhance: update v1/v2 runtime
   7ff9f681 Merge pull request #2784 from Random-Liu/update-cri-release-1.2
   54895c0b Update cri to 2bb57d27203d82fc79c496aea724aec593b2705a.
   cd0ecb78 Merge pull request #2779 from thaJeztah/1.2_backport_ignore_modprobe_failures
   c4acd17e Ignore modprobe failures in ExecStartPre (systemd unit)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-02-15 20:10:36 +00:00
Dengke Du
b513fda519 ceph: disable ccache
When enable ccache for ceph, error occurs:
-----------------------------------------------------
    ccache: invalid option -- 'E'
    ...
    Unable to determine C++ standard library, got .
-----------------------------------------------------
This is because variable "CXX_STDLIB" was null in CMakeLists.txt line: 637,
The "CXX_STDLIB" come from:
-----------------------------------------------------
    execute_process(
      COMMAND ./librarytest.sh ${CMAKE_CXX_COMPILER} ${CMAKE_CXX_FLAGS}
      WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
      OUTPUT_VARIABLE CXX_STDLIB
      )
-----------------------------------------------------
The script librarytest.sh in ceph accept argument: compile and flags, but when
enable ccache, the compile replace by ccache, so that script failed.

So we disable ccache for ceph now.

Signed-off-by: Dengke Du <dengke.du@windriver.com>

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-02-14 14:03:49 +00:00
Tom Rini
72a920412f docker: Move /etc/docker to a symlink to volatiles
The only thing which docker uses /etc/docker for is a TLS key for
connecting with other TLS-enabled services.  Make /etc/docker a symlink
to the existing docker volatiles directory so that we can use docker on
a read-only rootfs.

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-02-11 13:47:33 +00:00
Bruce Ashfield
ba2d65e6bc runc: update to 1.0.0-rc6
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-02-11 02:34:05 +00:00
Bruce Ashfield
f4853222b5 containerd: update to v1.2.0
refreshing the containerd support to 1.2.x. We have to tweak the package
linking and update the go compile patch, but otherwise, the build is
unchanged.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-02-11 02:34:05 +00:00
Bruce Ashfield
d63b33b18f cri-o: update to 1.13.0
Bumping to the next cri-o release branch

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-02-11 02:34:05 +00:00
Bruce Ashfield
552103f580 k8s: update to v1.14-alpha
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-02-11 02:34:05 +00:00
Chris Patterson
fe63f43470 libvirt: fix dependency for libxl
"libxl" package does not exist, use Xen.

Signed-off-by: Chris Patterson <pattersonc@ainfosec.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-02-06 20:51:09 +00:00
Joe Slater
302a4c77c9 riddler: do not try to build for mips
This recipe does not build for mips, so set COMPATIBLE_HOST to avoid that.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-02-06 20:51:00 +00:00
Hongzhi.Song
f9acf9a266 openvswitch: uprev from v2.10.1 to v2.11
The v2.11 version fixed a bug as follow.

Error info:
ovs|00002|db_ctl_base|ERR|external-ids:hostname=: argument does not
end in "=" followed by a value.

The result of ptest between v2.11 and v2.10.1 is similar.
    v2.11:
    ERROR: 2765 tests were run,
    317 failed (1 expected failure).
    85 tests were skipped.

    v2.10.1:
    ERROR: 2662 tests were run,
    311 failed (1 expected failure).
    85 tests were skipped.

I checked the detailed result. The failed tests were mostly related
to python2 as the image only use python3.

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-02-03 03:49:55 +00:00
Hong Liu
274a72a5db python-webob:upgrade to 1.8.5
Upgrade python-webob from 1.8.2 to 1.8.5

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-02-03 03:42:29 +00:00
He Zhe
97dd9208b6 kernel: Add bbappend for linux-yocto-dev
linux-yocto-dev would also use virualization features.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2019-01-25 08:31:06 -05:00
Hongzhi.Song
5ba8e7ac84 linux/docker.cfg: CONFIG_NF_CONNTRACK_IPV4 was replaced by CONFIG_NF_CONNTRACK
kernel has replaced CONFIG_NF_CONNTRACK_IPV4 with CONFIG_NF_CONNTRACK.
[commit: a0ae2562c]

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2019-01-25 08:31:03 -05:00
Paul Barker
488b5aba28 Use SRCPV instead of SRCREV where possible
This change reduces the length of ${PV} for several recipes and gives us
auto-incrementing version numbers.

Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2019-01-16 10:28:26 -05:00
Paul Barker
8bd3ee327d runc.inc: Move RRECOMMENDS to runc-docker
If we're building runc-opencontainers it's likely that we're not using
docker.

Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2019-01-16 10:28:25 -05:00
Paul Barker
ea4ea5fbc3 netns: Use correct go toolchain
If we don't explicitly set the GO variable as an argument to make then
the native go toolchain is invoked instead of the cross-toolchain we
actually want. This can result in a netns binary which is built for the
wrong architecture.

Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2019-01-10 13:08:44 -05:00
Mark Asselstine
2387a8876e lxc: uprev from 3.0.3 to 3.1.0
Minor updates and fixes. Improved ptest results per below.

    root@cube-essential:/usr/lib64/lxc/ptest# ./run-ptest
    ### Starting LXC ptest ###
    FAIL: lxc-test-api-reboot
    SKIPPED: lxc-test-apparmor
    PASS: lxc-test-attach
    PASS: lxc-test-automount
    PASS: lxc-test-autostart
    PASS: lxc-test-basic
    PASS: lxc-test-cgpath
    PASS: lxc-test-cloneconfig
    PASS: lxc-test-clonetest
    PASS: lxc-test-concurrent
    PASS: lxc-test-config-jump-table
    PASS: lxc-test-console
    PASS: lxc-test-console-log
    PASS: lxc-test-containertests
    PASS: lxc-test-createconfig
    PASS: lxc-test-createtest
    PASS: lxc-test-criu-check-feature
    PASS: lxc-test-destroytest
    PASS: lxc-test-device-add-remove
    PASS: lxc-test-get_item
    PASS: lxc-test-getkeys
    PASS: lxc-test-list
    PASS: lxc-test-locktests
    PASS: lxc-test-lxcpath
    PASS: lxc-test-may-control
    PASS: lxc-test-mount-injection
    PASS: lxc-test-no-new-privs
    PASS: lxc-test-parse-config-file
    PASS: lxc-test-raw-clone
    PASS: lxc-test-reboot
    PASS: lxc-test-rootfs
    PASS: lxc-test-saveconfig
    PASS: lxc-test-share-ns
    PASS: lxc-test-shortlived
    SKIPPED: lxc-test-shutdowntest
    PASS: lxc-test-snapshot
    PASS: lxc-test-startone
    SKIPPED: lxc-test-state-server
    PASS: lxc-test-utils

    Results:
        PASSED = 35
        FAILED = 1
        SKIPPED = 3
        (for details check individual test log in ./logs directory)

    ### LXC ptest complete ###

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2019-01-10 13:08:41 -05:00
Mark Asselstine
9078c4bac5 linux-yocto: cleanup lxc.cfg kernel config fragment
fixes:
    WARNING: linux-yocto-4.18.21+gitAUTOINC+9e348b6f9d_db2d813869-r0
    do_kernel_configcheck: [kernel config]: This BSP sets config
    options that are not offered anywhere within this kernel:

    CONFIG_EXT3_FS_XATTR
    CONFIG_RESOURCE_COUNTERS
    CONFIG_CGROUP_MEM_RES_CTLR
    CONFIG_CLS_CGROUP
    CONFIG_NETPRIO_CGROUP
    CONFIG_DEVPTS_MULTIPLE_INSTANCES

Configs were either dropped or renamed according to the updates made
in the kernel, as capture below.

CONFIG_RESOURCE_COUNTERS gone since kernel v3.19 via mainline
commit 5b1efc027c0b51ca3e76f4e00c83358f8349f543.

CONFIG_CGROUP_MEM_RES_CTLR renamed since kernel v3.6 via mainline
commit c255a458055e459f65eb7b7f51dc5dbdd0caf1d8

CONFIG_CLS_CGROUP never existed AFAICT it should have always
been CONFIG_NET_CLS_CGROUP

CONFIG_NETPRIO_CGROUP renamed since kernel v3.14 via mainline
commit 86f8515f9721fa171483f0fe0391968fbb949cc9

CONFIG_DEVPTS_MULTIPLE_INSTANCES removed since kernel v4.7 via mainline
commit eedf265aa003b4781de24cfed40a655a664457e6

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2019-01-10 13:08:38 -05:00
Bruce Ashfield
a3c284dbe8 kernel: update bbappends to match oe-core
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-12-21 14:42:56 -05:00
Ting Yu
cbefd4d88c add the py2 version for python-docker and python-docker-pycreds packages
add the py2 version for python-docker and python-docker-pycreds packages.
add python-six and python-backport_ssl (for ph2 only) as python-docker dependencies.

verify the connection to docker engine at run time -
>>> import docker
>>> client = docker.from_env()
>>> client.images.list()
[<Image: 'hello-world:latest'>]

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-12-21 08:46:14 -05:00
Chin Huat Ang
21d8bcdb79 linux-yocto: add virtio kernel configs
Instead of setting virtio kernel configs in LXC fragment, just reuse
cfg/virtio.scc from yocto-kernel-cache.

Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-12-12 14:16:19 -05:00
Chin Huat Ang
f1c03f390e lxc: remove virtio kernel configs
The script lxc-checkconfig doesn't seem to report virtio related kernel
configs as required, so remove them from lxc.cfg instead.

Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-12-12 14:16:19 -05:00
Eric Chanudet
c4f4a623da xen: Amend do_install for FHS 3.0.
Under FHS 3.0: /var/run -> /run
http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s15.html

systemd-tmpfiles throws some warnings with /var/run in xen.conf:
systemd-tmpfiles[981]: [/etc/tmpfiles.d/xen.conf:1] Line references path below legacy directory /var/run/, updating /var/run/xenstored → /run/xenstored; please update the tmpfiles.d/ drop-in file accordingly.
systemd-tmpfiles[981]: [/etc/tmpfiles.d/xen.conf:2] Line references path below legacy directory /var/run/, updating /var/run/xend → /run/xend; please update the tmpfiles.d/ drop-in file accordingly.
systemd-tmpfiles[981]: [/etc/tmpfiles.d/xen.conf:3] Line references path below legacy directory /var/run/, updating /var/run/xend/boot → /run/xend/boot; please update the tmpfiles.d/ drop-in file accordingly.
systemd-tmpfiles[981]: [/etc/tmpfiles.d/xen.conf:4] Line references path below legacy directory /var/run/, updating /var/run/xen → /run/xen; please update the tmpfiles.d/ drop-in file accordingly.

Signed-off-by: Eric Chanudet <chanudete@ainfosec.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-12-12 14:16:12 -05:00
Jed
c1882281f7 xen: upgrade from 4.11.0 to 4.11.1
Signed-off-by: Jed <jed.openxt@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-12-12 14:16:08 -05:00
Oleksandr Kravchuk
73a3d80947 README: add optional dependency on meta-cloud-services
Ceph package depends on libibverbs, which is provided by the
meta-cloud-services layer.

Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-12-04 18:15:20 -05:00
Mark Asselstine
8e2ef132c1 lxcfs: uprev from v3.0.1 to v3.0.3
A very small # of new commits. Most are minor bug fixes, no feature
work. I looked at adding ptests but the tests are mostly in an
unusable state at the moment, for example several require cgm despite
cgmanager being deprecated. So I have opted to continue without them
and only when we can work with upstream to improve their testing can
we seriously consider adding them.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-12-04 18:15:14 -05:00
Ting Yu
5043d6263a Add pidfile flag to store dockerd PID in /var/run/dockerd.pid
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-12-04 18:15:11 -05:00
Hongzhi.Song
47dd312669 criu: Don't open /run/criu.kdat if doesn't exists
When CRIU is called for a first time and the /run/criu.kdat file does
not exists, the following warning is shown:
        Warn  (criu/kerndat.c:847): Can't load /run/criu.kdat

This patch is replacing this warning with a more appropriate debug
message.
        File /run/criu.kdat does not exist

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-11-29 12:11:41 -05:00
Mark Asselstine
338707dfc7 openvswitch: uprev from 2.10.0 to 2.10.1
Pickup the latest security and bug fixes for openvswitch.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
2018-11-29 12:05:18 -05:00