On Tue, 31.03.15 16:51, Alban Crequy (alban.cre...@gmail.com) wrote:
> -if (mknod(to, st.st_mode, st.st_rdev) < 0)
> -return log_error_errno(errno, "mknod(%s)
> failed: %m", to);
> +if (mknod(to, st.st_mode, st.st_rde
From: Alban Crequy
Some systems abusively restrict mknod, even when the device node already
exists in /dev. This is unfortunate because it prevents systemd-nspawn
from creating the basic devices in /dev in the container.
This patch implements a workaround: when mknod fails, fallback on bind
moun