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

Reindl Harald h.reindl at thelounge.net
Wed Mar 3 11:39:45 UTC 2021



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


More information about the systemd-devel mailing list