Warning message

A translation for your language preference does not exist.

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

Solution In Progress - 업데이트됨 - 한국어 번역 요청

문제

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

환경

  • 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