Your message dated Thu, 04 Jul 2024 05:32:41 +0000
with message-id <[email protected]>
and subject line Bug#1070448: fixed in policykit-1 124-3
has caused the Debian Bug report #1070448,
regarding polkitd: prevent a confusing message during configure on non-systemd
systems
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.)
--
1070448: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070448
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: polkitd
Version: 124-2
Severity: wishlist
Tags: patch
Dear Maintainer,
In polkitd.postinst, the following is executed on non-systemd systems to stop
polkitd:
start-stop-daemon --stop --oknodo --quiet --exec
/usr/libexec/polkitd || true
This /usr/libexec/polkitd file is not on my system, and it can not be found in
current *_debian_dists_sid_{main,contrib,non-free}_Contents-{all,amd64}.lz4.
This causes a message emitted during the configure of the polkitd package:
Setting up polkitd (124-2) ...
Creating group 'polkitd' with GID 994.
Creating user 'polkitd' (User for polkitd) with UID 994 and GID 994.
start-stop-daemon: unable to stat /usr/libexec/polkitd (No such file
or directory)
This message(start-stop-daemon: unable to ...) is useless and may confuse users.
I suggest change this line and the line before it as the following to prevent
this message:
test -x /usr/lib/polkit-1/polkitd && start-stop-daemon --stop
--oknodo --quiet --exec /usr/lib/polkit-1/polkitd || true
test -x /usr/libexec/polkitd && start-stop-daemon --stop
--oknodo --quiet --exec /usr/libexec/polkitd || true
A full patch is attached. Please consider apply this change or take any other
modification to prevent the possible confusing message from emitting.
Regards,
Jun MO
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.7.12-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: runit (via /run/runit.stopit)
LSM: AppArmor: enabled
Versions of packages polkitd depends on:
ii adduser 3.137
ii dbus [default-dbus-system-bus] 1.14.10-4+b1
ii libc6 2.38-7
ii libduktape207 2.7.0-2+b1
ii libexpat1 2.6.2-1
ii libglib2.0-0t64 2.80.0-9
ii libpam-elogind [logind] 255.5-1debian1
ii libpam0g 1.5.3-7
ii libpolkit-agent-1-0 124-2
ii libpolkit-gobject-1-0 124-2
ii libsystemd0 255.5-1
ii opensysusers [systemd-sysusers] 0.7.3-2
ii xml-core 0.19
polkitd recommends no packages.
Versions of packages polkitd suggests:
pn polkitd-pkla <none>
Versions of packages polkitd is related to:
ii elogind 255.5-1debian1
ii libpam-elogind 255.5-1debian1
pn libpam-systemd <none>
pn systemd <none>
-- no debconf information
--- /var/lib/dpkg/info/polkitd.postinst 2024-03-17 03:22:27.000000000 +0800
+++ /tmp/polkitd.postinst 2024-05-05 21:28:05.829634044 +0800
@@ -39,8 +39,8 @@
# On non-systemd systems, polkitd is started as a traditional D-Bus
# system service and is not managed by a service manager, so this is
# the best we can do
- start-stop-daemon --stop --oknodo --quiet --exec /usr/lib/polkit-1/polkitd || true
- start-stop-daemon --stop --oknodo --quiet --exec /usr/libexec/polkitd || true
+ test -x /usr/lib/polkit-1/polkitd && start-stop-daemon --stop --oknodo --quiet --exec /usr/lib/polkit-1/polkitd || true
+ test -x /usr/libexec/polkitd && start-stop-daemon --stop --oknodo --quiet --exec /usr/libexec/polkitd || true
fi
}
--- End Message ---
--- Begin Message ---
Source: policykit-1
Source-Version: 124-3
Done: Michael Biebl <[email protected]>
We believe that the bug you reported is fixed in the latest version of
policykit-1, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Biebl <[email protected]> (supplier of updated policykit-1 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 03 Jul 2024 23:03:15 +0200
Source: policykit-1
Architecture: source
Version: 124-3
Distribution: unstable
Urgency: medium
Maintainer: Utopia Maintenance Team
<[email protected]>
Changed-By: Michael Biebl <[email protected]>
Closes: 1025540 1068652 1070448
Changes:
policykit-1 (124-3) unstable; urgency=medium
.
* Drop transitional package policykit-1 (Closes: #1025540)
* Drop fallback for /usr/libexec/polkitd in postinst (Closes: #1070448)
* fix: pkexec fails with
"GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for
cookie"
Patch cherry-picked from upstream Git. (Closes: #1068652)
* Drop support for the pkla backend.
Drop the legacy polkitd-pkla package.
It is no longer maintained upstream and was only meant as a temporary
measure to ease the migration from .pkla to JS based rules files.
* Bump Standards-Version to 4.7.0
Checksums-Sha1:
1d1bcad11b52d63aff44439aa837f84d447dac56 3012 policykit-1_124-3.dsc
0e83a76a17128aa5b50e68a26653dcd4c7da5cef 34752 policykit-1_124-3.debian.tar.xz
344050e38dae877be20fdd8cf5b2b2ca699c1e68 6041
policykit-1_124-3_source.buildinfo
Checksums-Sha256:
1de42dce7d844fd7bc72ab3c37975344b2d176c1d1adab53f43b38fb0c7a583a 3012
policykit-1_124-3.dsc
9517e05dd1fd94c7683575f8b932a35d25f5892859e1b4cd15707c6335c51b09 34752
policykit-1_124-3.debian.tar.xz
afb4ba943641ead7253853f14b81156e8c731058eb830f2ceabaf476ae3bc09a 6041
policykit-1_124-3_source.buildinfo
Files:
5c04a61916e6f82787c5fa3c8eb3371f 3012 admin optional policykit-1_124-3.dsc
ac33b7d1d3c36d6d2159b5f56d613946 34752 admin optional
policykit-1_124-3.debian.tar.xz
ffea81388fe9572af62343efe641354c 6041 admin optional
policykit-1_124-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEECbOsLssWnJBDRcxUauHfDWCPItwFAmaFvTAACgkQauHfDWCP
ItzHfBAAiSbKleM4KcFbB9iqowmwZ2k4XuYNzvXnyL8zcEDAxzd2ilULNHgvIMJv
u2eN4xcKleC8NQxHn045ry3sbDn1zHe7XQq9mftu0SgmvteiNb/xhTgU7qubolNV
Ihf5YQRSQpH9uev8C9KrzSy13dX5Bjan9AMWDIUCThDJPCVsdorg59Y3xVvZ0uu7
JxMYudpc0/QQ5ZttgAgbm3r3PsWWV6QdDsV4V+7v9t5rjijZrvxol2LBeM12TevI
fiCUjvC4aUOGqYhKs39ImWzVFnSBIM7Y4+UB0Q6E+qkGTTVdLhtCPGRkbzds0OUW
dHBScugQyf8gMEcaldd+/T8S9ceD5BMQIkvjp2h2b9TomBlmL2uGmIwJBMQ+I6Cv
fx8TCpeZH4Vf5PaCG+nSHoZoLw2ZF/qe/g7WsCe21SzDfij4hU/C8+Ke8Mi7fyWR
09D4zGb0dDb5/jjyGsLAXFOhczHyQy6f0xc4vMLr6bdZ/BxLDcEJTFbCodzjCg5X
dLqkxyF2Svc4cy24NuAu+uI4jWar+ESm3Oxra0mwsKMXgWXgnOz61FClhw9fAugB
RnuGedTO7EuOf1uyxV39uQgHhHSRqIXwbKbBaer1tDpbAZgmkvhkMu8oRbhP+JFv
/sjWWdcAGXJuUkMf1LwtZh+RVkgP4hLj0LjIU7haDEAMEYJWSTk=
=o7BU
-----END PGP SIGNATURE-----
pgpQZzOxeD7BA.pgp
Description: PGP signature
--- End Message ---
_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-utopia-maintainers