openstack-ansible-lxc_hosts/releasenotes/notes/add-random-devices-38671b23cb1319b8.yaml
Mohammed Naser 030c348117 Setup /dev/random and /dev/urandom device in cache prep
In the cache preparation stage, there are certain libraries that
depend on the existance of /dev/random and /dev/urandom in order
to be able to function correctly, such as NSS in the latest CentOS
release (7.5)

This patch adds those nodes so that the libraries are able to use
them with no problems, allowing yum and rpm specifically to work
properly again.

Change-Id: Iaf6b9cb1435591f28289493f480a7fe46789c551
2018-05-10 18:02:28 +00:00

15 lines
532 B
YAML

---
fixes:
- |
Newer releases of CentOS ship a version of libnss that depends on the existance
of /dev/random and /dev/urandom in the operating system in order to run. This
causes a problem during the cache preparation process which runs inside chroot
that does not contain this, resulting in errors with the following message.
.. code-block:: text
error: Failed to initialize NSS library
This has been resolved by introducing a /dev/random and /dev/urandom inside
the chroot-ed environment.