-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgo.mod
More file actions
26 lines (21 loc) · 967 Bytes
/
Copy pathgo.mod
File metadata and controls
26 lines (21 loc) · 967 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
module github.com/emrul/container-init
go 1.23
toolchain go1.26.5
require (
github.com/coreos/go-systemd/v22 v22.7.0
github.com/godbus/dbus/v5 v5.2.2
)
require golang.org/x/sys v0.27.0 // indirect
// In-tree patched godbus. The patch in third_party/godbus/decoder.go
// fixes a reflect.Append type-mismatch panic that hits any time a
// variant value carries `ah` (array of unix-fd indices) AND the
// message brings real fds -- godbus's `case 'h'` returns UnixFD
// when fds are attached but typeFor("h") is UnixFDIndex, so the
// slice append panics. Recovered into "Invalid type / number of
// args", so callers see InvalidArgs before the handler runs.
//
// Repro: systemd-run --user --scope on systemd 255 sends PIDFDs(ah)
// with one fd, hitting the bug on every call. Drop this replace
// once upstream merges the equivalent fix. See
// third_party/godbus/PATCHES.md for the diff and rationale.
replace github.com/godbus/dbus/v5 => ./third_party/godbus