#1148315 clsync: ships sysv-init script without systemd unit

Package:
src:clsync
Source:
src:clsync
Submitter:
Nadzeya Hutsko
Date:
2026-10-01 12:09:14 UTC
Severity:
normal
Tags:
#1148315#5
Date:
2026-09-18 18:28:26 UTC
From:
To:
Dear Maintainer(s),

clsync ships /etc/init.d/clsync but no corresponding native systemd
unit. This worked so far because systemd shipped a transitional
sysv-init-to-unit generator, which was removed upstream in v260.
systemd is now 261.2-1 in testing and 262~rc3-1 in unstable, so the
init script is already inert and the daemon no longer starts.

This was likely missed by the original mass bug filing because the
package does ship clsync@.service, so Lintian does not flag it. That
unit is not a replacement, it is a template running one instance per
config block (clsync -K %i) from /etc/clsync/clsync.conf, whereas the
init script runs a single daemon configured through $CLSYNC_ARGS in
/etc/default/clsync. Existing sysv users have no path to it without
rewriting their configuration.

What is needed is a plain clsync.service reproducing the init script,
Type=exec with -b0, EnvironmentFile=-/etc/default/clsync with
$CLSYNC_ARGS, IOSchedulingClass=idle in place of the ionice wrapper,
and ExecReload=/bin/kill -HUP $MAINPID. The init script can stay for
sysvinit users. CLSYNC_IONICE_CLASS cannot be carried over, as
IOSchedulingClass= does not expand variables.

I intend to prepare an NMU for this.

Nadzeya
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuVOE/FJ0HcdfWSw//lAdKwFeZPsFAmqtgsQACgkQ/lAdKwFe
ZPuazg//R06qNDqGL5bYGgKDcc0tjx26ZKjUisv8eSvnwE6tpWipQ626bO4ikFA1
snomHUWj/f9yz4yom48C6mgi6VydnxvqDpcSNW8u98x7exBO8XsZJ34B2DwyLxiG
yBdnleR3kMf6OR3+RjcbJ42yHYC2Wu4EdP4LdHc8hYl73MJbpouGABvtGJJ9dK8c
m/kSDbysB3a14S5UaE+o/K848xmnsO2Sbv553atV3ulTYvEcgu45a9so6UxbHnsV
exfy9txfuTd4dpH1xEl4Vvwgj52tj5DnpGE1wOeU5zMja0G92Y/WoZc3k+dO/CTN
IYw7H83bMyPmQ78vOmYoCZpSWuG8OGMVTLntx61nHJRQrhfJI91t2AvpEoeifvRx
aJTybruTZFfU5x+At2ze1BG0kj0JF/WNX8MWqS720qFSzAvhSGRMbVig76MNhNGb
GLeyWEpGo+9KRgDCVk2lT10FstczgLChSYIywGsudIpbq3SiGuNfQm08ZhHqUbB7
QFBIJ9Mh50tO1RxXgicgXHF5mz4tYUkJWh1bY7R5za78QY8Ua1DEQZPsf6iqsNOC
7JOtpOoaJEP29z6sQHnm7mbCsVzWR7TgGdQQcryw+tkw3j+ZJTYm9Z+4NjH5z+bz
UhjgaIzByCQ+MLKt6ckHDgC6I3pvCv3OjsJgQSmEMqKGUps7F04=
=koJk
-----END PGP SIGNATURE-----

#1148315#10
Date:
2026-09-21 11:19:53 UTC
From:
To:
Dear maintainer,

I've prepared an NMU for clsync (versioned as 0.4.5-2.3) and
uploaded it to DELAYED/10. Please feel free to tell me if I
should cancel it.

Regards,
Nadzeya

