[systemd-devel] Antw: [EXT] D-bus connection Unknown error

2021-03-02 Thread Ulrich Windl
>>> Shiju Email <994...@gmail.com> schrieb am 02.03.2021 um 22:27 in Nachricht : > Hi, I am getting an error when any systemctl commands are issued. > > Failed to get D-bus connection: Unknown error -1 I have no idea, but I think "unknown error" is bad programming style; it's like "something went

[systemd-devel] D-bus connection Unknown error

2021-03-02 Thread Shiju Email
Hi, I am getting an error when any systemctl commands are issued. Failed to get D-bus connection: Unknown error -1 OS Debian 8.8 I couldn’t find much traction on this in web. Appreciate your help. Thanks Joe ___ systemd-devel mailing list systemd-deve

Re: [systemd-devel] Debugging sd_notify / tracing notifications?

2021-03-02 Thread Simon McVittie
On Mon, 01 Mar 2021 at 10:20:31 -0500, John Ioannidis wrote: > I occasionally need to send a SIGINT to the process Have you tried this? systemctl kill --signal=SIGINT foo.service (Perhaps with --kill-who=main if you just want to kill its top-level process and not its child processes, if any)

Re: [systemd-devel] sdbus errors and their underlaying int value: unique?

2021-03-02 Thread Carlo Wood
On Tue, 2 Mar 2021 10:40:25 +0100 Carlo Wood wrote: > I'm not writing my own C++ wrappers around sbus. I'm now* writing my own C++ wrappers around sbus. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/ma

[systemd-devel] sdbus errors and their underlaying int value: unique?

2021-03-02 Thread Carlo Wood
Hello, thank you for you previous help; I made a lot of progress. I'm not writing my own C++ wrappers around sbus. I have the following question: A sd_bus_error has a name (and a message). The name is usually something like "org.freedesktop.DBus.Error.InvalidArgs" or "com.alinoe.DBus.Error.test