Translated message

A translation of this page exists in English.

machine-id を再設定する方法

Solution Verified - Updated -

Issue

  • たとえば、SECDATA-335 で追跡されている問題が発生したため、システムを異なる machine-id で再設定する必要があります。

  • システムをクローンし、元のシステムとは異なる machine-id を使用するようにする予定です。

  • システムを起動できません。/etc/machine-id が欠落しており、/etc が読み取り専用でマウントされています。

    # journalctl -p err
    systemd[1]: System cannot boot: Missing /etc/machine-id and /etc is mounted read-only.
    systemd[1]: Booting up is supported only when:
    systemd[1]: 1) /etc/machine-id exists and is populated.
    systemd[1]: 2) /etc/machine-id exists and is empty.
    systemd[1]: 3) /etc/machine-id is missing and /etc is writable.
    

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 10

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