-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
k3s service is broken on systemd #1797
Comments
How is this not hitting our test suite? We have a check for k3s status no? |
As it seems, no. We check various things but not that the service is running. We need to do add that check. |
because having all service files in places, confuses systemd because of the sysv compatibility feature. Part of: kairos-io/kairos#1797 Signed-off-by: Dimitris Karakasilis <[email protected]>
ah maybe its because on testing we use latest and that installs the k3s service directly! So it only installs the proper service file, while installing from package would install our package with both files. |
* Split k3s package in 2 (one for openrc, one for systemd) because having all service files in places, confuses systemd because of the sysv compatibility feature. Part of: kairos-io/kairos#1797 Signed-off-by: Dimitris Karakasilis <[email protected]> * Use new names for the new packages Signed-off-by: Dimitris Karakasilis <[email protected]> * Use one definition for both packages with templating Signed-off-by: Dimitris Karakasilis <[email protected]> --------- Signed-off-by: Dimitris Karakasilis <[email protected]> Signed-off-by: Dimitris Karakasilis <[email protected]> Co-authored-by: Ettore Di Giacinto <[email protected]>
Fixes: #1797 Signed-off-by: Dimitris Karakasilis <[email protected]>
* Install the right k3s package based on the init system Fixes: #1797 Signed-off-by: Dimitris Karakasilis <[email protected]> * Bump luet repository to use the new packages Signed-off-by: Dimitris Karakasilis <[email protected]> * Add FLAVOR ARG for consistency although it's a global and it should work anyway. But we pass it in other places so let's at least be consistent. Signed-off-by: Dimitris Karakasilis <[email protected]> --------- Signed-off-by: Dimitris Karakasilis <[email protected]>
Fixing this: #1797 (comment) Signed-off-by: Dimitris Karakasilis <[email protected]>
* Use one of our luet packages to install k3s Fixing this: #1797 (comment) Signed-off-by: Dimitris Karakasilis <[email protected]> * [Temp] Run provider tests in PRs temporarily to test this PR Signed-off-by: Dimitris Karakasilis <[email protected]> * Revert "[Temp] Run provider tests in PRs temporarily to test this PR" This reverts commit 41babdf. --------- Signed-off-by: Dimitris Karakasilis <[email protected]>
related to: kairos-io/kairos#1797 Signed-off-by: mudler <[email protected]>
systemd has a compatibility feature with sysv (https://www.turnkeylinux.org/blog/debugging-systemd-sysv-init-compat). Since we copy all services, both systemd and openrc, when the service is started, it fails with an error.
We need to remove the openrc bits from systemd systemds
The text was updated successfully, but these errors were encountered: