From nobody Fri Jan 7 15:10:34 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9FBFA1936B5D for ; Fri, 7 Jan 2022 15:10:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JVmqt1Zwkz3KwL for ; Fri, 7 Jan 2022 15:10:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 13CA7579F for ; Fri, 7 Jan 2022 15:10:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 207FAYag016914 for ; Fri, 7 Jan 2022 15:10:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 207FAYq2016913 for bugs@FreeBSD.org; Fri, 7 Jan 2022 15:10:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261005] hostname -d is not resolved domain information correctly Date: Fri, 07 Jan 2022 15:10:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bugzilla@richber.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641568234; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qyNNTTgEDxbxugQRBu23J25eXXSmLw5/yrOf0AJrht8=; b=LvC5PAnVfnPwux6abiPWMSi8BlV14b1yg+DbS3hEitWZHfivRozd0gS39M1ptSgS4lzPpt 3T30kLUBZNXt2NuwJ57kOKgDgpui5Y2OmttN7y8K2BukHtyQLREzRtlE+0n+A0KI2RQ/F7 lkP394Woz7I7TsmJ2pjyidnmnnb6OHEU0Eb6Rsyac8aA9g7U4VofdYoZqzOeY+e7xpCs1v WCrvCkR/THqjOE/EVQ1pt7yXckxEPwu37WB46U7k4vTcWBlgNdCWKCazQ66QlOb2L5ZD4L RVQLKXpNmI6AGk8/iorsBDHvDbPxuTwGVWROiZn5fRy3ck4FX3AaHB1IqgcoAw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641568234; a=rsa-sha256; cv=none; b=UGKMF7f/oyumIeMdGS4GmuHfPPgq4P26WA2bfF+ilahxGBDEnAP5kpAfbA20g6k7wxqcl/ UjohlEJLBQh5XHTFOt+yEg1DaoxA5XTFGwae+LPhIOB9xzjndK1L1lMtFozVMh3tqQtnI9 TbAKfzs4QOK9gs7GnWZwfQa2EQO3NeWO/XgEkJNNNI4NWWWhY959V3Mi92VDzRiKeNhZgC 2sFqN9fA3xwM/CGQcnxe5UqSPT5eFGUxETv4lqszYzfqbIz8TkkCBh33nhcAipDMWdEhch abciHFsBv7CX7XPLGZ8G1wFi1wLHknSAu+rQrUafDU3svxvcVb3DxKCOggsyxg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261005 Bug ID: 261005 Summary: hostname -d is not resolved domain information correctly Product: Base System Version: 13.0-RELEASE Hardware: arm64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: bugzilla@richber.net Description hostname -d is not resolved domain information correctly when used a subdom= ain in the hostname Steps to reproduce the issue root@beastie:~ # grep hostname /etc/rc.conf hostname=3D"beastie.labs.example.com" root@beastie:~ # hostname beastie.labs.example.com root@beastie:~ # hostname -s beastie root@beastie:~ # hostname -d lple.commple.com root@beastie:~ # hostname beastie.example.com root@beastie:~ # hostname -d example.com root@beastie:~ # hostname beastie.labs.example.com root@beastie:~ # hostname -d lple.commple.com Results received root@beastie:~ # hostname -d lple.commple.com Results expected root@beastie:~ # hostname -d labs.example.com --=20 You are receiving this mail because: You are the assignee for the bug.=