Comment 1 for bug 1793448

Revision history for this message
Mike Pontillo (mpontillo) wrote :

I patched the code to add "-n 0 --no-pager" and remove "sudo" when calling "systemctl status"[1].

Now I see the following defunct process:

maas 24458 0.0 0.0 0 0 ? Z 23:48 0:00 | \_ [systemctl] <defunct>

So I've ruled out `sudo`, the pager (which shouldn't have been used anyway since there is no PTY), and extraneous log output causing issues.

[1]: https://paste.ubuntu.com/p/CpcKtmRDGm/