Re: [systemd-devel] proper use of /run/{user/, }/systemd/private sockets

2017-11-14 Thread aleivag
> > > Don't connect directly to it. Use the official bus instead. Forget > that you know about the private connection at all... > > Lennart > > got it, "this aren't the sockets you're looking for" :), will use then propper `sd_bus_open_*` Thanks Guys! Alvaro

Re: [systemd-devel] proper use of /run/{user/, }/systemd/private sockets

2017-11-14 Thread Lennart Poettering
On Mo, 13.11.17 19:26, aleivag (alei...@gmail.com) wrote: > Hi all: > > hope you guys are doing great!. So i have a few questions, hope this is the > best place for them. > > I've been doing a lot of work with `sd-bus.h` (basically i've been trying > to bind it to other languages to then

Re: [systemd-devel] proper use of /run/{user/, }/systemd/private sockets

2017-11-14 Thread Simon McVittie
On Tue, 14 Nov 2017 at 09:19:08 +0100, Jérémy Rosen wrote: > That being said, the system socket location is hardcoded not just in systemd, > but in the dbus specification itself. The D-Bus Specification does not say anything about the .../systemd/private sockets. That would be inappropriate:

Re: [systemd-devel] proper use of /run/{user/, }/systemd/private sockets

2017-11-14 Thread Jérémy Rosen
On 14/11/2017 04:26, aleivag wrote: Hi all: hope you guys are doing great!. So i have a few questions, hope this is the best place for them. I've been doing a lot of work with `sd-bus.h` (basically i've been trying to bind it to other languages to then interact with systemd natively).

[systemd-devel] proper use of /run/{user/, }/systemd/private sockets

2017-11-13 Thread aleivag
Hi all: hope you guys are doing great!. So i have a few questions, hope this is the best place for them. I've been doing a lot of work with `sd-bus.h` (basically i've been trying to bind it to other languages to then interact with systemd natively). I've been reading the man pages/blog