Hi Adrian,
On 12/10/20 12:46 PM, Adrian Zaugg wrote:
> Hi aitor
>
> $ apt-rdepends openssh-server
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> openssh-server
> Depends: adduser (>= 3.9)
> Depends: debconf (>= 0.5)
> Depends: debconf-2.0
> Depends: dpkg (>= 1.9.0)
> Depends: libaudit1 (>= 1:2.2.1)
> Depends: libc6 (>= 2.26)
> Depends: libcom-err2 (>= 1.43.9)
> Depends: libgssapi-krb5-2 (>= 1.17)
> Depends: libkrb5-3 (>= 1.13~alpha1+dfsg)
> Depends: libpam-modules (>= 0.72-9)
> Depends: libpam-runtime (>= 0.76-14)
> Depends: libpam0g (>= 0.99.7.1)
> Depends: libselinux1 (>= 1.32)
> Depends: libssl1.1 (>= 1.1.1)
> Depends: libsystemd0
> [...]
>
> I see it different on a beowulf system as well as on ascii, you may also
> see this in /var/lib/dpkg/status.
>
> Regards, Adrian.
My clarification was related to ssh-agent. This agent is executed when
"use-ssh-agent" is present in "/etc/X11/Xsession.options".
Before this happens,
dbus-update-activation-environment --systemd <...>
propagates the SSH variables to dbus-daemon and, *only* if present, also
to systemd. But you are right, the only package of openssh
depending on libsystemd0 is openssh-server, which depends at the same
time on the client.
However, there are also other packagesin the base system depending on
libsystemd0:
- rsyslog
- libapt-pkg5.0
and therefore apt-utils and apt!
Cheers,
Aitor.