[systemd-devel] Antw: Re: Antw: [EXT] D-bus connection Unknown error
Ulrich Windl
Ulrich.Windl at rz.uni-regensburg.de
Wed Mar 3 13:57:11 UTC 2021
>>> Reindl Harald <h.reindl at thelounge.net> schrieb am 03.03.2021 um 12:39 in
Nachricht <35c55fcf-6f7c-0566-ef55-5d7b2fb501d8 at thelounge.net>:
>
> Am 03.03.21 um 07:59 schrieb Ulrich Windl:
>>>>> Shiju Email <994745 at gmail.com> schrieb am 02.03.2021 um 22:27 in
Nachricht
>> <CACjSbS4Z3Ux2xz_Mt=Ycjqkx6TUmUBS8hZKNjBjM8kjd152NZw at mail.gmail.com>:
>>> 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 wrong; go and figure..."
>
> it's the "you should never reach that" codepath and is at least a better
> programming style than crash when something you din't think of happens
So it's an "unexpected error condition", and probably details about the
condition are available.
> _______________________________________________
> systemd‑devel mailing list
> systemd‑devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd‑devel
More information about the systemd-devel
mailing list