# Сбой службы rngd.service

1. Проверить установлен ли пакет rng-tools: `rpm -qa rng-tools` , если пакет отсутствует установить командой `yum install rng-tools`&#x20;
2. Перезаписать файл по умолчанию для systemd: `cp /usr/lib/systemd/system/rngd.service /etc/systemd/system`&#x20;
3. Открыть файл `vi /etc/systemd/system`&#x20;
4. Привести строку ExecStart к следующему виду: `ExecStart=/sbin/rngd -f -r /dev/urandom -o /dev/random`&#x20;
5. Перезаписать демон: `systemctl daemon-reload`&#x20;
6. Запустить демон: `systemctl start rngd.service`&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.pvhostvm.ru/hostvm-server/rukovodstvo-po-administrirovaniyu/reshenie-tipovykh-problem/sboi-sluzhby-rngd.service.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
