Your message dated Sat, 30 Oct 2021 15:33:34 +0000
with message-id <[email protected]>
and subject line Bug#998062: fixed in at-spi2-core 2.42.0-2
has caused the Debian Bug report #998062,
regarding Allow using dbus-broker if the user installed it
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.)


-- 
998062: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998062
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: at-spi2-core
Version: 2.42.0-1
Severity: wishlist
Tags: patch
X-Debbugs-Cc: [email protected], [email protected]

Hi,

I currently have dbus-broker installed and enabled:

michael@pluto:~$ apt-cache policy dbus-broker
dbus-broker:
  Installed: 29-2
  Candidate: 29-2
  Version table:
 *** 29-2 500
        500 http://ftp.debian.org/debian sid/main amd64 Packages
        100 /var/lib/dpkg/status
michael@pluto:~$ systemctl status dbus.service
* dbus-broker.service - D-Bus System Message Bus
     Loaded: loaded (/lib/systemd/system/dbus-broker.service; enabled; vendor 
preset: enabled)
     Active: active (running) since Fri 2021-10-29 10:58:51 CEST; 13min ago
TriggeredBy: * dbus.socket
       Docs: man:dbus-broker-launch(1)
   Main PID: 591 (dbus-broker-lau)
      Tasks: 2 (limit: 19028)
     Memory: 5.8M
        CPU: 622ms
     CGroup: /system.slice/dbus-broker.service
             |-591 /usr/bin/dbus-broker-launch --scope system --audit
             `-596 dbus-broker --log 4 --controller 9 --machine-id 
567a68a5c2672114bcf5192d00000008 --max-bytes 536870912 --max-fds >

Oct 29 10:58:51 pluto systemd[1]: Starting D-Bus System Message Bus...
Oct 29 10:58:51 pluto systemd[1]: Started D-Bus System Message Bus.
Oct 29 10:58:51 pluto dbus-broker-launch[591]: AppArmor enabled, but not 
supported. Ignoring.
Oct 29 10:58:51 pluto dbus-broker-lau[591]: Ready



Yet, I still see that at-spi2-core launches a dbus-daemon instance
itself:

michael@pluto:~$ ps aux | grep dbus
message+     591  0.0  0.0   9744  4232 ?        Ss   10:58   0:00 
/usr/bin/dbus-broker-launch --scope system --audit
message+     596  0.0  0.0   6988  4468 ?        S    10:58   0:00 dbus-broker 
--log 4 --controller 9 --machine-id 567a68a5c2672114bcf5192d00000008 
--max-bytes 536870912 --max-fds 4096 --max-matches 131072 --audit
michael     1643  0.0  0.0   9540  3804 ?        Ss   10:59   0:00 
/usr/bin/dbus-broker-launch --scope user
michael     1711  0.0  0.0   7080  4616 ?        S    10:59   0:00 dbus-broker 
--log 4 --controller 10 --machine-id 567a68a5c2672114bcf5192d00000008 
--max-bytes 100000000000000 --max-fds 25000000000000 --max-matches 5000000000
michael     2062  0.0  0.0   8024  4256 ?        S    10:59   0:00 
/usr/bin/dbus-daemon 
--config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork 
--print-address 3


This can be fixed by building at-spi2-core with
-Ddefault_bus=dbus-broker
This way, bus/at-spi-bus-launcher.c will first try to use dbus-broker
and if not available fall back to dbus-daemon.

I rebuilt the package with the attached patch and applied and
successfully tested
- dbus-broker installed: → dbus-broker is used
- dbus-broker not installed → dbus-daemon is used

I've CCed Simon and Luca as maintainers of dbus and dbus-broker, in case
they have some input on this matter.


Regards,
Michael



-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.14.0-3-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages at-spi2-core depends on:
ii  libatspi2.0-0  2.42.0-1
ii  libc6          2.32-4
ii  libdbus-1-3    1.12.20-3
ii  libglib2.0-0   2.70.0-3
ii  libsystemd0    249.5-1
ii  libx11-6       2:1.7.2-2+b1
ii  libxtst6       2:1.2.3-1

at-spi2-core recommends no packages.

at-spi2-core suggests no packages.

-- no debconf information
diff -Nru at-spi2-core-2.42.0/debian/rules at-spi2-core-2.42.0/debian/rules
--- at-spi2-core-2.42.0/debian/rules    2021-09-19 01:23:16.000000000 +0200
+++ at-spi2-core-2.42.0/debian/rules    2021-10-29 11:05:43.000000000 +0200
@@ -7,8 +7,10 @@
 
 override_dh_auto_configure:
        ac_cv_lib_ICE_IceConnectionNumber=no \
-       dh_auto_configure -- -Dintrospection=yes \
-                       -Ddocs=true
+       dh_auto_configure -- \
+               -Dintrospection=yes \
+               -Ddocs=true \
+               -Ddefault_bus=dbus-broker
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))

--- End Message ---
--- Begin Message ---
Source: at-spi2-core
Source-Version: 2.42.0-2
Done: Samuel Thibault <[email protected]>

We believe that the bug you reported is fixed in the latest version of
at-spi2-core, 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.
Samuel Thibault <[email protected]> (supplier of updated at-spi2-core 
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: SHA512

Format: 1.8
Date: Sat, 30 Oct 2021 17:21:47 +0200
Source: at-spi2-core
Architecture: source
Version: 2.42.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Accessibility Team <[email protected]>
Changed-By: Samuel Thibault <[email protected]>
Closes: 998062
Changes:
 at-spi2-core (2.42.0-2) unstable; urgency=medium
 .
   [ Michael Biebl ]
   * rules: Use dbus-broker by default when available (Closes: #998062)
 .
   [ Debian Janitor ]
   * Remove constraints unnecessary since buster:
     + Build-Depends: Drop versioned constraint on gtk-doc-tools.
     + libatspi2.0-dev: Drop versioned constraint on libglib2.0-dev in Depends.
Checksums-Sha1:
 835dd053229f9e53b647dd3f2fcaf6a8dfd733a7 2743 at-spi2-core_2.42.0-2.dsc
 3c59cb52db5b63fbb85eb65f2199e11fd33a6ea0 11656 
at-spi2-core_2.42.0-2.debian.tar.xz
 e99c410fe12bd836c650722899e8abbc488dbe37 15101 
at-spi2-core_2.42.0-2_amd64.buildinfo
Checksums-Sha256:
 fb4405c38afda10b9d5cd248a952f7e1cfcf876cb0be4abbb3864bb70fc13623 2743 
at-spi2-core_2.42.0-2.dsc
 138fee331193217b3bddd6e9c247a0a8f56d274ca0c17a598cb0da9b32bf9f46 11656 
at-spi2-core_2.42.0-2.debian.tar.xz
 d5f769b2e6c57ff6756bf9af4bfdbbd8a42b3fde42a98cf9cb1e1fd1c006d373 15101 
at-spi2-core_2.42.0-2_amd64.buildinfo
Files:
 697b7504e873aa6a02edfcce5559b325 2743 misc optional at-spi2-core_2.42.0-2.dsc
 ebfe41c3300d1ee5ec6739f266c89d77 11656 misc optional 
at-spi2-core_2.42.0-2.debian.tar.xz
 02e54247680cafabbcd99d04bcb987cb 15101 misc optional 
at-spi2-core_2.42.0-2_amd64.buildinfo

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

iQIzBAEBCgAdFiEE59DSENomQIYa2nfqRdTszGSEm3kFAmF9Y7EACgkQRdTszGSE
m3mvdhAApdsMsWNDCR7Bu2eAr6MsueJ6A9fM4QIPX3fijzv1XDVGS38/i8eECryU
7frkqMwNESCV4La1O4ifJxZUxabRvOhG+Ne166/G9tBanhKVK0Fo+MyB05/HEHdz
XO/Nh6JNbzvf7DPQ/5jJPqbvakz/kStjqlLkNAUL+xjskehWqyIbx6SZdmgtnsks
6qYcITs8NbxE5DqPrw0sFEyBnpbiQjljOHsE8t6Js36olWGI0R2fj1ayaLmaPKNt
P+22wE8gl0CLioQz5SRL6PJymsjg7VJGpOecuZOT6Pez9rvRVj4bJ+vtyOPTjbdC
TFTIJkHUDK+nIfLpG6DtLbA4VCURsKdE94C2VWDAW6mXWH7pUWHaMhQBQb39a1Uz
1kVKmq2AF40HITmEm3G0QVITl7LpSOgJ0PGqtwtuB0pNo/PdO6Viwmx/a9nTp+WI
Zxu16dNNCvLbVMy4f9GfH3xwTxdsuWICxZAw3cdD9GB+w0JgEj4onPjIlxdMKa53
7zUV6xLNRdQ/AAuTxx6BvxGJbzDRhHeUW1jtc1ha/c4ePSXDaD29iBeDeIikvQdS
BODDqbsDKdLMwwPNdnt1RUh7PrpRCW+qonepkftuLmi9X2NS3ItVYsgRFMMYF+JC
aeye3LiEmYlc/KW3ZGpewognv30ggXwNNxouTNHyo5HQDHTqKG8=
=Olna
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to