From unknown Fri Mar 29 13:55:36 2024 MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) X-Loop: owner@bugs.devuan.org From: "Devuan bug Tracking System" To: Andreas Messer Subject: bug#355 closed by Andreas Messer (Re apt: Unexpected linkage dependency on libsystemd) Message-ID: References: <20200407173341.GA4723@zeus.ad.home.arpa> <157047021610.2626.4106834785083034806.reportbug@vm-devuan-beowulf> X-Devuan-PR-Message: they-closed 355 X-Devuan-PR-Package: apt Reply-To: 355@bugs.devuan.org Date: Tue, 07 Apr 2020 17:48:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1586281685-4601-1" This is a multi-part message in MIME format... ------------=_1586281685-4601-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the apt package: #355: apt: Unexpected linkage dependency on libsystemd It has been closed by Andreas Messer . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Andreas Messer by replying to this email. --=20 355: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D355 Devuan Bug Tracking System Contact owner@bugs.devuan.org with problems ------------=_1586281685-4601-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 355-done) by bugs.devuan.org; 7 Apr 2020 17:40:04 +0000 Return-Path: Delivered-To: devuanbugs@dyne.org Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4) for (single-drop); Tue, 07 Apr 2020 17:40:04 +0000 (UTC) Received: from dd10814.kasserver.com (dd10814.kasserver.com [85.13.133.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 5BE38F60868 for <355-done@bugs.devuan.org>; Tue, 7 Apr 2020 19:33:44 +0200 (CEST) Received: from zeus.ad.home.arpa (p5B0557A9.dip0.t-ipconnect.de [91.5.87.169]) by dd10814.kasserver.com (Postfix) with ESMTPSA id 262EC1200583 for <355-done@bugs.devuan.org>; Tue, 7 Apr 2020 19:33:43 +0200 (CEST) Date: Tue, 7 Apr 2020 19:33:41 +0200 From: Andreas Messer To: 355-done@bugs.devuan.org Subject: Re apt: Unexpected linkage dependency on libsystemd Message-ID: <20200407173341.GA4723@zeus.ad.home.arpa> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Version: 2.0.1+devuan1 Finally prepared an own version of apt package with all systemd dependencies removed. cheers, Andreas --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQQo7oQ45ojZkjZhx1OQs7qqjCuvUQUCXoy5dQAKCRCQs7qqjCuv UfyfAJwJCUO2aqxEdGmj2wK4meFH/tb77ACcCRDInkFIUT4r93Qr+a60n+FwaXU= =y7zZ -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc-- ------------=_1586281685-4601-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.devuan.org; 7 Oct 2019 18:00:02 +0000 Return-Path: Delivered-To: devuanbugs@dyne.org Received: from tupac3.dyne.org [195.169.149.119] by fulcanelli with IMAP (fetchmail-6.3.26) for (single-drop); Mon, 07 Oct 2019 20:00:02 +0200 (CEST) Received: from dd10814.kasserver.com (dd10814.kasserver.com [85.13.133.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 19F07F60C36 for ; Mon, 7 Oct 2019 19:50:36 +0200 (CEST) Received: from zeus.m.rodgau.home (p5B05501F.dip0.t-ipconnect.de [91.5.80.31]) by dd10814.kasserver.com (Postfix) with ESMTPSA id D10B61205D8D for ; Mon, 7 Oct 2019 19:50:35 +0200 (CEST) Date: Mon, 7 Oct 2019 19:50:34 +0200 From: Andreas Messer To: Devuan Bug Tracking System Subject: apt: Unexpected linkage dependency on libsystemd Message-ID: <157047021610.2626.4106834785083034806.reportbug@vm-devuan-beowulf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mailer: reportbug 7.5.1+devuan1 User-Agent: NeoMutt/20170113 (1.7.2) X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW autolearn=disabled version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org 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 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 ------------=_1586281685-4601-1--