• Bug#1108542: openssh-server: Debian Trixie: bad dependancy with systemd

    From Jean-Marc LACROIX@21:1/5 to All on Sun Jul 27 11:30:01 2025
    Le 30/06/2025 à 22:50, Colin Watson a écrit :
    On Mon, Jun 30, 2025 at 10:41:15PM +0200, Jean-Marc LACROIX wrote:
    It seems that  on package openssh-server, there is  now one dependency
    with systemd on Debian Trixie (release 13).

    This feature is  not compatible with one  target running sysvinit-core
    in place of systemd.
    [...]
    REMOVING:
     openssh-server*  systemd-standalone-sysusers*

    But:

    Package: systemd-standalone-sysusers
    Description: standalone sysusers binary for use in non-systemd systems
     Standalone sysusers binary with minimal dependencies.
     This package conflicts with the main systemd package and is meant for
    use in
     non-systemd systems.

    Is this actually a problem for any reason other than you having removed everything matching "systemd*"?  As indicated, this particular package should be fine even if you're running sysvinit.

    An alternative, if you so wish, is to install the opensysusers package instead.  openssh-server's dependencies allow that (since it Provides: systemd-sysusers).


    Hello Colin,

    Thank you very much for your suggestion to never remove systemd*. I've
    added the exact list of dedicated "systemd" packages, making it easier
    to manage, to my Ansible YAML list.

    It works perfectly.

    For my own understanding, could you confirm that
    "systemd-standalone-sysusers" is a recent Debian package, built on
    Debian Bookworm , and not available on old Debian release. (< 9).


    Therefore, i must make some trivial code to manage this feature on old
    Debian release ?

    Thanks to close this bug at now.

    Best regards
    --
    -- Jean-Marc LACROIX () --
    -- mailto : [email protected] --

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)