There is a reason for linking to libsystemd and it is to do with accessing
the systemd type parameters that can be applied to a process.

 - Craig


On Sun, Nov 27, 2016 at 8:28 PM Klaus Ethgen <kl...@ethgen.de> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Hi Craig,
>
> Am Mi den 23. Nov 2016 um 23:15 schrieb Axel Beckert:
> > Craig Small wrote:
> > > Actually its not ps, its libsystemd that is pulling this dependency
> in. ps
> > > is linked to libsystemd which is in /lib and
> > > $ ldd /lib/x86_64-linux-gnu/libsystemd.so | grep usr
> > > liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1
> (0x00007fa2cf300000)
> > >
> > > There is also this on the systemd bug
> > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=843809
> > >
> > > I am not sure at this point where to go, but it is either intentional
> or a
> > > bug, but its not ps' bug.
> >
> > Well, depends. I don't see a reason why a simple program like ps needs
> > to be linked against libsystemd. So maybe the simple solution is to
> > not link ps against libsystemd in the first place.
>
> I tried now with installing the devuan version which is without linking
> to systemd. That works well and no problems came up.
>
> So, I want to endorse Axels question. There is no reason why ps (and
> liprocps) should be linked against libsystemd.
>
> Additionally, I tried first to go back in time with procps from
> snapshot, but it seems that the linkin of libsystemd seems to be long
> time ago. (After jessie, although.)
>
> Regards
>    Klaus
> - --
> Klaus Ethgen                                       http://www.ethgen.ch/
> pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <kl...@ethgen.ch>
> Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
> -----BEGIN PGP SIGNATURE-----
> Comment: Charset: ISO-8859-1
>
> iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlg6p0gACgkQpnwKsYAZ
> 9qwk2wv/VK+kxIUMQK5hEMjqKHXowwnWNlxNVqkm8rdaHAj1uiATeNzQqcS+fSGy
> XfEZoIzU8C2qC9wr+vJqvAzDGbZDlaG2/ss7nIMLxXW2wiSmJfVO4UAcXmGK7LwI
> JPhyb7HJPmIboz5hiKaBGIR9pI45U5BaC2v1g0ExV0E/rfLpHQqkYRvHNtYQ65Sp
> pOi52qNvQg5rK9qt4GPk6uMriEtQPybiXU3m4GKnZE2D+XuTglKFDzEvM/lU2e6X
> ZJkhC83QMnoxdzYayYNcbUfSiehh5bvhfc3APWw5xD+ZlwmgSgj8NJySgxmiO/OO
> dYvuUHbDGbARqfRh7SAbHOQ7nK9DbMK94tWoKyG/9JI+bFn860iNg7lB2cRoP3Qd
> NWmusjFtwtBuQy3jneno1rGvgAvnmH+KLUpYsDYwpD9QDkxzxaRBUawM0kRjamWu
> 5wxFC/fvesdtYweQ/LonTbfP+Q7Jpy3iwv5m9+5N4nfCy/nEaoZpy5fcM2vGK/3L
> MpMAi/YN
> =aN1C
> -----END PGP SIGNATURE-----
>

Reply via email to