Devuan logs - #355, boring messages


Message sent to [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#355: apt: Unexpected linkage dependency on libsystemd
Reply-To: Andreas Messer <[email protected]>, [email protected]
Resent-From: Andreas Messer <[email protected]>
Resent-To: [email protected]
Resent-CC: [email protected]
Resent-Date: Mon, 07 Oct 2019 18:03:01 UTC
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: report 355
X-Devuan-PR-Package: apt
X-Devuan-PR-Keywords: 
Received: via spool by [email protected] id=B.15704712021322
          (code B ref -1); Mon, 07 Oct 2019 18:03:01 UTC
Received: (at submit) by bugs.devuan.org; 7 Oct 2019 18:00:02 +0000
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (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 <[email protected]>; 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 <[email protected]>; Mon,  7 Oct 2019 19:50:35 +0200 (CEST)
Date: Mon, 7 Oct 2019 19:50:34 +0200
From: Andreas Messer <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
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         <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 sent:


X-Loop: [email protected]
From: [email protected] (Devuan bug Tracking System)
To: Andreas Messer <[email protected]>
Subject: bug#355: Acknowledgement (apt: Unexpected linkage dependency on libsystemd)
Message-ID: <[email protected]>
In-Reply-To: <157047021610.2626.4106834785083034806.reportbug@vm-devuan-beowulf>
References: <157047021610.2626.4106834785083034806.reportbug@vm-devuan-beowulf>
Precedence: bulk
X-Devuan-PR-Message: ack 355
X-Devuan-PR-Package: apt
X-Devuan-PR-Keywords: 
Reply-To: [email protected]

Thank you for the problem report you have sent regarding Devuan.
This is an automatically generated reply, to let you know your message has
been received.  It is being forwarded to the developers mailing list for
their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 [email protected]

If you wish to submit further information on your problem, please send
it to [email protected] (and *not* to
[email protected]).

Please do not reply to the address at the top of this message,
unless you wish to report a problem with the bug-tracking system.

Devuan Bugs Owner
(administrator, Devuan bugs database)


Message sent to [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#355: apt: Unexpected linkage dependency on libsystemd
Reply-To: Mark Hindley <[email protected]>, [email protected]
Resent-From: Mark Hindley <[email protected]>
Resent-To: [email protected]
Resent-CC: [email protected]
X-Loop: [email protected]
Resent-Date: Sat, 28 Mar 2020 12:18:01 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: followup 355
X-Devuan-PR-Package: apt
X-Devuan-PR-Keywords: 
References: <157047021610.2626.4106834785083034806.reportbug@vm-devuan-beowulf>
Received: via spool by [email protected] id=B355.15853974025248
          (code B ref 355); Sat, 28 Mar 2020 12:18:01 +0000
Received: (at 355) by bugs.devuan.org; 28 Mar 2020 12:10:02 +0000
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sat, 28 Mar 2020 12:10:02 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 95042F609A8
	for <[email protected]>; Sat, 28 Mar 2020 13:02:24 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=apollo)
	by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1jIAAP-0006rk-EB; Sat, 28 Mar 2020 12:02:21 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1jIAAO-0001Ah-6l; Sat, 28 Mar 2020 12:02:20 +0000
Date: Sat, 28 Mar 2020 12:02:20 +0000
From: Mark Hindley <[email protected]>
To: [email protected]
Cc: Andreas Messer <[email protected]>
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <157047021610.2626.4106834785083034806.reportbug@vm-devuan-beowulf>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=0.0 required=5.0 tests=FAKE_REPLY_C,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

On Mon, 7 Oct 2019 19:50:34 +0200 Andreas Messer <[email protected]> wrote:
> 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.

Andreas,

Thanks for this.

You are quite right that this dependency would be much better avoided.

I am interested in us fixing this in ceres/chimaera.

I know you have patched version 1.8  to remove libsystemd0. Would you care to
update that for the current ceres/chimaera version 2.0.1? We can then look at
including it in devuan-packages.

Thanks

Mark

Message sent to [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#355: apt: Unexpected linkage dependency on libsystemd
Reply-To: Andreas Messer <[email protected]>, [email protected]
Resent-From: Andreas Messer <[email protected]>
Resent-To: [email protected]
Resent-CC: [email protected]
X-Loop: [email protected]
Resent-Date: Wed, 01 Apr 2020 21:03:01 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: followup 355
X-Devuan-PR-Package: apt
X-Devuan-PR-Keywords: 
References: <157047021610.2626.4106834785083034806.reportbug@vm-devuan-beowulf> <[email protected]> <157047021610.2626.4106834785083034806.reportbug@vm-devuan-beowulf>
Received: via spool by [email protected] id=B355.158577480228865
          (code B ref 355); Wed, 01 Apr 2020 21:03:01 +0000
Received: (at 355) by bugs.devuan.org; 1 Apr 2020 21:00:02 +0000
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Wed, 01 Apr 2020 21:00:02 +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 2578CF60C2E
	for <[email protected]>; Wed,  1 Apr 2020 22:49:07 +0200 (CEST)
Received: from zeus.ad.home.arpa (p5B0554C9.dip0.t-ipconnect.de [91.5.84.201])
	by dd10814.kasserver.com (Postfix) with ESMTPSA id 2ABD81206E03;
	Wed,  1 Apr 2020 22:49:06 +0200 (CEST)
Date: Wed, 1 Apr 2020 22:49:04 +0200
From: Andreas Messer <[email protected]>
To: Mark Hindley <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY"
Content-Disposition: inline
In-Reply-To: <[email protected]>
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


--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Mark,

On Sat, Mar 28, 2020 at 12:02:20PM +0000, Mark Hindley wrote:
> On Mon, 7 Oct 2019 19:50:34 +0200 Andreas Messer <[email protected]> wrot=
e:
> > Package: apt
> > Version: 1.8.2
> > Severity: normal
> >=20
> > 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 manag=
er should
> > be as lean as possible.
>=20
> Andreas,
>=20
> Thanks for this.
>=20
> You are quite right that this dependency would be much better avoided.
>=20
> I am interested in us fixing this in ceres/chimaera.
>=20
> I know you have patched version 1.8  to remove libsystemd0. Would you car=
e to
> update that for the current ceres/chimaera version 2.0.1? We can then loo=
k at
> including it in devuan-packages.

Sorry, missed that mail. Yes I can give it a try tomorrow.=20

cheers,
Andreas
--=20
gnuPG keyid: 8C2BAF51
fingerprint: 28EE 8438 E688 D992 3661 C753 90B3 BAAA 8C2B AF51

--OXfL5xGRrasGEqWY
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EABEIAB0WIQQo7oQ45ojZkjZhx1OQs7qqjCuvUQUCXoT+PAAKCRCQs7qqjCuv
UWVEAKCgGaDx7UT9xfkw2YUAI6rgX5/isgCeOvG7Ff/pW6aG3072n7vKeXp/GqA=
=dRUm
-----END PGP SIGNATURE-----

--OXfL5xGRrasGEqWY--

Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
Content-Type: text/plain; charset=utf-8
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Andreas Messer <[email protected]>
Subject: bug#355: Info received (apt: Unexpected linkage dependency on
 libsystemd)
Message-ID: <[email protected]>
References: <[email protected]>
X-Devuan-PR-Message: ack-info 355
X-Devuan-PR-Package: apt
Reply-To: [email protected]
Date: Wed, 01 Apr 2020 21:03:05 +0000

Thank you for the additional information you have supplied regarding
this bug report.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 [email protected]

If you wish to submit further information on this problem, please
send it to [email protected].

Please do not send mail to [email protected] unless you wish
to report a problem with the Bug-tracking system.

--=20
355: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D355
Devuan Bug Tracking System
Contact [email protected] with problems

Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Andreas Messer <[email protected]>
Subject: bug#355: marked as done (apt: Unexpected linkage dependency on
 libsystemd)
Message-ID: <[email protected]>
References: <[email protected]>
 <157047021610.2626.4106834785083034806.reportbug@vm-devuan-beowulf>
X-Devuan-PR-Message: closed 355
X-Devuan-PR-Package: apt
Reply-To: [email protected]
Date: Tue, 07 Apr 2020 17:48:01 +0000
Content-Type: multipart/mixed; boundary="----------=_1586281681-4601-0"

This is a multi-part message in MIME format...

------------=_1586281681-4601-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Tue, 7 Apr 2020 19:33:41 +0200
with message-id <[email protected]>
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 [email protected]
immediately.)


--=20
355: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D355
Devuan Bug Tracking System
Contact [email protected] with problems

------------=_1586281681-4601-0
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: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (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 <[email protected]>; 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 <[email protected]>; Mon,  7 Oct 2019 19:50:35 +0200 (CEST)
Date: Mon, 7 Oct 2019 19:50:34 +0200
From: Andreas Messer <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
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         <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

------------=_1586281681-4601-0
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: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (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 <[email protected]>; 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 <[email protected]>; Tue,  7 Apr 2020 19:33:43 +0200 (CEST)
Date: Tue, 7 Apr 2020 19:33:41 +0200
From: Andreas Messer <[email protected]>
To: [email protected]
Subject: Re apt: Unexpected linkage dependency on libsystemd
Message-ID: <[email protected]>
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--
------------=_1586281681-4601-0--

Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Andreas Messer <[email protected]>
Subject: bug#355 closed by Andreas Messer <[email protected]> (Re apt:
 Unexpected linkage dependency on libsystemd)
Message-ID: <[email protected]>
References: <[email protected]>
 <157047021610.2626.4106834785083034806.reportbug@vm-devuan-beowulf>
X-Devuan-PR-Message: they-closed 355
X-Devuan-PR-Package: apt
Reply-To: [email protected]
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 <[email protected]>.

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 <andi@b=
astelmap.de> by
replying to this email.


--=20
355: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D355
Devuan Bug Tracking System
Contact [email protected] 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: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (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 <[email protected]>; 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 <[email protected]>; Tue,  7 Apr 2020 19:33:43 +0200 (CEST)
Date: Tue, 7 Apr 2020 19:33:41 +0200
From: Andreas Messer <[email protected]>
To: [email protected]
Subject: Re apt: Unexpected linkage dependency on libsystemd
Message-ID: <[email protected]>
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: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (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 <[email protected]>; 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 <[email protected]>; Mon,  7 Oct 2019 19:50:35 +0200 (CEST)
Date: Mon, 7 Oct 2019 19:50:34 +0200
From: Andreas Messer <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
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         <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

------------=_1586281685-4601-1--

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Sat, 18 Jan 2025 08:39:01 UTC