How can I prevent chronyc to call connect() with PF_INET6?
Issue
I want to disable IPv6 on the system, and followed the following solutions.
- https://access.redhat.com/solutions/8709
- https://access.redhat.com/solutions/2026723
But, I still see the following system call was called in chronyc sources command.
# grep INET6 /tmp/strace.log
1000 xx:xx:xx.xxxxxx socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 3 <0.000032>
1000 xx:xx:xx.xxxxxx connect(3, {sa_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable) <0.000013>
How can we prevent this call?
Environment
Red Hat Enterprise Linux 7.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
