Date: Mon, 25 Feb 2019 03:56:08 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 236014] w -nn doesn't resolve hostname to ipv6 numeric if host has v4 and v6 entry. Message-ID: <bug-236014-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236014 Bug ID: 236014 Summary: w -nn doesn't resolve hostname to ipv6 numeric if host has v4 and v6 entry. Product: Base System Version: 12.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: nistor@snickers.org When trying to display numeric entries for hosts using 'w' it will not resolve ipv6 related hostnames to ipv6 nuemric entries if the host has the same hostname entry with resolution on v4 and v6. For example: nistor@spike:~> w -n nistor 10:50PM up 43 days, 21:36, 24 users, load averages: 0.31, 0.27, 0.21 USER TTY FROM LOGIN@ IDLE WHAT nistor pts/19 cpexxxxxxxxxxxx-cmxxxxxxxxxxxx.cpe.net.c Sat02PM 2 -tcsh (tcsh) nistor pts/32 v6host.domain.com 10:47PM 2 -tcsh (tcsh) whereas: nistor@spike:~> w -nn nistor 10:50PM up 43 days, 21:36, 24 users, load averages: 0.31, 0.27, 0.21 USER TTY FROM LOGIN@ IDLE WHAT nistor pts/19 99.230.xxx.xxx Sat02PM 3 -tcsh (tcsh) nistor pts/32 v6host.domain.com 10:47PM 3 -tcsh (tcsh) If the host is an ipv6 host with no ipv4 resolution to it then the display works fine: nistor@spike:~> w david 10:55PM up 43 days, 21:41, 24 users, load averages: 0.31, 0.23, 0.19 USER TTY FROM LOGIN@ IDLE WHAT david pts/12 r2.ip6.domain.com 22Jan19 9:12 -/bin/tcsh nistor@spike:~> w -n david 10:55PM up 43 days, 21:41, 24 users, load averages: 0.31, 0.23, 0.19 USER TTY FROM LOGIN@ IDLE WHAT david pts/5 2001:XXX:yyyy:f000::2 22Jan19 28days alpine -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236014-227>
