Skip to content
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

Conflicting name type transition rules when installing k3s on MicroOS #7333

Closed
grisu48 opened this issue Apr 21, 2023 · 1 comment
Closed

Comments

@grisu48
Copy link
Contributor

grisu48 commented Apr 21, 2023

Environmental Info:
K3s Version:

k3s version v1.26.3+k3s1 (01ea3ff2)
go version go1.19.7

Node(s) CPU architecture, OS, and Version:

Linux blackhawk 6.2.10-1-default #1 SMP PREEMPT_DYNAMIC Thu Apr  6 10:36:55 UTC 2023 (ba7816e) x86_64 x86_64 x86_64 GNU/Linux
  • openSUSE MicroOS (fresh install)

Cluster Configuration:

  • Single node

Describe the bug:
When installing k3s via curl -sfL https://get.k3s.io | sh - (as stated on https://k3s.io/), the k3s-selinux-1.2.stable.2-1.2.noarch package fails to install:

(1/1) Installing: k3s-selinux-1.2.stable.2-1.2.noarch [..
Conflicting name type transition rules
Binary policy creation failed at /var/lib/selinux/targeted/tmp/modules/200/k3s/cil:135
Failed to generate binary
/usr/sbin/semodule:  Failed!

It looks though as this has no immediate functional implications. The installation runs through, and a simple k3s kubectl get node still works.

Steps To Reproduce:

  • curl -sfL https://get.k3s.io | sh - on a fresh MicroOS VM

Expected behavior:

  • No error messages during installation

Actual behavior:

  • Error message during installation

Additional context / logs:

  • None
@brandond
Copy link
Contributor

brandond commented Apr 21, 2023

Please see the exiting issue at k3s-io/k3s-selinux#36 (comment) - you can try installing K3s using INSTALL_K3S_CHANNEL=testing to automatically install the k3s-selinux package from the testing channel, or install it manually from https://github.com/k3s-io/k3s-selinux/releases/tag/v1.3.testing.4

See also: #6870

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants