News for hackers. Stuff that matters.
Re:Systemd Inhibitor Locks Deep Dive by wrkronmiller on Saturday April 10, 2021 @06:18PM (#26765697)
What is the advantage of dbus over Unix sockets?
Re:Systemd Inhibitor Locks Deep Dive by kelnos on Saturday April 10, 2021 @11:47PM (#26767344)
Apples and oranges.

DBus actually uses unix sockets (though I believe it can make use of other transports as well). If you're going to use a raw unix socket, you have to design your own RPC mechanism over it. For some things, that may not be a big deal, and may be preferable to pulling in a dependency like DBus. But for other things, not having to do that work might be a win.

DBus also allows for fine-grained permissions that you can't get with unix sockets without designing and building that mechanism yourself.

Re:Systemd Inhibitor Locks Deep Dive by taway098123 on Saturday April 10, 2021 @06:35PM (#26765861)
Dbus is mostly just a message queue for Unix sockets. Think Kafka or SQS but only for local services.
Re:Systemd Inhibitor Locks Deep Dive by yrro on Saturday April 10, 2021 @06:34PM (#26765853)
What's the advantage of REST when you have TCP sockets?