#975437 Regression: no longer accepts '--splitting process' or '--secure-splitting'

Package:
clsync
Source:
clsync
Description:
live sync tool based on inotify, written in GNU C
Submitter:
Andras Korn
Date:
2020-11-22 10:21:03 UTC
Severity:
normal
#975437#5
Date:
2020-11-22 10:12:02 UTC
From:
To:
Hi,

with clsync 0.4.2-1, the documented "--splitting process" or "--splitting=process" argument worked.

In the current version, it gives the error message

Error: argument "process" can't be parsed as a number
Error: Unable to process option "splitting" (with argument: "process") from "cli_arguments"

Similarly, --secure-splitting is not recognized:

clsync: unrecognized option '--secure-splitting'

However, the manpage documents it:

SECURITY OPTIONS
       --secure-splitting
              Implies "--splitting=process --check-execvp-arguments --seccomp-filter --forbid-devices"

Confusingly, --splitting *will* accept a numerical argument, but it's unclear what it'll do.

Looking through the changelog, I think it's disabling seccomp support that
broke these options. Indeed, the source confirms it, at least for secure-splitting:

# ifdef SECCOMP_SUPPORT
        {"secure-splitting",    no_argument,            NULL,   SECURESPLITTING},
# endif

Can't you disable seccomp support only for the architectures where it's not
usable?

Thanks and best regards,

András