From a2bfe1eb1e5f0490682704a39503e68a958c4672 Mon Sep 17 00:00:00 2001 From: Aviram Hassan Date: Mon, 11 Dec 2023 17:11:19 +0200 Subject: [PATCH] add /var/tmp to default read local to fix asdf issue 2051 (#2106) --- changelog.d/2051.fixed.md | 1 + mirrord/layer/src/file/filter/read_local_by_default.rs | 1 + 2 files changed, 2 insertions(+) create mode 100644 changelog.d/2051.fixed.md diff --git a/changelog.d/2051.fixed.md b/changelog.d/2051.fixed.md new file mode 100644 index 00000000000..c1dadc294c6 --- /dev/null +++ b/changelog.d/2051.fixed.md @@ -0,0 +1 @@ +Fix asdf compatability by adjusting local files read defaults \ No newline at end of file diff --git a/mirrord/layer/src/file/filter/read_local_by_default.rs b/mirrord/layer/src/file/filter/read_local_by_default.rs index 6ff4d73f545..88fdc85d988 100644 --- a/mirrord/layer/src/file/filter/read_local_by_default.rs +++ b/mirrord/layer/src/file/filter/read_local_by_default.rs @@ -28,6 +28,7 @@ pub fn regex_set_builder() -> RegexSetBuilder { r"^/dev(/|$)", r"^/opt(/|$)", r"^/tmp(/|$)", + r"^/var/tmp(/|$)", r"^/snap(/|$)", // support for nixOS. r"^/nix(/|$)",