#1148315#19
Date:
2026-10-01 12:06:27 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
clsync, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1148315@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nadzeya Hutsko <nadzeya@debian.org> (supplier of updated clsync package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 21 Sep 2026 13:10:18 +0200
Source: clsync
Architecture: source
Version: 0.4.5-2.3
Distribution: unstable
Urgency: medium
Maintainer: Artyom A Anikeev <anikeev@ut.mephi.ru>
Changed-By: Nadzeya Hutsko <nadzeya@debian.org>
Closes: 1148315
Changes:
 clsync (0.4.5-2.3) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Add a native systemd service, as systemd-sysv-generator was removed
     upstream in systemd v260 (Closes: #1148315)
     - The service is not enabled or started on install, and the init script
       is no longer started on install either, so that the CLSYNC_ENABLE gate
       is preserved.
     - CLSYNC_IONICE_CLASS has no native equivalent, as IOSchedulingClass=
       does not expand environment variables. The service uses idle, which
       was the init script's default.
Checksums-Sha1:
 c4119d84fc7265f9d2449dc1c9384b967cf64503 2070 clsync_0.4.5-2.3.dsc
 6d533d11dcb4f585fa1803758b98fe9270a273a9 6420 clsync_0.4.5-2.3.debian.tar.xz
 958451a9eec11e5f325650aee972c3735d9200f4 8681 clsync_0.4.5-2.3_amd64.buildinfo
Checksums-Sha256:
 6ce57d3f2a26244a76bfb789684521363ed88d6a7f0c782a42c2b3b6c5dfedde 2070 clsync_0.4.5-2.3.dsc
 0b2c89f7b08ee0a1c36d371528b9ae112b11ead7bc4b51f082d2a3e4d2af2d74 6420 clsync_0.4.5-2.3.debian.tar.xz
 a64606c73e777ddb3fa6b427165e3fe561b52dedf07884c386ae291ba3c21991 8681 clsync_0.4.5-2.3_amd64.buildinfo
Files:
 9dddf17d4f0a595dcbc5a58a16656598 2070 admin optional clsync_0.4.5-2.3.dsc
 c3a21c1aaa6c598410a5580e41c08064 6420 admin optional clsync_0.4.5-2.3.debian.tar.xz
 0900a0b307f0b82cd9cbfaab2d00febf 8681 admin optional clsync_0.4.5-2.3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuVOE/FJ0HcdfWSw//lAdKwFeZPsFAmqxEaEACgkQ/lAdKwFe
ZPtUAA/9FlPgESAbIPAArMQ9COk5pLxCeYCViIUuRDrJWtj/LNE4ndivpqxSaTZK
oMEy6bIiO/usC/n7+0OlKo9BPKho09QLdO6ulAhiDLjvE2UEy0RIIlLN9GUNmK8s
LUtrIVUan7bukS8nzl0nqmMFVCoaLl5dBukYMjaYc/mzKNU9gpPEG1+pyzN+j/9i
UEFWaZs9UBC9qA75HD1YA6evDBNBAuJq2kceBwR4TjzNUCU+Mm11YxmSG3RuigYj
vqNGQ4SfJGeeoMtBLX89Bs22kd4sFFu612Ynxlxf7mjR53nk75nLMigF35by1MRI
1RCYSXHTaWnEP0hThquInPF9r0RnqtL7N5NM/0Ipme1AC9AX9v16nQakNTmZqe/v
zYGL0s0RmMZeO+RkfzTDL9ZdJrsqBivTSnIZgFyK/zEMIdfhjmYmFcXUD0Rik1+j
CXGR/lmUEn2lqC/ttjL2f5WhGRaDeh5VzubNlMfr5ue/y0NUTjnr8qoO24Wh/WHE
WeH9npkHZuB8RkS0TmAnWmzJz26g2A8mU6cY3Cc9eLoopCsqoP0yOT7z4dtwbzNx
x+qmeN3Tlc8GuKaSFjSfcgIuAeQeZBU0Fx9X1IOwNgKyX9unW5rB9mUZHsR+opHv
l5uLdsmCkscPgxhvZJ6WL4+xnUa5qCwr5JLoU5IgT0GBmbIVF9Q=
=75JA
-----END PGP SIGNATURE-----