Package: clsync
Version: 0.4.5-1
Severity: normal

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

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (350, 'unstable'), (350, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.244-vs2.3.9.9 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /bin/bash
Init: runit (via /run/runit.stopit)

Versions of packages clsync depends on:
ii  init-system-helpers  1.58+devuan1
ii  libc6                2.31-4
ii  libcgroup1           0.41-10
ii  libglib2.0-0         2.66.3-1
ii  lsb-base             11.1.0

Versions of packages clsync recommends:
ii  rsync  3.2.3-2

clsync suggests no packages.

-- no debconf information

-- 
           Life is complex. It consists of real and imaginary parts.

Reply via email to