diff options
| author | Ophestra Umiker <cat@ophivana.moe> | 2024-11-04 22:18:05 +0900 |
|---|---|---|
| committer | Ophestra Umiker <cat@ophivana.moe> | 2024-11-04 22:18:05 +0900 |
| commit | fc25ac2523c512c67d73db5bbbd47224dc0b2001 (patch) | |
| tree | 5995444ddebfdc66d0f65370ca63a542e19444d0 /internal/app/app_nixos_test.go | |
| parent | d909b1190ac0e9a357998dd800405bc9bc41f49c (diff) | |
app: separate auto etc from permissive defaults
Populating /etc with symlinks is quite useful even outside the permissive defaults usage pattern.
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
Diffstat (limited to 'internal/app/app_nixos_test.go')
| -rw-r--r-- | internal/app/app_nixos_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/app/app_nixos_test.go b/internal/app/app_nixos_test.go index 68cb5fcc..c5a31a65 100644 --- a/internal/app/app_nixos_test.go +++ b/internal/app/app_nixos_test.go @@ -58,7 +58,6 @@ var testCasesNixos = []sealTestCase{ Tmpfs("/dev/fortify", 4096). Bind("/bin", "/bin", false, true). Bind("/boot", "/boot", false, true). - Bind("/etc", "/dev/fortify/etc"). Bind("/home", "/home", false, true). Bind("/lib", "/lib", false, true). Bind("/lib64", "/lib64", false, true). @@ -102,6 +101,7 @@ var testCasesNixos = []sealTestCase{ Bind("/run/wrappers", "/run/wrappers", false, true). Bind("/run/zed.pid", "/run/zed.pid", false, true). Bind("/run/zed.state", "/run/zed.state", false, true). + Bind("/etc", "/dev/fortify/etc"). Symlink("/dev/fortify/etc/alsa", "/etc/alsa"). Symlink("/dev/fortify/etc/bashrc", "/etc/bashrc"). Symlink("/dev/fortify/etc/binfmt.d", "/etc/binfmt.d"). @@ -308,7 +308,6 @@ var testCasesNixos = []sealTestCase{ Tmpfs("/dev/fortify", 4096). Bind("/bin", "/bin", false, true). Bind("/boot", "/boot", false, true). - Bind("/etc", "/dev/fortify/etc"). Bind("/home", "/home", false, true). Bind("/lib", "/lib", false, true). Bind("/lib64", "/lib64", false, true). @@ -353,6 +352,7 @@ var testCasesNixos = []sealTestCase{ Bind("/run/zed.pid", "/run/zed.pid", false, true). Bind("/run/zed.state", "/run/zed.state", false, true). Bind("/dev/dri", "/dev/dri", true, true, true). + Bind("/etc", "/dev/fortify/etc"). Symlink("/dev/fortify/etc/alsa", "/etc/alsa"). Symlink("/dev/fortify/etc/bashrc", "/etc/bashrc"). Symlink("/dev/fortify/etc/binfmt.d", "/etc/binfmt.d"). |
