Translated message

A translation of this page exists in English.

在系统关闭过程中,因为其使用的文件系统被 systemd 意外卸载,一个服务无法完全关闭

Solution In Progress - Updated -

Issue

  • 在系统关闭过程中,一个自定义服务或第三方服务(通常是需要一定时间进行关闭的数据库)会因为它所使用的文件系统被卸载而被突然关闭,
  • 服务属性,如 RequiresMountsFor=</mountpoint>After=<mount-point>.mountRequires=<mount-point>.mount 属性,在服务单元中正确定义

Environment

  • Red Hat Enterprise Linux 7 及更新的版本
    • systemd
    • 安装了多路径(即使未使用)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content