Hi, On Tue, 2020-01-28 at 02:43 +0100, Michael Biebl wrote: > Last but not least, we'd have the option to link systemd-sysusers > statically against libsystemd-shared. This would have the downside, that > it significantly increases the size of the binary. So we'd hurt the > overwhelming majority of the Debian users for questionable gain.
I tried linking systemd-{sysusers,tmpfiles} statically against systemd's private library earlier this month. It increases the binaries size by ~100 kB (compared to Installed-Size: 14.2 MB of systemd that is just one percent). If we want to use systemd-{sysusers,tmpfiles} in maintainer scripts to create system users and/or directories under /var, then I think we should split it off into a separate package, say systemd-utils, so that package installation doesn't pull in the entire systemd init (for containers or other uses that might not require an init). As far as I understand such a systemd-utils package would currently be compatible with elogind, but I wouldn't commit to systemd-utils not switching to linking libsystemd0 in the future should this be easily possible. Ansgar