X-Loop: help-debbugs@HIDDEN
Subject: bug#36688: uname no longer accessing hw-platform nor cpu (not updated to use primary info source)
Resent-From: L A Walsh <coreutils@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Tue, 16 Jul 2019 09:13:02 +0000
Resent-Message-ID: <handler.36688.B.156326832626062 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 36688
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords:
To: 36688 <at> debbugs.gnu.org
X-Debbugs-Original-To: Coreutils <bug-coreutils@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.156326832626062
(code B ref -1); Tue, 16 Jul 2019 09:13:02 +0000
Received: (at submit) by debbugs.gnu.org; 16 Jul 2019 09:12:06 +0000
Received: from localhost ([127.0.0.1]:49628 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1hnJVF-0006mH-T0
for submit <at> debbugs.gnu.org; Tue, 16 Jul 2019 05:12:06 -0400
Received: from lists.gnu.org ([209.51.188.17]:50285)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <coreutils@HIDDEN>) id 1hnJVD-0006m9-Q7
for submit <at> debbugs.gnu.org; Tue, 16 Jul 2019 05:12:04 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:51633)
by lists.gnu.org with esmtp (Exim 4.86_2)
(envelope-from <coreutils@HIDDEN>) id 1hnJVC-0002ju-TZ
for bug-coreutils@HIDDEN; Tue, 16 Jul 2019 05:12:03 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level:
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <coreutils@HIDDEN>) id 1hnJVB-0003pW-Ux
for bug-coreutils@HIDDEN; Tue, 16 Jul 2019 05:12:02 -0400
Received: from ishtar.tlinx.org ([173.164.175.65]:44556
helo=Ishtar.sc.tlinx.org)
by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
(Exim 4.71) (envelope-from <coreutils@HIDDEN>) id 1hnJVB-0003o9-LN
for bug-coreutils@HIDDEN; Tue, 16 Jul 2019 05:12:01 -0400
Received: from [192.168.3.12] (Athenae [192.168.3.12])
by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id
x6G9Bu5Z029616
for <bug-coreutils@HIDDEN>; Tue, 16 Jul 2019 02:11:58 -0700
Message-ID: <5D2D94DC.50907@HIDDEN>
Date: Tue, 16 Jul 2019 02:11:56 -0700
From: L A Walsh <coreutils@HIDDEN>
User-Agent: Thunderbird
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no
timestamps) [generic]
X-Received-From: 173.164.175.65
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
This is a bit weird, as the hw-platform, apparently is i386 or i686, not
sure,
but the cpu is definitely accessible in /proc/cpuinfo.
The following text is from the sysctl call in the
kernel help text for the option:
CONFIG_SYSCTL_SYSCALL:
sys_sysctl uses binary paths that have been found challenging
to properly maintain and use. The interface in /proc/sys
using paths with ascii names is now the primary path to this
information.
Apparently my copy of uname is still using the sysctl call(or trying to),
as it comes up with 'unknown' for
-p, --processor
print the processor type or "unknown"
-i, --hardware-platform
print the hardware platform or "unknown"
This appears to come from:
uname (GNU coreutils) 8.26.18-5e871
Is this fixed in a newer version?
Thanks.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: L A Walsh <coreutils@HIDDEN> Subject: bug#36688: Acknowledgement (uname no longer accessing hw-platform nor cpu (not updated to use primary info source)) Message-ID: <handler.36688.B.156326832626062.ack <at> debbugs.gnu.org> References: <5D2D94DC.50907@HIDDEN> X-Gnu-PR-Message: ack 36688 X-Gnu-PR-Package: coreutils Reply-To: 36688 <at> debbugs.gnu.org Date: Tue, 16 Jul 2019 09:13:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-coreutils@HIDDEN If you wish to submit further information on this problem, please send it to 36688 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 36688: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D36688 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.