You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then boot, see systemctl status [email protected] and it shows that it didn't start.
Container Linux Version
NAME="Container Linux by CoreOS"
ID=coreos
VERSION=1520.8.0
VERSION_ID=1520.8.0
BUILD_ID=2017-10-26-0342
PRETTY_NAME="Container Linux by CoreOS 1520.8.0 (Ladybug)"
ANSI_COLOR="38;5;75"
HOME_URL="https://coreos.com/"
BUG_REPORT_URL="https://issues.coreos.com"
COREOS_BOARD="amd64-usr"
Expected Behavior
Enabled service starts
Actual Behavior
Ingition uses systemd presets, which apparently does not support enabling instantiated services.
There is this discussion https://lists.freedesktop.org/archives/systemd-devel/2015-August/033834.html where hack with explicit symlinks installed via Alias= are used. Would be nice if Ignition took care of it
The text was updated successfully, but these errors were encountered:
@ajeddeloh
I'm not sure about how to approach adding support for this in Ignition itself. Probably via a compile time switch like "systemdversion=240" which lets us enable things only supported in 240+. We can't just enable it because then it will write out invalid files for anything that doesn't have systemd new enough.
Since at the point we are writing systemd unit files we have the real root mounted, can we check the version of systemd in the real root and act appropriately (i.e. at runtime).
Issue by @redbaron
Bug
Instantiated services can be enabled and return no error, but when machine boots, service is not enabled:
then boot, see
systemctl status [email protected]
and it shows that it didn't start.Container Linux Version
Expected Behavior
Enabled service starts
Actual Behavior
Ingition uses systemd presets, which apparently does not support enabling instantiated services.
There is this discussion https://lists.freedesktop.org/archives/systemd-devel/2015-August/033834.html where hack with explicit symlinks installed via
Alias=
are used. Would be nice if Ignition took care of itThe text was updated successfully, but these errors were encountered: