Daniel J Walsh
194a19afdd
Move to v1.15.4-dev
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-10 16:13:03 -05:00
Daniel J Walsh
7bb9317d53
Bump to v1.15.3
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-10 16:13:03 -05:00
Daniel J Walsh
57d7994da5
Merge pull request #490 from saschagrunert/layers-test
...
Add integration tests for images with a lot of layers
2019-12-10 12:25:35 -05:00
Nalin Dahyabhai
a132bbfdec
Merge pull request #488 from saschagrunert/lazy-init
...
Lazy initialize the layer store
2019-12-10 12:07:52 -05:00
Sascha Grunert
3f5ae4b433
Add integration tests for images with a lot of layers
...
As a follow-up of #489 we now add an integration test which adds an
image with a decent amount of layers.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-12-10 15:47:14 +01:00
Daniel J Walsh
4822c60538
Merge pull request #489 from vrothberg/overlay-layer-restrictions
...
overlay: allow storing images with more than 127 layers
2019-12-09 12:37:33 -05:00
Valentin Rothberg
fe15d204d3
overlay: allow storing images with more than 127 layers
...
Note that such images can now be stored but they cannot be
pushed yet. Supporting both use cases would be ideal for
source-container images that are known to have a large number
of layers, likely exceeding the current limit of 127 layers.
This limit is inherited from Docker to proactively restrict the
amount and size of arguments passed when mounting. All (lower)
layers must be specified at mount-time but we only have one page
to pass them.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-12-09 16:54:50 +01:00
Daniel J Walsh
9bacce1ab2
Merge pull request #487 from giuseppe/hold-mutex-on-write
...
tarlogger: drop state mutex
2019-12-09 10:28:20 -05:00
Sascha Grunert
67ae39c0b3
Lazy initialize the layer store
...
The layer store gets memoized in any case so we can skip the initial
setup on store load.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-12-09 15:01:14 +01:00
Giuseppe Scrivano
d65c99c149
tarlogger: drop state mutex
...
detect when the read pipe got closed by using the Write error code.
It solves a race, where the pipe could be closed between the check and
the actual write.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-12-07 10:55:07 +01:00
Daniel J Walsh
c185372886
Merge pull request #485 from rhatdan/version
...
Bump Version to 1.15.2
2019-12-05 14:06:39 +01:00
Daniel J Walsh
6547dcf3b1
Move to v1.15.3-dev
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-04 16:38:30 +01:00
Daniel J Walsh
98799f7874
Bump to v1.15.2
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-04 16:38:26 +01:00
Daniel J Walsh
ed1edc8a14
Merge pull request #482 from containers/dependabot/go_modules/github.com/klauspost/compress-1.9.4
...
Bump github.com/klauspost/compress from 1.9.3 to 1.9.4
2019-12-04 16:35:43 +01:00
Daniel J Walsh
26d075e54b
Merge pull request #484 from vrothberg/chrootarchive
...
chrootarchive: invokeUnpack: close pipe on all return paths
2019-12-04 14:43:00 +01:00
Daniel J Walsh
046dbf97bd
Merge pull request #483 from saschagrunert/lgetxattr-panic
...
Fix possible runtime panic in Lgetxattr
2019-12-04 14:34:21 +01:00
dependabot-preview[bot]
cd0656ad1b
Bump github.com/klauspost/compress from 1.9.3 to 1.9.4
...
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress ) from 1.9.3 to 1.9.4.
- [Release notes](https://github.com/klauspost/compress/releases )
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml )
- [Commits](https://github.com/klauspost/compress/compare/v1.9.3...v1.9.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-04 07:31:16 -06:00
Sascha Grunert
aca03d333c
Fix possible runtime panic in Lgetxattr
...
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-12-04 11:15:21 +01:00
Valentin Rothberg
0bba9c8584
Merge pull request #480 from rhatdan/skip
...
Overlayfs has dropped support for skip_mount_home options
2019-12-04 11:08:19 +01:00
Daniel J Walsh
31b1ca9b90
Overlayfs has dropped support for skip_mount_home options
...
Remove all references to the option in man pages in default configuration.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-03 19:02:22 +01:00
Daniel J Walsh
a588d24d2e
Merge pull request #481 from containers/dependabot/go_modules/github.com/Microsoft/hcsshim-0.8.7
...
Bump github.com/Microsoft/hcsshim from 0.8.6 to 0.8.7
2019-12-03 16:24:19 +01:00
Valentin Rothberg
3cf31701fa
chrootarchive: invokeUnpack: close pipe on all return paths
...
Make sure that the created pipe is closed on all return paths.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-12-03 15:21:33 +01:00
dependabot-preview[bot]
e744609919
Bump github.com/Microsoft/hcsshim from 0.8.6 to 0.8.7
...
Bumps [github.com/Microsoft/hcsshim](https://github.com/Microsoft/hcsshim ) from 0.8.6 to 0.8.7.
- [Release notes](https://github.com/Microsoft/hcsshim/releases )
- [Commits](https://github.com/Microsoft/hcsshim/compare/v0.8.6...v0.8.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-03 15:14:30 +01:00
Daniel J Walsh
1284fa6037
Merge pull request #476 from rhatdan/mipsel
...
Fix compile on mipsel
2019-12-02 09:00:35 -05:00
Daniel J Walsh
201e1251b7
Merge pull request #478 from vrothberg/revert-sys
...
revert golang.org/x/sys
2019-12-02 07:18:53 -05:00
Valentin Rothberg
54d76b16f1
revert golang.org/x/sys
...
Revert golang.org/x/sys to a known-to-work version. Recent breaking
changes in this package introduce build regressions. Thoss have already
been fixed in containers/storage but other (transitive) dependencies of
consumers of c/storage are not, and hence break builds.
See https://github.com/containers/libpod/pull/4598#issuecomment-560304335
as an example.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-12-02 11:03:55 +01:00
Daniel J Walsh
69dc644a63
Fix compile on mipsel
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-12-01 07:05:49 -05:00
Daniel J Walsh
564e60a7a1
Merge pull request #472 from rhatdan/master
...
Bump to v1.15.1
2019-11-28 11:28:48 -05:00
Daniel J Walsh
30f7d4b0b5
Move to v1.15.2-dev
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-11-28 07:19:29 -05:00
Daniel J Walsh
8400977b28
Bump to v1.15.1
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-11-28 07:19:29 -05:00
Daniel J Walsh
3214d4e292
Merge pull request #471 from containers/dependabot/go_modules/github.com/klauspost/compress-1.9.3
...
Bump github.com/klauspost/compress from 1.9.2 to 1.9.3
2019-11-28 07:18:45 -05:00
dependabot-preview[bot]
2a6397967b
Bump github.com/klauspost/compress from 1.9.2 to 1.9.3
...
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress ) from 1.9.2 to 1.9.3.
- [Release notes](https://github.com/klauspost/compress/releases )
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml )
- [Commits](https://github.com/klauspost/compress/compare/v1.9.2...v1.9.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-11-28 06:14:06 -05:00
Daniel J Walsh
a92cba2064
Merge pull request #470 from zmedico/archive-user-xattr-e2big
...
pkg/archive: limit user xattr value size to math.MaxUint16 bytes
2019-11-28 06:12:14 -05:00
Zac Medico
091491bbf7
pkg/archive: limit user xattr value size to math.MaxUint16 bytes
...
This should avoid the following panic in Lgetxattr:
panic: runtime error: makeslice: len out of range
Fixes: 0da4bc60b3 ("pkg/archive: strictly handle errors reading xattrs")
See: https://travis-ci.org/containers/buildah/jobs/617652963
Signed-off-by: Zac Medico <zmedico@gmail.com>
2019-11-27 14:41:08 -08:00
Daniel J Walsh
1a863b604e
Merge pull request #469 from vrothberg/drop-filesys
...
remove pkg/system/filesys*
2019-11-27 09:35:46 -05:00
Valentin Rothberg
fae1939e83
remove pkg/system/filesys*
...
This API caused build regressions as golang.org/x dependencies
introduced breaking changes. We don't have any callers in our
projects and I consider it a bug that those APIs were there,
which might prevent us from causing a major bump.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2019-11-27 13:31:52 +01:00
Daniel J Walsh
720066d2cf
Merge pull request #468 from rhatdan/version
...
Bump to v1.15.0
2019-11-26 07:17:43 -05:00
Daniel J Walsh
9f9ae7d845
Move to v1.15.1-dev
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-11-26 06:45:18 -05:00
Daniel J Walsh
30dba0edf2
Bump to v1.15.0
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-11-26 06:44:28 -05:00
Daniel J Walsh
02614b1e90
Merge pull request #466 from zmedico/vfs-user-xattrs
...
VFS support for user.* xattrs
2019-11-25 11:53:48 -05:00
Daniel J Walsh
974b127af7
Merge pull request #467 from rhatdan/runroot
...
Move runroot containers storage into containers directory
2019-11-25 10:17:18 -05:00
Daniel J Walsh
8aac4ac83a
Merge pull request #422 from saschagrunert/history-names
...
Add names-history support
2019-11-22 16:22:45 -05:00
Zac Medico
f39fb8370d
Remove redundant if statements for nil slices
...
Suggested-by: Daniel J Walsh <dwalsh@redhat.com>
Signed-off-by: Zac Medico <zmedico@gmail.com>
2019-11-22 13:02:42 -08:00
Zac Medico
0da4bc60b3
pkg/archive: strictly handle errors reading xattrs
...
Suggested-by: Giuseppe Scrivano <gscrivan@redhat.com>
Signed-off-by: Zac Medico <zmedico@gmail.com>
2019-11-22 11:05:31 -08:00
Daniel J Walsh
b6f5c760ad
Move runroot containers storage into containers directory
...
Currently we are throwing lots of files/directories into the
top level of /run/user/UID/ And this makes it difficult to cleanup.
Switching to using /run/user/UID/containers, makes it easier and cleaner.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-11-22 12:49:57 -05:00
Zac Medico
5fc095c06d
VFS support for user.* xattrs
...
Preservation of user.* xattrs is supported by most (if not all) other
drivers, and it's especially useful for containers that run under a
PaX kernel where "user.pax.flags" is used to store PaX flags.
Signed-off-by: Zac Medico <zmedico@gmail.com>
2019-11-20 22:15:20 -08:00
Daniel J Walsh
63a0f4e50c
Merge pull request #465 from rhatdan/master
...
Bump to v1.14.0
2019-11-19 06:05:11 -08:00
Daniel J Walsh
bba7f910db
Move to v1.14.1-dev
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-11-19 04:22:40 -08:00
Daniel J Walsh
905edaf56f
Bump to v1.14.0
...
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-11-19 04:22:00 -08:00
Daniel J Walsh
11e519354e
Merge pull request #464 from containers/dependabot/go_modules/github.com/klauspost/compress-1.9.2
...
Bump github.com/klauspost/compress from 1.9.1 to 1.9.2
2019-11-18 07:47:26 -05:00