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

Previous Next

Package: coreutils;

Reported by: L A Walsh <coreutils <at> tlinx.org>

Date: Tue, 16 Jul 2019 09:13:02 UTC

Severity: normal

To reply to this bug, email your comments to 36688 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#36688; Package coreutils. (Tue, 16 Jul 2019 09:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to L A Walsh <coreutils <at> tlinx.org>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 16 Jul 2019 09:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: L A Walsh <coreutils <at> tlinx.org>
To: Coreutils <bug-coreutils <at> gnu.org>
Subject: uname no longer accessing hw-platform nor cpu (not updated to use
 primary info source)
Date: Tue, 16 Jul 2019 02:11:56 -0700
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.






This bug report was last modified 5 years and 335 days ago.

Previous Next


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