1
0
mirror of https://github.com/coreos/ignition.git synced 2026-02-06 18:47:54 +01:00
Commit Graph

6 Commits

Author SHA1 Message Date
Benjamin Gilbert
306f850362 internal/systemd: avoid deprecated go-systemd functions
Accept a context.Context from the caller, even though current callers
don't need it.
2022-05-13 15:33:41 -04:00
Luca BRUNO
821b26991b gomod: update to go-systemd v22
This updates to latest go-systemd (v22), which also switched to
use go modules.
2020-04-06 13:10:09 +00:00
Sohan Kunkerkar
842010c8a8 Fix enabling systemd instantiated services 2020-03-20 16:25:49 -04:00
Vito Caputo
da812797ce systemd: fix potential deadlock in WaitOnDevices
When waiting on multiple devices multiple result channels are supplied
to go-systemd.  These channels are then consumed from serially in the
order they were submitted.  If we get unlucky and
systemd/dbus/go-systemd come back with results in a different order,
then go-systemd will get deadlocked in jobComplete() because the channel
is unbuffered and we're not receiving on the other end.

This change simply makes the result channels buffered so jobComplete()
doesn't block on us while we wait on a different channel.
2016-09-14 19:13:31 -07:00
Alex Crawford
f8c1f688ea vendor: move from third_party 2016-04-01 14:38:49 -07:00
Alex Crawford
4a1e8353d5 *: rename src package to internal
This will prevent Ignition's implementation from being imported.
2016-03-31 17:42:22 -07:00