Skip to content

Commit

Permalink
Merge pull request #1288 from stgraber/oci
Browse files Browse the repository at this point in the history
incusd/instance/lxc: Remove restrictions on /run
  • Loading branch information
hallyn authored Oct 4, 2024
2 parents f7c0f55 + 8483614 commit 80613a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/instance/drivers/driver_lxc.go
Original file line number Diff line number Diff line change
Expand Up @@ -2377,7 +2377,7 @@ func (d *lxc) startCommon() (string, []func() error, error) {

// Mount /run as a tmpfs if it exists and isn't already mounted.
if !slices.Contains(lxcMounts, "/run") {
err := lxcSetConfigItem(cc, "lxc.mount.entry", "none run tmpfs none,nosuid,nodev,noexec,mode=755,optional")
err := lxcSetConfigItem(cc, "lxc.mount.entry", "none run tmpfs none,mode=755,optional")
if err != nil {
return "", nil, err
}
Expand Down

0 comments on commit 80613a8

Please sign in to comment.