On Tue, 31.03.15 17:14, Alban Crequy (alban.cre...@gmail.com) wrote: > From: Alban Crequy <al...@endocode.com> > > 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 > mounts. > > Additionally, /dev/console was created with a mknod with the same > major/minor as /dev/null before bind mounting a pts on it. This patch > removes the mknod and creates an empty regular file instead. > > In order to test this patch, I used the following configuration, which I > think should replicate the system with the abusive restriction on > mknod:
Thanks! Applied! Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel