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

startup: Set up the session bus on the boot.iso #5464

Merged
merged 1 commit into from
Feb 9, 2024

Commits on Feb 8, 2024

  1. startup: Set up the session bus on the boot.iso

    The user instance of systemd that we start from Anaconda on the boot.iso runs
    a session bus at `XDG_RUNTIME_DIR/bus`. Other services started by Anaconda might
    call `bus-launch --autolaunch` to find the existing session bus (or start a new
    one), but `dbus-launch` ignores the `XDG_RUNTIME_DIR` environment variable.
    
    * Let's set the `DBUS_SESSION_BUS_ADDRESS` environment variable to fix that.
    * Create the `SessionBus` object for an easy access to the session bus.
    * Always start the user instance of systemd on a boot.iso for consistency.
    poncovka committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    5c24c4e View commit details
    Browse the repository at this point in the history