Skip to content

Commit

Permalink
remove old todos and logs
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Sharshakov <[email protected]>
  • Loading branch information
dsseng committed Nov 16, 2024
1 parent 172e2e9 commit 026a2c7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 0 additions & 2 deletions internal/pkg/mount/v2/mount.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 026a2c7

Please sign in to comment.