Devuan bug report logs - #355
apt: Unexpected linkage dependency on libsystemd

version graph

Package: apt; Maintainer for apt is Andreas Messer <andi@bastelmap.de>; Source for apt is src:apt.

Reported by: Andreas Messer <andi@bastelmap.de>

Date: Mon, 7 Oct 2019 18:03:01 UTC

Severity: normal

Fixed in version 2.0.1+devuan1

Done: Andreas Messer <andi@bastelmap.de>

Full log


🔗 View this message in rfc822 format

MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: owner@bugs.devuan.org
From: "Devuan bug Tracking System" <owner@bugs.devuan.org>
To: Andreas Messer <andi@bastelmap.de>
Subject: bug#355: marked as done (apt: Unexpected linkage dependency on
 libsystemd)
Message-ID: <handler.355.D355.15862812044575.ackdone@bugs.devuan.org>
References: <20200407173341.GA4723@zeus.ad.home.arpa>
 <157047021610.2626.4106834785083034806.reportbug@vm-devuan-beowulf>
X-Devuan-PR-Message: closed 355
X-Devuan-PR-Package: apt
Reply-To: 355@bugs.devuan.org
Date: Tue, 07 Apr 2020 17:48:01 +0000
Content-Type: multipart/mixed; boundary="----------=_1586281681-4601-0"
[Message part 1 (text/plain, inline)]
Your message dated Tue, 7 Apr 2020 19:33:41 +0200
with message-id <20200407173341.GA4723@zeus.ad.home.arpa>
and subject line Re apt: Unexpected linkage dependency on libsystemd
has caused the Devuan bug report #355,
regarding apt: Unexpected linkage dependency on libsystemd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.devuan.org
immediately.)


-- 
355: https://bugs.devuan.org/cgi/bugreport.cgi?bug=355
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andreas Messer <andi@bastelmap.de>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: apt: Unexpected linkage dependency on libsystemd
Date: Mon, 7 Oct 2019 19:50:34 +0200
Package: apt
Version: 1.8.2
Severity: normal

I observed a linkage dependency on libsystemd. This was unexpected for me
since I wouldn't expect a package manager depend on it. A package manager should
be as lean as possible.

Having reviewed the code, the only function using libsystemd is used to talk on dbus 
to inhibit system shutdown. Something which will work for systemd only.

Would it make sense to use dlopen() to dynamically load libsystemd when needed
and avoid the hard dependency on libsystemd? If systemd is installed, libsystemd
will be available anyways.

-- Package-specific info:

-- (no /etc/apt/preferences present) --
-- (/etc/apt/preferences.d/avoid-systemd present, but not submitted) --
-- (/etc/apt/sources.list present, but not submitted) --
-- (/etc/apt/sources.list.d/devuan.list present, but not submitted) --


-- System Information:
Debian Release: 10.0
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages apt depends on:
ii  adduser                 3.118
ii  debian-archive-keyring  2019.1
ii  gpgv                    2.2.12-1+deb10u1
ii  libapt-pkg5.0           1.8.2
ii  libc6                   2.28-10
ii  libgcc1                 1:8.3.0-6
ii  libgnutls30             3.6.7-4
ii  libseccomp2             2.3.3-4
ii  libstdc++6              8.3.0-6

Versions of packages apt recommends:
ii  ca-certificates  20190110

Versions of packages apt suggests:
pn  apt-doc         <none>
ii  aptitude        0.8.11-7
ii  dpkg-dev        1.19.7
ii  gnupg           2.2.12-1+deb10u1
ii  powermgmt-base  1.34
ii  synaptic        0.84.6

-- no debconf information

-- 
gnuPG keyid: 8C2BAF51
fingerprint: 28EE 8438 E688 D992 3661 C753 90B3 BAAA 8C2B AF51
[Message part 3 (message/rfc822, inline)]
From: Andreas Messer <andi@bastelmap.de>
To: 355-done@bugs.devuan.org
Subject: Re apt: Unexpected linkage dependency on libsystemd
Date: Tue, 7 Apr 2020 19:33:41 +0200
[Message part 4 (text/plain, inline)]
Version: 2.0.1+devuan1

Finally prepared an own version of apt package with all systemd
dependencies removed.

cheers,
Andreas

[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sun Nov 24 14:29:28 2024;