030c348117
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
15 lines
532 B
YAML
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.
|