Devuan bug report logs - #911
libpolkit-gobject-consolekit-1-0: Ships the elogind variant of the library

version graph

Package: libpolkit-gobject-consolekit-1-0; Maintainer for libpolkit-gobject-consolekit-1-0 is Devuan Dev Team <devuan-dev@lists.dyne.org>; Source for libpolkit-gobject-consolekit-1-0 is src:policykit-1.

Reported by: "Plasma (David Paul)" <davidpaul@librem.one>

Date: Sat, 27 Sep 2025 01:00:01 UTC

Severity: grave

Tags: patch

Found in version 0.105-26+devuan1

Fixed in versions 126-2devuan2, 126-2devuan1+excalibur1, 122-3devuan3

Done: dak@devuan.org

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, Devuan Dev Team <devuan-dev@lists.dyne.org>:
bug#911; Package libpolkit-gobject-consolekit-1-0. (Sat, 27 Sep 2025 01:00:01 GMT) (full text, mbox, link).


Acknowledgement sent to "Plasma (David Paul)" <davidpaul@librem.one>:
New bug report received and forwarded. Copy sent to Devuan Dev Team <devuan-dev@lists.dyne.org>. (Sat, 27 Sep 2025 01:00:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: "Plasma (David Paul)" <davidpaul@librem.one>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: libpolkit-gobject-consolekit-1-0: Ships the elogind variant of the library
Date: Fri, 26 Sep 2025 19:57:42 -0500
Package: libpolkit-gobject-consolekit-1-0
Version: 0.105+26+devuan1
Severity: grave
Justification: ships the wrong shared-object library

Dear Maintainer,

Starting from version 0.105-26+devuan1, the
libpolkit-gobject-consolekit-1-0 package incorrectly ships the variant
of libpolkit-gobject-1.so.0.0.0 compiled with elogind session-tracking
rather than the variant compiled with ConsoleKit session-tracking. This
can be easily verified by comparing the checksums of the included
libpolkit-gobject-1.so.0.0.0 file in each of the
libpolkit-gobject-consolekit-1-0 and libpolkit-gobject-elogind-1-0
packages.


# Fix

Once this report is assigned a bug number, I will shortly be submitting
'git am'-ready patches to remedy this issue.


# Explanation

The issue lies with an interaction involving three commands in the
override_dh_install recipe in debian/rules, specifically
```
	dh_install -plibpolkit-gobject-consolekit-1-0 \
		--sourcedir=debian/install/consolekit
	dh_install -a -Nlibpolkit-gobject-consolekit-1-0
	[...]
	dh_install
```

The first command is required in order to copy the build of the
ConsoleKit variant of the library from its non-standard DESTDIR at
debian/install to the staging directory for the 
libpolkit-gobject-consolekit-1-0 binary package.

The second command then handles staging the files for the rest of the
arch-dependent packages, copying files from debian/tmp, the default
DESTDIR.

This leaves the third command with the task of staging the files for
all the remaining binary package which by this point should be all of
the arch-independent packages. However, because the command lacks
either a '-i' or '--remaining-packages' argument, it incorrectly stages
the files for *all* binary packages, copying files from only the
standard DESTDIR. This has the unfortunate consequence of re-staging
the libpolkit-gobject-consolekit-1-0 package, copying the elogind
variant of the library from within debian/tmp rather than the
ConsoleKit variant from debian/install.

-- 
Plasma

Information forwarded to devuan-bugs@lists.dyne.org, Devuan Dev Team <devuan-dev@lists.dyne.org>:
bug#911; Package libpolkit-gobject-consolekit-1-0. (Sat, 27 Sep 2025 01:08:01 GMT) (full text, mbox, link).


Acknowledgement sent to Simon Richter <sjr@debian.org>:
Extra info received and forwarded to list. Copy sent to Devuan Dev Team <devuan-dev@lists.dyne.org>. (Sat, 27 Sep 2025 01:08:02 GMT) (full text, mbox, link).


Message #10 received at 911@bugs.devuan.org (full text, mbox, reply):

From: Simon Richter <sjr@debian.org>
To: "Plasma (David Paul)" <davidpaul@librem.one>, 911@bugs.devuan.org, devuan developers internal list <devuan-dev@lists.dyne.org>
Subject: Re: [devuan-dev] bug#911: libpolkit-gobject-consolekit-1-0: Ships the elogind variant of the library
Date: Sat, 27 Sep 2025 10:05:41 +0900
Hi,

On 9/27/25 09:57, Plasma (David Paul) wrote:

> This leaves the third command with the task of staging the files for
> all the remaining binary package which by this point should be all of
> the arch-independent packages. However, because the command lacks
> either a '-i' or '--remaining-packages' argument, it incorrectly stages
> the files for *all* binary packages, copying files from only the
> standard DESTDIR.

Is that a Devuan specific change, or is that bug also present in the 
Debian package?

   Simon

Information forwarded to devuan-bugs@lists.dyne.org, Devuan Dev Team <devuan-dev@lists.dyne.org>:
bug#911; Package libpolkit-gobject-consolekit-1-0. (Sat, 27 Sep 2025 01:14:01 GMT) (full text, mbox, link).


Acknowledgement sent to "Plasma (David Paul)" <davidpaul@librem.one>:
Extra info received and forwarded to list. Copy sent to Devuan Dev Team <devuan-dev@lists.dyne.org>. (Sat, 27 Sep 2025 01:14:03 GMT) (full text, mbox, link).


Message #15 received at 911@bugs.devuan.org (full text, mbox, reply):

From: "Plasma (David Paul)" <davidpaul@librem.one>
To: 911@bugs.devuan.org
Subject: [PATCH] libpolkit-gobject-consolekit-1-0: #911
Date: Fri, 26 Sep 2025 20:13:26 -0500
[Message part 1 (text/plain, inline)]
Control: tags -1 patch

Dear Maintainer,

Attached are two patches which fix #911. They can be applied to the
head of the suites/unstable branch in the policykit-1 packaging
repository. Please also consider backporting them into
excalibur-proposed for the upcoming Excalibur release.

-- 
Plasma
[0001-refactor-rules-Move-ubuntu-specific-snippet.patch (text/x-patch, attachment)]
[0002-Fix-override_dh_install-target.patch (text/x-patch, attachment)]

Added tag(s) patch. Request was from "Plasma (David Paul)" <davidpaul@librem.one> to 911-submit@bugs.devuan.org. (Sat, 27 Sep 2025 01:14:04 GMT) (full text, mbox, link).


Information forwarded to devuan-bugs@lists.dyne.org, Devuan Dev Team <devuan-dev@lists.dyne.org>:
bug#911; Package libpolkit-gobject-consolekit-1-0. (Sat, 27 Sep 2025 01:28:01 GMT) (full text, mbox, link).


Acknowledgement sent to David Paul <davidpaul@librem.one>:
Extra info received and forwarded to list. Copy sent to Devuan Dev Team <devuan-dev@lists.dyne.org>. (Sat, 27 Sep 2025 01:28:02 GMT) (full text, mbox, link).


Message #22 received at 911@bugs.devuan.org (full text, mbox, reply):

From: David Paul <davidpaul@librem.one>
To: Simon Richter <sjr@debian.org>
Cc: 911@bugs.devuan.org, devuan developers internal list <devuan-dev@lists.dyne.org>
Subject: Re: [devuan-dev] bug#911: libpolkit-gobject-consolekit-1-0: Ships the elogind variant of the library
Date: Fri, 26 Sep 2025 20:26:47 -0500
On Sat, 27 Sep 2025 10:05:41 +0900
Simon Richter <sjr@debian.org> wrote:

> On 9/27/25 09:57, Plasma (David Paul) wrote:
> 
> > This leaves the third command with the task of staging the files for
> > all the remaining binary package which by this point should be all
> > of the arch-independent packages. However, because the command lacks
> > either a '-i' or '--remaining-packages' argument, it incorrectly
> > stages the files for *all* binary packages, copying files from only
> > the standard DESTDIR.  
> 
> Is that a Devuan specific change, or is that bug also present in the 
> Debian package?
> 
>     Simon

This is a Devuan-specific issue. Debian is unaffected by this bug, but
may wish to adopt a modified version of the refactor present in the
first of the two patches I submitted to resolve this Devuan issue.
Adapting the refactor patch for Debian may not be worth it though as,
apart from simplifying the second patch in the series, the refactor
patch borders on splitting hairs. See the attached commit message for
details.

-- 
Plasma

No longer marked as found in versions 0.105+26+devuan1. Request was from "Plasma (David Paul)" <davidpaul@librem.one> to control@bugs.devuan.org. (Sat, 27 Sep 2025 01:58:02 GMT) (full text, mbox, link).


Marked as found in versions 0.105-26+devuan1. Request was from "Plasma (David Paul)" <davidpaul@librem.one> to control@bugs.devuan.org. (Sat, 27 Sep 2025 01:58:02 GMT) (full text, mbox, link).


Information forwarded to devuan-bugs@lists.dyne.org, Devuan Dev Team <devuan-dev@lists.dyne.org>:
bug#911; Package libpolkit-gobject-consolekit-1-0. (Mon, 29 Sep 2025 14:24:01 GMT) (full text, mbox, link).


Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to Devuan Dev Team <devuan-dev@lists.dyne.org>. (Mon, 29 Sep 2025 14:24:02 GMT) (full text, mbox, link).


Message #31 received at 911@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: "Plasma (David Paul)" <davidpaul@librem.one>
Cc: 911@bugs.devuan.org
Subject: Re: [devuan-dev] bug#911: [PATCH] libpolkit-gobject-consolekit-1-0: #911
Date: Mon, 29 Sep 2025 15:21:38 +0100
Plasma,

Thanks for your analysis and care with this.

I prefer to resolve the first of your suggested patches by realigning more
closely with Debian's d/rules.

Mark

commit 2f09bfa62e597cbfb9385e2807c84db05cd68247
Author: Mark Hindley <mark@hindley.org.uk>
Date:   Mon Sep 29 15:05:08 2025 +0100

    d/rules: reduce unnecessary delta with Debian.

diff --git a/debian/rules b/debian/rules
index 8bba501e..152405ee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -80,6 +80,14 @@ override_dh_auto_install:
 	dh_auto_install
 	dh_auto_install --builddirectory=build-consolekit --destdir=debian/install/consolekit
 
+execute_before_dh_install:
+	# on Debian use sudo group; on Ubuntu, also allow the admin group for
+	# on Debian/Devuan use sudo group; on Ubuntu, also allow the admin group for
+	# historical reasons
+	if dpkg-vendor --is ubuntu; then \
+		install -m644 debian/49-ubuntu-admin.rules debian/tmp/usr/share/polkit-1/rules.d/; \
+	fi
+
 override_dh_install:
 	dh_install \
 	-plibpolkit-gobject-consolekit-1-0       \
@@ -88,9 +96,4 @@ override_dh_install:
 	dh_install -a                           \
 	-Nlibpolkit-gobject-consolekit-1-0
 
-	# on Debian/Devuan use sudo group; on Ubuntu, also allow the admin group for
-	# historical reasons
-	if dpkg-vendor --is ubuntu; then \
-		install -m644 debian/49-ubuntu-admin.rules debian/tmp/usr/share/polkit-1/rules.d/; \
-	fi
 	dh_install

Reply sent to dak@devuan.org:
You have taken responsibility. (Mon, 29 Sep 2025 16:10:01 GMT) (full text, mbox, link).


Notification sent to "Plasma (David Paul)" <davidpaul@librem.one>:
bug acknowledged by developer. (Mon, 29 Sep 2025 16:10:02 GMT) (full text, mbox, link).


Message #36 received at 911-done@bugs.devuan.org (full text, mbox, reply):

From: dak@devuan.org
To: 911-done@bugs.devuan.org
Subject: #911: fixed in src:policykit-1 version 126-2devuan2
Date: Mon, 29 Sep 2025 16:07:56 +0000
Version: 126-2devuan2

Source package policykit-1 (126-2devuan2) added to Devuan suite unstable.

This closes bug report 911.

Thanks

DAK managing the Devuan archive

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 29 Sep 2025 15:22:55 +0100
Source: policykit-1
Architecture: source
Version: 126-2devuan2
Distribution: unstable
Urgency: medium
Maintainer: Devuan Dev Team <devuan-dev@lists.dyne.org>
Changed-By: Mark Hindley <mark@hindley.org.uk>
Closes: 911
Changes:
 policykit-1 (126-2devuan2) unstable; urgency=medium
 .
   [ Mark Hindley ]
   * d/rules: reduce unnecessary delta with Debian.
 .
   [ Plasma (David Paul) ]
   * d/rules: Fix override_dh_install target. (Closes: #911)
Checksums-Sha1:
 0604665a219468045bf27358d700e04433e5a90b 3098 policykit-1_126-2devuan2.dsc
 bd95db35c65cd7a002ba51f5e15544811f3d6c1a 33248 policykit-1_126-2devuan2.debian.tar.xz
 2ae138057876f3925d5cfdad4b13cc9cd94d5229 5605 policykit-1_126-2devuan2_source.buildinfo
Checksums-Sha256:
 f127374232886bb08375be80eef6da54bfdd84bb0011c7727719c886d9296f93 3098 policykit-1_126-2devuan2.dsc
 b54f18cd7301c33dad854c1ebc89310db81f06c136a98d302520a3c56920cb6e 33248 policykit-1_126-2devuan2.debian.tar.xz
 ccc970d867b4960ddd6f525523e4dc28ae45cc9b72c1e6e3ea8404325d6b488e 5605 policykit-1_126-2devuan2_source.buildinfo
Files:
 62a5a0a662cddff5e127ef165c7ce60f 3098 admin optional policykit-1_126-2devuan2.dsc
 d43afa04d5b2622dd9b6dbc2cf598e2e 33248 admin optional policykit-1_126-2devuan2.debian.tar.xz
 9e261c77119a4acdee1e0038d1517219 5605 admin optional policykit-1_126-2devuan2_source.buildinfo

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

iQEzBAEBCgAdFiEEcuPLdzMV36LkZHQ9lFMhJFQZIvsFAmjaqqIACgkQlFMhJFQZ
Ivt9JAgAhVZuN3qnTFXfTWb37OBGlo2CvrJ59VPQi+27EdZKof97aH6lTCopHev9
gqC2MpKVFp/CTlqugQlLcqv902lfh1jjDMkuLdcbKowdcdKC7In9qUG6fRbyz5Ip
9NQe/skpNPt/ijKrgDwpk4pa/VN6WV5X49zVFsbT3n0xSmdtpOfJylOrD/ntRT9A
e17jDVGa8iMO6And44ugIVEw7YSfzNyUpau/nkO0jlnAifKLpu7lD/Peh6j1PaSm
MnLCIxSti9iuuWH0V/NSSJJ4xEyh7Fnc3CcfP6WDeR4EjY8kUWXWnP5E+lgLxNFL
ITmD/XkZDuYK4du3gA7icbeOP0lnRA==
=v0RS
-----END PGP SIGNATURE-----

Reply sent to dak@devuan.org:
You have taken responsibility. (Fri, 10 Oct 2025 19:46:02 GMT) (full text, mbox, link).


Notification sent to "Plasma (David Paul)" <davidpaul@librem.one>:
bug acknowledged by developer. (Fri, 10 Oct 2025 19:46:03 GMT) (full text, mbox, link).


Message #41 received at 911-done@bugs.devuan.org (full text, mbox, reply):

From: dak@devuan.org
To: 911-done@bugs.devuan.org
Subject: #911: fixed in src:policykit-1 version 126-2devuan1+excalibur1
Date: Fri, 10 Oct 2025 19:44:26 +0000
Version: 126-2devuan1+excalibur1

Source package policykit-1 (126-2devuan1+excalibur1) added to Devuan suite excalibur-proposed-updates.

This closes bug report 911.

Thanks

DAK managing the Devuan archive

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 10 Oct 2025 20:18:39 +0100
Source: policykit-1
Architecture: source
Version: 126-2devuan1+excalibur1
Distribution: excalibur-proposed-updates
Urgency: medium
Maintainer: Devuan Dev Team <devuan-dev@lists.dyne.org>
Changed-By: Mark Hindley <mark@hindley.org.uk>
Closes: 911
Changes:
 policykit-1 (126-2devuan1+excalibur1) excalibur-proposed-updates; urgency=medium
 .
   [ Mark Hindley ]
   * d/rules: reduce unnecessary delta with Debian.
 .
   [ Plasma (David Paul) ]
   * d/rules: Fix override_dh_install target. (Closes: #911)
Checksums-Sha1:
 35e210482efdca4e468253dc0f8c9dce3d233700 3142 policykit-1_126-2devuan1+excalibur1.dsc
 d0b5ba7a7dd86ffe6de2315fc268deb17639c7f8 33272 policykit-1_126-2devuan1+excalibur1.debian.tar.xz
 7fbb59e9ed4c7f1b0136c77aaf1866e103788efc 5649 policykit-1_126-2devuan1+excalibur1_source.buildinfo
Checksums-Sha256:
 d167f824ac5c85c1064ae99d1a0a7a2a8e6b1c6419c4008a641c1685d00e716d 3142 policykit-1_126-2devuan1+excalibur1.dsc
 8e910afb9aa0cf2743194933b71e215a9e2b8aa5b9314855fe52ef8822f3519e 33272 policykit-1_126-2devuan1+excalibur1.debian.tar.xz
 d68317b5522ae9637d833812cbfe9d7b6a63f2ba7fbe9f4ec345d17dbc5efd87 5649 policykit-1_126-2devuan1+excalibur1_source.buildinfo
Files:
 9f901ab68cc3471a71027a88e0f5b4c5 3142 admin optional policykit-1_126-2devuan1+excalibur1.dsc
 e805a7a566ecc59ee69c6f7b03abab32 33272 admin optional policykit-1_126-2devuan1+excalibur1.debian.tar.xz
 8a6f1c42be9b856809874afabc9c0e54 5649 admin optional policykit-1_126-2devuan1+excalibur1_source.buildinfo

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

iQEzBAEBCgAdFiEEcuPLdzMV36LkZHQ9lFMhJFQZIvsFAmjpXXQACgkQlFMhJFQZ
Ivto7wf/cVOCe+d2SzX49ThbGsQGCQhKfi2JRlobgEfaNEwXJzbQqRQ0CWFaT5nt
bvhxqchThdT3SKCfHUJxUDZ62Pvb3a74O16dkhwPNdc8plmCeC3e2JRSU0vFQBis
dKxLIBCGgzDWfpNXDuwUI2/gz6uhxSzzgraxt3Kzu1GQsDupneCFXOBTfkEq1OgE
iX6+D7iQksWJ/d3ygj1pc+/Lh1npFiwZknFDyc8W6bu22jOJVQt47BwGfING8Nik
Ut6yP44Eyy+LtLvboAvj8Pw4Mt35nShXwzwCVwcNf6vmOi7R41N4bo13Dj7lhEep
olQ6sj+1D2rWFhft67f4er3QGLdROw==
=d8Ix
-----END PGP SIGNATURE-----

Reply sent to dak@devuan.org:
You have taken responsibility. (Sun, 12 Oct 2025 14:50:01 GMT) (full text, mbox, link).


Notification sent to "Plasma (David Paul)" <davidpaul@librem.one>:
bug acknowledged by developer. (Sun, 12 Oct 2025 14:50:03 GMT) (full text, mbox, link).


Message #46 received at 911-done@bugs.devuan.org (full text, mbox, reply):

From: dak@devuan.org
To: 911-done@bugs.devuan.org
Subject: #911: fixed in src:policykit-1 version 122-3devuan3
Date: Sun, 12 Oct 2025 14:49:15 +0000
Version: 122-3devuan3

Source package policykit-1 (122-3devuan3) added to Devuan suite daedalus-proposed-updates.

This closes bug report 911.

Thanks

DAK managing the Devuan archive

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 12 Oct 2025 14:45:03 +0100
Source: policykit-1
Architecture: source
Version: 122-3devuan3
Distribution: daedalus-proposed-updates
Urgency: medium
Maintainer: Devuan Dev Team <devuan-dev@lists.dyne.org>
Changed-By: Mark Hindley <mark@hindley.org.uk>
Closes: 911
Changes:
 policykit-1 (122-3devuan3) daedalus-proposed-updates; urgency=medium
 .
   * d/rules: backport Plasma's libpolkit-gobject-consolekit-1-0 fix from #911.
     (Closes: #911)
Checksums-Sha1:
 4e7062a2bb7689771a483d04475fbd3a0b843c38 3539 policykit-1_122-3devuan3.dsc
 dd74423455b50cb4db67fc3ca28fda3153a9f9e5 48208 policykit-1_122-3devuan3.debian.tar.xz
 971e934a6d17cf690ffe9f023693ce24d299e77f 5605 policykit-1_122-3devuan3_source.buildinfo
Checksums-Sha256:
 cd1fd2e2b8501cc5901bc20ba7ad1e09e8927911b32e9f0ef6c3cf1a748721bf 3539 policykit-1_122-3devuan3.dsc
 cc747521becb09a1a96eb441f910e3ec8c219071a8bb0dbd782155cb0014eece 48208 policykit-1_122-3devuan3.debian.tar.xz
 59c90aaf10a4a7f3fd3fd1c44fab8384204ebce96f3c6110a7bb7bd1bd05af1d 5605 policykit-1_122-3devuan3_source.buildinfo
Files:
 1ecff7579b029a8ffa8607ac43a2c318 3539 admin optional policykit-1_122-3devuan3.dsc
 2f5906bce7e3b6e5db0c65da325609c1 48208 admin optional policykit-1_122-3devuan3.debian.tar.xz
 5bf19d934ba49ce685c9664817eb7883 5605 admin optional policykit-1_122-3devuan3_source.buildinfo

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

iQEzBAEBCgAdFiEEcuPLdzMV36LkZHQ9lFMhJFQZIvsFAmjruPUACgkQlFMhJFQZ
Ivv/fwf+LjLPqVqetRHtp0e8wA1a92zM3/q2/M75fs1XSnI6rLz83fMu7hDk95CZ
pCk6J1ITLvN7VQbCEJKfL0tFGhoHs3QcDUdiF8bDCW9Di9rq4lEK0yXQz8G0oOdx
w6I4PJX1eRcvxg7fA7TX8b2oCnxgk68AcR3w9NDlib8BsoS4dzhfIUQND+H4p+jL
1hFE6pgHS5cUUr6LsqXmznVVOyPP456C5S3oEPWAJto9GfFisZ2xg3e3+gXa6puh
WdLyZtDGc41alUxgPlkT0gNPdaMTYzNSrxemjQxnIydg6NEnVmggCfKDNr2G/Pf2
ySDwcozTV7B/mRPCWNbIidBnyh02Pg==
=9H9P
-----END PGP SIGNATURE-----

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: Tue Nov 18 08:02:24 2025;