3 ms·
Why as a response to this? As far as I can understand they're actually finally addressing some things that people have complained about. kdbus is removed from r
by viraptor 11y ago
Why as a response to this? As far as I can understand they're actually finally addressing some things that people have complained about. kdbus is removed from rawhide, bus1 is not under systemd umbrella as far as I can tell, it's not just a move of existing huge spec into kernelspace, and as the article says "BUS1 is being designed to be a low-level IPC technology that will also provide a high-level interface for applications."
Linux could definitely use some real, simple bus interface, so why would this be bad? (assuming it won't be merged into systemd in the future)
- wtallis 11y ago> "Linux could definitely use some real, simple bus interface, so why would this be bad? (assuming it won't be merged into systemd in the future)" Where's the evidence of demand for this from outside the systemd bubble, and why are all of the other existing IPC mechanisms (including those in other operating systems that could be implemented for Linux) unsuitable? The systemd devs really shouldn't be taken solely at their word that doing their favorite thing in another corner of the OS is the best decision for the broader community.
- viraptor 11y agoEvery big system uses some kind of bus. There's a whole list of buses / rpcs used on Linux and other systems many of which get heavy and tedious at some point. Actual clean low-level bus + high level app layer could be a good solution for a change. sunrpc, dcom, corba, dbus, xpcom, dci, dcop, rmi, kqueue (kind of), 9p/plumber, ... All of them try to achieve a similar thing. Some of them can be actually used for remote calls, but a lot are used for local rpc. They're unsuitable for the same reasons that we're using json instead of asn1, and http instead of custom interactive protocols. It's not that they don't work anymore, but because we learned how to do things better. And if bus1, or something similar could provide a low-level, common basis for more generic technologies, that would be awesome. Regarding reuse... I don't know if any current system can provide what systemd guys want (pre-init availability and sending uid assurance)
- vezzy-fnord 11y ago9P and Plumber are nothing like the rest, and kqueue is an I/O multiplexing mechanism. I'm unsure of why you consider 9P to be outmoded. It certainly can be available pre-init.
- viraptor 11y agoYou're right, I added plumber and kqueue after writing the comment, forgot to revise the text. (edited) It was more about corba/xpcom being rather heavy. Sure, kqueue is different, but it is a kind of local event/message (yeah, I'm aware it's a stretch). Sure, 9p can be available pre-init, but it doesn't provide sender verification. (i.e. you can't map the message to local uid) It could be added to the attributes of course, but it's not standard at the moment. Is that not right?
- X-Istence 11y agoif kqueue is considered, add epoll, poll, select and others like it. Those are all event/message systems too...
- pdkl95 11y ago> sending uid assurance This sounds like an attempt to implement security features the kernel already provides. Why would you need an assurance of a UID, and why would you assume that it would stay accurate? Using UIDs to do manual security features is going to have reliability issues, and if it's for a non-security feature, you don't need an assurance.
- viraptor 11y agoYes it is for security features. Services get your message and if they operate on system resources they need to know who you are so they can either execute some action or not. Sure, this can be pushed to other layers instead (selinux for example), but it doesn't change that the functionality is needed. This impacts issues like configuring wireless networks without being an admin. (which is what most people want in practice)