From 2253b4c35d1e77efb65da238c8a4782372b09339 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 3 Dec 2025 10:14:43 +0100 Subject: [PATCH] dissect: Stop refusing external verity settings for mountfsd These are supported now so no point in refusing them in systemd-dissect --- src/dissect/dissect.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/dissect/dissect.c b/src/dissect/dissect.c index b991acab758..4ae3fbc7337 100644 --- a/src/dissect/dissect.c +++ b/src/dissect/dissect.c @@ -2178,9 +2178,6 @@ static int run(int argc, char *argv[]) { if (arg_loop_ref || arg_loop_ref_auto) /* yes, the 2nd check is strictly speaking redundant, given the normalization we did above, but let's be explicit here */ return log_error_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "--loop-ref=/--loop-ref-auto not supported when operating via systemd-mountfsd."); - if (verity_settings_set(&arg_verity_settings)) - return log_error_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "Externally configured verity settings not supported when operating via systemd-mountfsd."); - /* Don't run things in private userns, if the mount shall be attached to the host */ if (!IN_SET(arg_action, ACTION_MOUNT, ACTION_WITH)) { userns_fd = nsresource_allocate_userns(/* name= */ NULL, NSRESOURCE_UIDS_64K); /* allocate 64K users by default */ -- 2.47.3