Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.