Bug 8083 - [Anolis23.1][RC2][loongarch64]系统服务检查中,rngd.service启动失败
Summary: [Anolis23.1][RC2][loongarch64]系统服务检查中,rngd.service启动失败
Status: NEW
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.1
Hardware: loongarch Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: happy_orange
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-30 11:21 UTC by liqianwen
Modified: 2024-03-29 09:45 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description liqianwen loongson_group 2024-01-30 11:21:01 UTC
Description of problem:
系统服务检查中,rngd.service启动失败

软件版本:
#内核版本
# uname  -r
5.10.134-16.2_rc2.an23.loongarch64
#系统版本
# cat /etc/os-release 
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"

iso下载:
https://build.openanolis.cn/kojifiles/output/anolis-23-20240128.3/compose/os/loongarch64/iso/anolis-23-loongarch64-dvd1-20240128.3.iso

Steps to Reproduce:
1.系统安装启动后,在终端执行systemctl --failed


Actual results:
[root@bogon ~]# systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● rngd.service loaded failed failed Hardware RNG Entropy Gatherer Daemon

LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
1 loaded units listed.

Expected results:
systemctl --failed检查无启动失败的服务

Additional info:
Comment 1 gaochang alibaba_cloud_group 2024-01-30 16:54:04 UTC
麻烦补充 systemctl status rngd.service 的结果
Comment 2 liqianwen loongson_group 2024-01-31 09:51:26 UTC
[root@bogon ~]# systemctl status rngd.service
× rngd.service - Hardware RNG Entropy Gatherer Daemon
     Loaded: loaded (/usr/lib/systemd/system/rngd.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Wed 2024-01-31 09:49:10 CST; 2min 5s ago
   Duration: 4.798s
    Process: 1013 ExecStart=/usr/sbin/rngd -f $RNGD_ARGS (code=exited, status=1/FAILURE)
   Main PID: 1013 (code=exited, status=1/FAILURE)
        CPU: 19.298s

1月 31 09:49:05 anolis rngd[1013]: [hwrng ]: Initialization Failed
1月 31 09:49:05 anolis rngd[1013]: [jitter]: JITTER timeout set to 5 sec
1月 31 09:49:05 anolis rngd[1013]: [jitter]: Initializing AES buffer
1月 31 09:49:10 anolis rngd[1013]: [jitter]: Unable to obtain AES key, disabling JITTER source
1月 31 09:49:10 anolis rngd[1013]: [jitter]: Initialization Failed
1月 31 09:49:10 anolis rngd[1013]: Can't open any entropy source
1月 31 09:49:10 anolis rngd[1013]: Maybe RNG device modules are not loaded
1月 31 09:49:10 anolis systemd[1]: rngd.service: Main process exited, code=exited, status=1/FAILURE
1月 31 09:49:10 anolis systemd[1]: rngd.service: Failed with result 'exit-code'.
1月 31 09:49:10 anolis systemd[1]: rngd.service: Consumed 19.298s CPU time.
Comment 3 mgb01105731 2024-02-02 13:44:52 UTC
没有可用的熵源,导致服务启动失败,需要查询一下机器可用的熵源