Fix D-Bus system bus socket path for Redox

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-04-17 13:43:39 +01:00
parent 722b10ba59
commit 84a7000759
4 changed files with 4 additions and 4 deletions
@@ -58,7 +58,7 @@ fn system_connection_builder() -> Result<ConnectionBuilder<'static>, Box<dyn Err
if let Ok(address) = env::var("DBUS_STARTER_ADDRESS") {
Ok(ConnectionBuilder::address(Address::try_from(address.as_str())?)?)
} else {
Ok(ConnectionBuilder::system()?)
Ok(ConnectionBuilder::address(Address::try_from("unix:path=/run/dbus/system_bus_socket")?)?)
}
}
@@ -60,7 +60,7 @@ fn system_connection_builder() -> Result<ConnectionBuilder<'static>, Box<dyn Err
if let Ok(address) = env::var("DBUS_STARTER_ADDRESS") {
Ok(ConnectionBuilder::address(Address::try_from(address.as_str())?)?)
} else {
Ok(ConnectionBuilder::system()?)
Ok(ConnectionBuilder::address(Address::try_from("unix:path=/run/dbus/system_bus_socket")?)?)
}
}
@@ -52,7 +52,7 @@ fn system_connection_builder() -> Result<ConnectionBuilder<'static>, Box<dyn Err
if let Ok(address) = env::var("DBUS_STARTER_ADDRESS") {
Ok(ConnectionBuilder::address(Address::try_from(address.as_str())?)?)
} else {
Ok(ConnectionBuilder::system()?)
Ok(ConnectionBuilder::address(Address::try_from("unix:path=/run/dbus/system_bus_socket")?)?)
}
}
@@ -110,7 +110,7 @@ fn system_connection_builder() -> Result<ConnectionBuilder<'static>, Box<dyn Err
if let Ok(address) = env::var("DBUS_STARTER_ADDRESS") {
Ok(ConnectionBuilder::address(Address::try_from(address.as_str())?)?)
} else {
Ok(ConnectionBuilder::system()?)
Ok(ConnectionBuilder::address(Address::try_from("unix:path=/run/dbus/system_bus_socket")?)?)
}
}