Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
mkimage-arch.sh: /dev/ setup redundant? haveged not needed anymore? #28431
1. /dev/ setup.
mkimage-arch.sh does the following:
Whereas a `docker run' (v. 1.12.3) creates the following on its own:
So it seems that mkimage-arch.sh creates most of the devices for no purpose, right? Only tty0 and initctl are missing in Docker's default /dev. FWIW, on my Arch Linux machine initctl is a link to /run/systemd/initctl/fifo:
systemd will not normally run on a Docker container. So maybe /dev/initctl still needs to be created manually? What about /dev/tty0? Any thoughts welcome.
2. Is haveged still necessary?
I have built a rather big number of Arch Linux Docker images using my https://github.com/czka/archlinux-docker, using latest Arch Linux bootstrap tarballs, and "pacman-key --init" ran fine at each build without having to start haveged in advance, to provide more entropy. Am I just lucky, or could the script drop haveged as well? Or maybe there is a good reason to use haveged anyway?
@czka I am afraid you're just lucky. I have tried your archlinux-docker image and sometimes it works perfect without haveged, but most of the time it hangs on
I was really hoping we could do without haveged. Is there an alternative you know of?