Coder Social home page Coder Social logo

Comments (2)

dvdhrm avatar dvdhrm commented on June 11, 2024

This has been coming up several times lately. I believe there is no support for overriding configuration in the D-Bus reference implementation (which we follow). I might be wrong, but you really shouldn't provide multiple services files for the same service, and expect a specific one to have precedence, at least with the status-quo.

If there is desire for such configuration, this likely needs to be brought up in the issue tracker of the reference implementation (gitlab.freedesktop.org), and likely needs some design discussions. I am a bit hesitant to introduce these features without support by the reference-implementation.

Personally, I would very much prefer to get rid of the configuration alltogether, and instead require application managers to register services. For instance, systemd already knows about dbus-names of services and could just register them, and thus grant you all the configuration-features of its unit-files. dbus-broker already allows this, but would need direct integration into systemd for this specific example to work.

Anyway, I am not sold on a specific design for the future, so discussion is certainly welcome.

from dbus-broker.

afiestas avatar afiestas commented on June 11, 2024

I did not find any previous discussions; apologies if this has already been addressed.

Your comment is completely valid. I will open an issue in the reference implementation bug tracker and ask for feedback over there.

Your proposal is quite insightful, especially considering that D-Bus predates systemd, necessitating many features that are now redundant. However, I wonder if making systemd a hard requirement in 2024 is feasible. This, too, is a topic for discussion in the reference implementation.

Thanks!

Edit: Issue opened at dbus-freedekstop

from dbus-broker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.