[systemd-devel] [PATCH] systemctl: list-units -r should not fail with older systemd in container

Lennart Poettering lennart at poettering.net
Tue Mar 31 10:28:18 PDT 2015


On Tue, 31.03.15 16:10, Lukas Nykryn (lnykryn at redhat.com) wrote:

> Older version of systemd does not have d-bus method "ListUnitsFiltered",
> so systemctl -r will fail just with:

I think I'd really prefer if we'd simply fall back to ListUnits() in
this case, and do the filtering client side only. In fact that's
probably what we should have done in the first place anyway.

I figure the patch to make this happen shouldn't be too complex,
especially given that the original code did just that?

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list