diff --git a/internal/app/machined/pkg/runtime/v1alpha1/v1alpha1_sequencer_tasks.go b/internal/app/machined/pkg/runtime/v1alpha1/v1alpha1_sequencer_tasks.go index dd162bc326..6aacbed354 100644 --- a/internal/app/machined/pkg/runtime/v1alpha1/v1alpha1_sequencer_tasks.go +++ b/internal/app/machined/pkg/runtime/v1alpha1/v1alpha1_sequencer_tasks.go @@ -514,7 +514,6 @@ func SetupSharedFilesystems(runtime.Sequence, any) (runtime.TaskExecutionFunc, s return func(ctx context.Context, logger *log.Logger, r runtime.Runtime) (err error) { targets := []string{"/", "/var", "/etc/cni", "/run"} for _, t := range targets { - // TODO: SELinux label? if err = unix.Mount("", t, "", unix.MS_SHARED|unix.MS_REC, ""); err != nil { return err } diff --git a/internal/pkg/mount/v2/mount.go b/internal/pkg/mount/v2/mount.go index 51e53036f6..a0de010ada 100644 --- a/internal/pkg/mount/v2/mount.go +++ b/internal/pkg/mount/v2/mount.go @@ -304,8 +304,6 @@ func (p *Point) mount() error { } if p.selinuxLabel != "" { - fmt.Printf("relabeling mount %s to %s\n", p.target, p.selinuxLabel) - return selinux.SetLabel(p.target, p.selinuxLabel) }