You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uevent.NewDecoder uses bufio.ReadString() that is blocking until data is available.
When booster switches to the userspace it needs to close all file descriptors
including the udev one.
Unfortunately there is no clear way to break the bufio.ReadString() blocking.
Attempt to close the fd causes panic inside the bufio.(*Reader).fill() function.
To prevent the app crash we just recover from panic in the udev goroutine.
Issue #22
Issue #31
Issue #153
0 commit comments