已开启
iscsi.service启动需要按照顺序启动,否则会失败 #52
wxm创建于 2023年6月21日
2023年6月21日 创建了需求
openeuler-ci-bot
2023年6月21日 评论:
2023年6月21日 评论:
Hi tjwangxm, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Storage, and any of the maintainers: @wubo009 , @liuzhiqiang26 , @volcanodragon , @louhongxiang , @swf504


2023年6月21日 添加了
sig/Storage
标签
kouwq
2025年12月8日 评论:
2025年12月8日 评论:
对于open-iscsi-2.1.5-12,刚安装open-iscsi包时,先启动iscsid.service,再启动iscsi.service时,由于iscsi.service依赖iscsid.socket因此要先拉起iscsid.socket,然而iscsid.service服务已经启动,iscsid.socket无法被拉起,导致iscsi.service也启动失败;
由于iscsid.socket iscsi.service默认开启自启动,因此系统重启后,不会再出现该问题;
之前版本的包iscsi.service依赖iscsid.service,因此不存在该问题;
上游在这个commit中将iscsi.service中的iscsid.service依赖改为了iscsid.socket
https://github.com/open-iscsi/open-iscsi/pull/194/commits/6a9b0728c55b8ad5c6d5dba3f38697eded09538a


【特性描述】
在使用open-iscsi-2.1.5-12时,先启动iscsid.service,启动成功,再启动iscsi.service,启动失败。iscsi.service依赖iscsid.socket,iscsid.socket需要先于iscsid.service启动。用户使用可能不知道这些个启动顺序,之前版本的包使用时也没有涉及启动顺序都能启动成功。
【特性竞争力】
对使用者友好,不必按顺序来都能启动成功。