From ea8d1c07df18ceb94932fcc94ad00eb57c99da33 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 15 Feb 2025 02:56:08 +0900 Subject: priv/shim: move /sbin/init setup to app Signed-off-by: Ophestra --- internal/app/app_nixos_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'internal/app/app_nixos_test.go') diff --git a/internal/app/app_nixos_test.go b/internal/app/app_nixos_test.go index c43034ab..e6e232bf 100644 --- a/internal/app/app_nixos_test.go +++ b/internal/app/app_nixos_test.go @@ -219,6 +219,8 @@ var testCasesNixos = []sealTestCase{ Bind("/tmp/fortify.1971/8e2c76b066dabe574cf073bdb46eb5c1/pulse-cookie", fst.Tmp+"/pulse-cookie"). Bind("/tmp/fortify.1971/8e2c76b066dabe574cf073bdb46eb5c1/bus", "/run/user/1971/bus"). Bind("/tmp/fortify.1971/8e2c76b066dabe574cf073bdb46eb5c1/system_bus_socket", "/run/dbus/system_bus_socket"). - Tmpfs("/var/run/nscd", 8192), + Tmpfs("/var/run/nscd", 8192). + Bind("/run/wrappers/bin/fortify", "/.fortify/sbin/fortify"). + Symlink("fortify", "/.fortify/sbin/init"), }, } -- cgit v1.3.1