GNU bug report logs - #36688
uname no longer accessing hw-platform nor cpu (not updated to use primary info source)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: coreutils; Reported by: L A Walsh <coreutils@HIDDEN>; dated Tue, 16 Jul 2019 09:13:02 UTC; Maintainer for coreutils is bug-coreutils@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Jul 2019 09:12:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 16 05:12:06 2019
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
To: Coreutils <bug-coreutils@HIDDEN>
Subject: uname no longer accessing hw-platform nor cpu (not updated to use
 primary info source)
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-Debbugs-Envelope-To: submit
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.






Acknowledgement sent to L A Walsh <coreutils@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-coreutils@HIDDEN. Full text available.
Report forwarded to bug-coreutils@HIDDEN:
bug#36688; Package coreutils. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.