From: Daan De Meyer Date: Wed, 3 Dec 2025 09:14:43 +0000 (+0100) Subject: dissect: Stop refusing external verity settings for mountfsd X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2253b4c35d1e77efb65da238c8a4782372b09339;p=thirdparty%2Fsystemd.git dissect: Stop refusing external verity settings for mountfsd These are supported now so no point in refusing them in systemd-dissect --- 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 */