]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
dissect: Stop refusing external verity settings for mountfsd
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 3 Dec 2025 09:14:43 +0000 (10:14 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 3 Dec 2025 22:13:48 +0000 (22:13 +0000)
These are supported now so no point in refusing them in systemd-dissect

src/dissect/dissect.c

index b991acab758b14906c9c61e54ef845f36655a882..4ae3fbc7337af2347b305b71c44466a582c042cb 100644 (file)
@@ -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 */