1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/logger
Brian Goff 0e5eaf8ee3 Ensure plugin returns correctly scoped paths
Before this change, volume management was relying on the fact that
everything the plugin mounts is visible on the host within the plugin's
rootfs. In practice this caused some issues with mount leaks, so we
changed the behavior such that mounts are not visible on the plugin's
rootfs, but available outside of it, which breaks volume management.

To fix the issue, allow the plugin to scope the path correctly rather
than assuming that everything is visible in `p.Rootfs`.
In practice this is just scoping the `PropagatedMount` paths to the
correct host path.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2018-02-07 15:48:27 -05:00
..
awslogs Don't append new line for maximum sized events 2018-01-21 14:29:55 +13:00
etwlogs
fluentd Added SubSecondPrecision flag in fluentd logger 2017-12-05 17:21:57 +05:30
gcplogs Remove redundant build-tags 2017-12-18 17:41:53 +01:00
gelf Merge pull request #35073 from mle-ii/master 2017-11-08 14:53:56 -08:00
journald Add journald tag as SYSLOG_IDENTIFIER 2017-11-22 08:51:23 +00:00
jsonfilelog Carry 34248 Added tag log option to json-logger and use RawAttrs 2018-01-19 17:51:20 +00:00
logentries Logentries line-only logopt fix to maintain backwards compatibility 2017-11-30 13:03:16 +00:00
loggerutils Move json log reading into log file object 2017-11-04 08:31:58 -04:00
splunk Splunk: limit the reader size on error responses 2017-12-07 11:22:58 -05:00
syslog
templates
adapter.go Ensure plugin returns correctly scoped paths 2018-02-07 15:48:27 -05:00
adapter_test.go
copier.go logger: copy to log driver's bufsize 2017-10-30 16:25:09 +00:00
copier_test.go logger: copy to log driver's bufsize 2017-10-30 16:25:09 +00:00
factory.go
logger.go Refactor log file writer 2017-11-04 08:15:20 -04:00
logger_test.go
loginfo.go
plugin.go Ensure plugin returns correctly scoped paths 2018-02-07 15:48:27 -05:00
plugin_unix.go Remove solaris build tag and `contrib/mkimage/solaris 2017-11-02 00:01:46 +00:00
plugin_unsupported.go Remove solaris build tag and `contrib/mkimage/solaris 2017-11-02 00:01:46 +00:00
proxy.go
ring.go
ring_test.go