Skip to content

pv-wrap: Bind-mount /run/udev if using libudev from the host

Ludovico de Nittis requested to merge wip/denittis/udev_fix into master

Games can use different systems to detect joysticks. One of those is done by directly reading into /run/udev.

However we can't simply always bind-mount /run/udev because the libudev shipped in the containers is not guaranteed to be compatible with the host udevd.

For this reason we decided to bind-mount /run/udev, but only after we ensured that the container libudev has been overridden by the host's one. This is expected to be the case for all recent distributions like Arch Linux, Debian 11 and Ubuntu 22.04.

Merge request reports

Loading