Add json file caching for systemd detection results#2109
Add json file caching for systemd detection results#2109youurayy wants to merge 1 commit intoopencontainers:masterfrom youurayy:master
Conversation
Signed-off-by: Juraj Vitko <juraj.vitko@gmail.com>
|
What happens if the system gets updated to a new systemd version, such that the cached values are incorrect (at least on openSUSE, neither |
Another (and fast) way of checking systemd capabilities would be to simply ask the systemd binary for a --version, and also somehow determine if this is a RHEL systemd, and then use that combined info to establish a) whether this is a new-enough systemd, b) whether this is an older but backported RHEL systemd, c) neither. |
|
Quite frankly, we should simply drop these three checks.
Let's just drop this? |
|
See #2117 for a PR dropping these checks. It passes tests with RUNC_USE_SYSTEMD=1. |
|
This can be closed since #2117 is merged. |
Closes #2108
Signed-off-by: Juraj Vitko juraj.vitko@gmail.com