[systemd-devel] Antw: Re: systemd's connections to /run/systemd/private ?
Reindl Harald
h.reindl at thelounge.net
Wed Aug 14 10:53:13 UTC 2019
Am 14.08.19 um 12:48 schrieb Michael Chapman:
> On Wed, 14 Aug 2019, Reindl Harald wrote:
>>>> may is ask you to read the thread you are responding to?
>>>> nobody is touching the private socket
>>>
>>> systemctl will mostly use /run/systemd/private when run as root
>>
>> that's not the point - the point is his talking about "doesn't private
>> socket mean" when the code triggering in the thread the issue don't talk
>> to it directly
>
> I don't know who specifically you are referring to.
>
> Brian's example, when run as root, connects to systemd using the private
> socket. When run as an unprivileged user it will go via the DBus daemon
> instead.
sh -c 'exec 1>&-; /usr/bin/systemctl status ntpd.service'
that code don#t talk directly to that socket and so any "but doesn't
private socket mean it's intended to be used by systemd only" is
nonsense give it is used by systemd in the form of systemctl
More information about the systemd-devel
mailing list