File: 0007-Unbreak-when-running-in-incus.patch

package info (click to toggle)
runc 1.3.0%2Bds1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,672 kB
  • sloc: sh: 2,236; ansic: 1,125; makefile: 200
file content (22 lines) | stat: -rw-r--r-- 1,019 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Reinhard Tartler <siretart@tauware.de>
Date: Sat, 20 Sep 2025 05:58:52 -0400
Subject: Unbreak when running in incus

Expands https://github.com/opencontainers/runc/commit/9a7e5a94346df545be991330196ed4d65adcbb26
---
 libcontainer/devices/device_unix.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcontainer/devices/device_unix.go b/libcontainer/devices/device_unix.go
index c533eb1..e2a96af 100644
--- a/libcontainer/devices/device_unix.go
+++ b/libcontainer/devices/device_unix.go
@@ -79,7 +79,7 @@ func GetDevices(path string) ([]*Device, error) {
 			switch f.Name() {
 			// ".lxc" & ".lxd-mounts" added to address https://github.com/lxc/lxd/issues/2825
 			// ".udev" added to address https://github.com/opencontainers/runc/issues/2093
-			case "pts", "shm", "fd", "mqueue", ".lxc", ".lxd-mounts", ".udev":
+			case "pts", "shm", "fd", "mqueue", ".lxc", ".lxd-mounts", ".incus-mounts", ".udev":
 				continue
 			default:
 				sub, err := GetDevices(filepath.Join(path, f.Name()))