We use udev within these containers and we prevent the /dev files
to be created with the cgroup whitelist. So when the udevd receives
the event from the kernel, it will fail to create some nodes in /dev
and will spit error on the console.
We set the log level to zero, so udev will silently fail.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
127.0.0.1 localhost $hostname
EOF
+ # suppress log level output for udev
+ sed -i "s/=\"err\"/=0/" $rootfs/etc/udev/udev.conf
+
# tweak consoles
rm -f $rootfs/etc/init/tty{5,6}.conf
cp $rootfs/etc/init/tty1.conf $rootfs/etc/init/console.conf
127.0.0.1 localhost $hostname
EOF
+ # suppress log level output for udev
+ sed -i "s/=\"err\"/=0/" $rootfs/etc/udev/udev.conf
+
# tweak consoles
rm -f $rootfs/etc/init/tty{5,6}.conf
cp $rootfs/etc/init/tty1.conf $rootfs/etc/init/console.conf