Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relying on dbus-daemon which is replaced by dbus-broker in Tumbleweed #1561

Open
mvidner opened this issue Aug 29, 2024 · 2 comments
Open

Relying on dbus-daemon which is replaced by dbus-broker in Tumbleweed #1561

mvidner opened this issue Aug 29, 2024 · 2 comments

Comments

@mvidner
Copy link
Contributor

mvidner commented Aug 29, 2024

Agama CI tests started failing, being unable to start dbus-daemon.

By default it is replaced by dbus-broker. Tumbleweed snapshot 20240825 announcement quotes dbus-1.changes:

  • No longer start or offer starting dbus as a system service
    dbus-broker will be the only supported system dbus. Although
    the existing daemon will stay as some things (gdm) require
    dbus-run-session

We need to make it work again:

  1. install dbus-1-daemon.rpm as a workaround
  2. figure out the setup for dbus-broker. For example the daemon configuration file does not apply
mvidner added a commit that referenced this issue Aug 29, 2024
#1561)

[Tumbleweed snapshot 20240825 announcement][tw0825] quotes dbus-1.changes:

> - No longer start or offer starting dbus as a system service
>   dbus-broker will be the only supported system dbus. Although
>   the existing daemon will stay as some things (gdm) require
>   dbus-run-session

[tw0825]: https://lists.opensuse.org/archives/list/[email protected]/thread/GUIJNW45DGP25M7RS4EPAKTEP7IXEHWU/

dbus-broker is not a drop-in replacement:
for example it does not share the config file, so eventual migration to use it
is not trivial
@mvidner
Copy link
Contributor Author

mvidner commented Aug 30, 2024

I have just checked that https://github.com/yast/yast-storage-ng passes CI just fine with dbus-broker so it seems changing https://github.com/yast/ci-ruby-container won't be needed

mvidner added a commit that referenced this issue Aug 30, 2024
CI: install dbus-1-daemon (#1561)

Some of the tests need a running D-Bus with the Agama config
and start dbus-daemon for it.
With Tumbleweed switching to dbus-broker they would break.
We may need to migrate to dbus-broker but this keeps it working for now.
mvidner added a commit that referenced this issue Aug 30, 2024
#1561) (#1562)

## Problem

- Filed as issue #1561
[Tumbleweed snapshot 20240825 announcement][tw0825] quotes
dbus-1.changes:

> - No longer start or offer starting dbus as a system service
>   dbus-broker will be the only supported system dbus. Although
>   the existing daemon will stay as some things (gdm) require
>   dbus-run-session

[tw0825]:
https://lists.opensuse.org/archives/list/[email protected]/thread/GUIJNW45DGP25M7RS4EPAKTEP7IXEHWU/

dbus-broker is not a drop-in replacement:
for example it does not share the config file, so eventual migration to
use it is not trivial

## Solution

- Fix `/setup-services.sh`, used by `/setup.sh` and
`testing_in_container.sh`
- No `.changes` entry as this fixes no package (yet. TODO)


## Testing

- *Tested manually*: `testing_in_container.sh` passes


## Screenshots

No
@mvidner
Copy link
Contributor Author

mvidner commented Aug 30, 2024

Ah, the package part (rubygem-agama-yast.rpm) was done by Imo in #1557

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant