Bug#1009963: deb-systemd-helper: Misleading error message in "sub enable" if systemctl fails
sh-bugs at ps.nvbi.de
sh-bugs at ps.nvbi.de
Fri Apr 22 10:31:52 BST 2022
On Thu, 21 Apr 2022 19:08:26 +0200 Michael Biebl <biebl at debian.org> wrote:
> > ...
> >
> > Currently it always give "$!" as the reason, even when not correct.
> > This would also be incorrect if the real systemctl is used if the
> > command fails because of syntax errors or so.
>
> Thanks for the additional information, Ansgar.
>
> I guess we have two issues then:
> - systemctl (from docker-systemctl-replacement) most likely not being
> compatible with the real systemctl
> - handling of the return code from system()
Yes, i think this is correct. I will fill an additional bug report for
the systemctl package, which is the root cause of the problem. The bug
reported here just gave some additional headaches while searching the
real problem.
Thanks,
Sascha
More information about the Pkg-systemd-maintainers
mailing list