Bug#986651: systemd: stop depending on systemd-timesyncd

Michael Biebl biebl at debian.org
Sat Apr 10 11:17:24 BST 2021


Am 08.04.21 um 22:24 schrieb Helmut Grohne:
> Package: systemd
> Version: 247.3-3
> Tags: bookworm sid
> 
> systemd used to include systemd-timesyncd. Now it is split out to a
> separate binary package. Thanks. However, systemd now depends on
> systemd-timesyncd, so we cannot really remove it (unless installing
> something like ntp). For containers, having a time-daemon is not useful
> and we want to reduce the filesystem as much as possible. Therefore it
> would be good to reduce the dependency to Recommends.

A few thoughts.
The disk footprint of systemd-timesyncd is rather small.
It would be good to know which kind of containers your have in mind.
docker-style (minimal) without an init or with a full-blown init like 
lxc (fat)?
The former doesn't have init/systemd installed (and thus no 
systemd-timesyncd), the latter does and systemd itself is much bigger 
disk footprint wise.

If we bump the prio of systemd-timesyncd, those minimal containers will 
now suddenly get systemd-timesyncd by default (which in turn pulls 
systemd). So this would be a regression. You'd have to be careful to 
omit systemd-timesyncd when building the container image.

For fat containers, having systemd-timesyncd installed doesn't really 
gain you a lot (and is no regression compared to buster, where it was 
folded in). Runtime-wise, having systemd-timesyncd installed, is not a 
problem either, as systemd-timesyncd.service has 
ConditionVirtualization=!container


Michael


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20210410/4a818576/attachment-0001.sig>


More information about the Pkg-systemd-maintainers mailing list