[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#833401: marked as done (debian-policy: virtual packages: dbus-session-bus, dbus-default-session-bus)

Your message dated Sun, 23 Dec 2018 10:49:07 +0000
with message-id <E1gb1Jj-000BR2-EU@fasolo.debian.org>
and subject line Bug#833401: fixed in debian-policy
has caused the Debian Bug report #833401,
regarding debian-policy: virtual packages: dbus-session-bus, dbus-default-session-bus
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 owner@bugs.debian.org

833401: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833401
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-policy
Severity: wishlist
X-Debbugs-Cc: debian-devel@lists.debian.org

I propose two new virtual packages:

dbus-session-bus: anything providing the D-Bus well-known session bus
for user login sessions

dbus-default-session-bus: Debian's preferred implementation of

Currently, many packages that require a D-Bus session bus express that
dependency by depending on dbus-x11. Many more packages rely on a session
bus without an explicit dependency. I would like to deprecate dbus-x11
(which provides a D-Bus session bus per X11 session to that X11 session)
in favour of dbus-user-session (which provides a D-Bus session bus per
uid, shared by all concurrent PAM sessions), while keeping dbus-x11
supported as a non-preferred implementation.

>From discussion in the related MBF plan
<https://lists.debian.org/debian-devel/2016/07/msg00484.html>, I am led
to believe that the preferred way to do this is with two virtual packages,
analogous to mail-transport-agent and default-mta.

dbus-session bus would be provided by dbus-x11, dbus-user-session, and
possibly something kdbus-related in future. The intended semantics are:
programs in at least graphical login sessions can rely on seeing the
$DBUS_SESSION_BUS_ADDRESS environment variable, the $XDG_RUNTIME_DIR/bus
Unix socket, or some other way to discover a session bus that is supported
by all the major D-Bus client libraries.

dbus-default-session-bus would be provided by exactly one package per suite
that is the preferred implementation, currently dbus-user-session.

Programs and desktop environments that require a D-Bus session bus and cannot
work without one should generally declare:

    Depends: dbus-default-session-bus | dbus-session-bus

Programs with weaker dependencies can use a Recommends or a Suggests.

Other options

If this is not a best-practice use of virtual packages, the other options that
I am aware of are:

* Add a real (non-virtual) empty package dbus-session-bus built by src:dbus,
  with Depends: dbus-user-session | dbus-x11 (initially). Other packages
  depend on dbus-session-bus.
  (Pro: simpler dependency graph. Con: requires NEW queue.)

* Add a virtual package dbus-session-bus, and a real (non-virtual) package
  dbus-default-session-bus built by src:dbus.
  (Pro: avoids ambiguity if apt is configured to see more than one suite.
  Con: requires NEW queue.)

* Give packages a direct Depends: dbus-user-session | dbus-x11, and do
  another MBF if we decide post-stretch that we should actually be
  preferring a third implementation, kdbus-session-bus or something.
  (Pro: no proliferation of package names. Con: possible MBF in future.)

* MBF asking applications to stop depending on dbus-x11, and just
  assume that any reasonable desktop environment will pull in
  dbus-user-session | dbus-x11 anyway, in the same way that applications
  are not expected to depend on an X11 server.
  (Pro: simplest possible dependency graph. Con: undeclared dependency.)


--- End Message ---
--- Begin Message ---
Source: debian-policy

We believe that the bug you reported is fixed in the latest version of
debian-policy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 833401@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Sean Whitton <spwhitton@spwhitton.name> (supplier of updated debian-policy 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 ftpmaster@ftp-master.debian.org)

Hash: SHA512

Format: 1.8
Date: Sun, 23 Dec 2018 10:17:55 +0000
Source: debian-policy
Binary: debian-policy debian-policy-ja
Architecture: source
Distribution: unstable
Urgency: medium
Maintainer: Debian Policy Editors <debian-policy@lists.debian.org>
Changed-By: Sean Whitton <spwhitton@spwhitton.name>
 debian-policy - Debian Policy Manual and related documents
 debian-policy-ja - Debian Policy Manual and related documents (Japanese)
Closes: 188731 833401 845715 850156 912581 914383
 debian-policy ( unstable; urgency=medium
   * Policy: Update recommendations for stripping binaries and shlibs
     Wording: Sean Whitton <spwhitton@spwhitton.name>
     Seconded: Russ Allbery <rra@debian.org>
     Seconded: Niels Thykier <niels@thykier.net>
     Closes: #188731
   * Policy: Slightly relax when copyright information need be included verbatim
     Wording: Sean Whitton <spwhitton@spwhitton.name>
     Seconded: Holger Levsen <holger@layer-acht.org>
     Seconded: Russ Allbery <rra@debian.org>
     Closes: #912581
   * Policy: Required targets must not write outside of the source package tree
     Wording: Johannes Schauer <josch@debian.org>
     Wording: Bill Allombert <ballombe@debian.org>
     Seconded: Niels Thykier <niels@thykier.net>
     Seconded: Holger Levsen <holger@layer-acht.org>
     Closes: #845715
   * Policy: Packages should not contain a non-default series file
     Wording: Sean Whitton <spwhitton@spwhitton.name>
     Seconded: Russ Allbery <rra@debian.org>
     Seconded: gregor herrmann <gregoa@debian.org>
     Closes: #850156
   * virtual-package-names-list: Add dbus-session-bus, default-dbus-session-bus
     Wording: Sean Whitton <spwhitton@spwhitton.name>
     Seconded: Simon McVittie <smcv@debian.org>
     Seconded: gregor herrmann <gregoa@debian.org>
     Closes: #833401
   * In a preexisting footnote, recommend passing -D to strip(1) when
     stripping static libraries.
     Thanks to Niels Thykier for the suggestion.
   * Add references to 'next' branch in README.md.
   * Convert virtual-package-names-list to YAML (Closes: #914383).
     Thanks to Jonathan Dowland for the patch.
   * Append missing '.git' to Vcs-Git.
 32d96d73dca550d5cf0babc5b77308764de35d9a 2023 debian-policy_4.3.0.0.dsc
 836885a7a30c7e61859bb4aae6aaca1fa7572ddc 531404 debian-policy_4.3.0.0.tar.xz
 eb8b979248d8d29e4aec266e3e7abd0241c4a952126b1ea8a8cfb33f60435523 2023 debian-policy_4.3.0.0.dsc
 48d9001a15656fa5a16489c3103e24f77e7a57af7aa4cfdd0f413ee3a16597c7 531404 debian-policy_4.3.0.0.tar.xz
 97e6a98aa4092a1c1550ef0bf6bcc0ca 2023 doc optional debian-policy_4.3.0.0.dsc
 f78e87cf7eb7b1def1f42004a8279030 531404 doc optional debian-policy_4.3.0.0.tar.xz



--- End Message ---

Reply to: