UiPath Documentation
automation-suite
2.2510
true
Linux 版 Automation Suite 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

在 RHEL 8.9 上的临时注册表安装失败

在 RHEL 8.9 上应用 SELinux 上下文修复以启动临时注册表。

描述

在 RHEL 8.9 上安装临时注册表时,您可能会遇到导致该过程失败的问题。 发生此问题的原因是 Podman 中已弃用的 systemd generate 命令,以及 Podman 生成的 systemd 文件中缺少 secontext。 这些条件将阻止 systemd 访问必要的文件,从而导致安装失败。

解决方案

要解决此问题,您必须通过执行以下步骤来启动容器注册表:

  1. 调整安全上下文:

    chcon -u unconfined_u -r object_r -t systemd_unit_file_t /etc/systemd/system/container-registry-tmp.service
    chcon -u unconfined_u -r object_r -t systemd_unit_file_t /etc/systemd/system/container-registry-tmp.service
    
  2. 重新加载 systemd 管理器配置:

    systemctl daemon-reload
    systemctl daemon-reload
    
  3. 启用注册表服务:

    systemctl enable container-registry-tmp.service
    systemctl enable container-registry-tmp.service
    
  4. 启动注册表服务:

    systemctl start container-registry-tmp.service
    systemctl start container-registry-tmp.service
    

使用这些步骤启动容器注册表后,您不必重试注册表安装命令。

  • 描述
  • 解决方案

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新