Control: tag -1 confirmed Hi Peter,
Thanks a lot for your messages about bugs in jailkit. I confirmed this bug also using /dev/null. Consequently, I think any creation around /dev will fail. Thanks! Regards, Eriberto Em qua., 18 de ago. de 2021 às 09:18, Peter Viskup <skupko...@gmail.com> escreveu: > > Package: jailkit > Version: 2.21-4 > > Running command to create jail with random and urandom devices produce > following errors: > > Creating device /chroot/dev/random > mknod: invalid major device number ‘1.03125’ > Failed to create device /chroot/dev/random, this is a know problem with > python 2.1 > use "ls -l /dev/random" to find out the mode, major and minor for the device > use "mknod /chroot/dev/random mode major minor" to create the device > use chmod and chown to set the permissions as found by ls -l > Creating device /chroot/dev/urandom > mknod: invalid major device number ‘1.03515625’ > Failed to create device /chroot/dev/urandom, this is a know problem with > python 2.1 > use "ls -l /dev/urandom" to find out the mode, major and minor for the device > use "mknod /chroot/dev/urandom mode major minor" to create the device > use chmod and chown to set the permissions as found by ls -l > > Peter