Translated message

A translation of this page exists in English.

IPv6 が無効な場合、rpcbind の起動に失敗する

Solution In Progress - Updated -

Issue

  • RHEL7.3 以降で IPv6 が無効な場合は、rpcbind の起動に失敗します。

    # systemctl status rpcbind.socket
       Loaded: loaded (/usr/lib/systemd/system/rpcbind.socket; enabled; vendor preset: enabled)
       Active: failed (Result: resources)
       Listen: /var/run/rpcbind.sock (Stream)
               0.0.0.0:111 (Stream)
               0.0.0.0:111 (Datagram)
               [::]:111 (Stream)
               [::]:111 (Datagram)
    
    [...] systemd[1]: rpcbind.socket failed to listen on sockets: Address family not supported by protocol
    [...] systemd[1]: Failed to listen on RPCbind Server Activation Socket.
    
  • RHEL7.3 以降で IPv6 が無効な場合は、rpc.statd に関する AVC が表示されます。

    type=AVC msg=audit(XXX): avc:  denied  { write } for  pid=19644 comm="rpc.statd" path="/run/rpc.statd.lock" dev="tmpfs" ino=45143 scontext=system_u:system_r:rpcd_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file permissive=0
    

Environment

  • Red Hat Enterprise Linux 7.3 以降
  • /etc/sysctl.confnet.ipv6.conf.all.disable_ipv6=1

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