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

Automatic fallback to in-process mode when D-Bus not available #15

Open
romangg opened this issue Aug 16, 2020 · 0 comments
Open

Automatic fallback to in-process mode when D-Bus not available #15

romangg opened this issue Aug 16, 2020 · 0 comments

Comments

@romangg
Copy link
Member

romangg commented Aug 16, 2020

Currently one has to set the environment variable DISMAN_IN_PROCESS to have the consumer run the backend in-process. Even when D-Bus is not available and trying to have an out-of-process backend would fail.

We could do an automatic fallback in this case to an in-process backend.

On the other side Disman without the D-Bus backend does not always work correctly with more than one consumer and this might be a hidden issue then. Requiring to set the environment variable manually makes sure the user knows what he is getting himself into.

Also in most cases D-Bus should be available. Are there counter-examples?

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

No branches or pull requests

1 participant