Bug#947847: please install systemd-sysusers using update-alternatives
On 1/30/20 7:16 AM, Anthony DeRobertis wrote:
> There are some more that come to mind:
> * if we convert the exiting name to an alternative, there is the
> somewhat interesting work of actually changing a file over from an
> executable shipped in the package to an alternative, which would
> normally be set up by postinst. That could leave an uncomfortably
> large window during upgrade where the system would be broken (and
> possibly not boot) if interrupted.
This is normally solved if using pre-depends, which ensure that a
package is configured before using it (and not just unpacked).
> * if we use a new, different name, then we've introduced a
> Debian-specific interface. One of the nice things about most of the
> Linux world standardizing on systemd is increased cross-distro
> compatibility; here we'd be breaking it.
That's exactly what made me think that using the original name was less
Debian wide work indeed. Though because of the binary name prefixed with
"systemd-" this is less elegant than standardizing on /bin/sysusers.
Thomas Goirand (zigo)