Translated message

A translation of this page exists in English.

systemd のアップデート時に myhostname が /etc/nsswitch.conf に追加されるのはなぜですか?

Solution In Progress - Updated -

Issue

  • https://access.redhat.com/solutions/1287253 によると、nsswitch.conf から myhostname を削除して、::1 の代わりに IPv4 アドレスが返ったことを確認する必要があります。にも関わらず、systemd RPM をアップデートすると変更が元に戻ります。systemd には %post ハードコアがあり、nsswitch.conf のホストの行に myhostname を追加する必要があります。

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