GNU bug report logs - #7255
[PATCH] Fix reporting `unknown' by uname -p and uname -i

Previous Next

Package: coreutils;

Reported by: Artur Rona <ari-tczew <at> tlen.pl>

Date: Wed, 20 Oct 2010 21:26:02 UTC

Severity: normal

Tags: notabug, patch

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7255 in the body.
You can then email your comments to 7255 AT debbugs.gnu.org in the normal way.

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

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


Report forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#7255; Package coreutils. (Wed, 20 Oct 2010 21:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Artur Rona <ari-tczew <at> tlen.pl>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Wed, 20 Oct 2010 21:26:02 GMT) Full text and rfc822 format available.

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

From: Artur Rona <ari-tczew <at> tlen.pl>
To: bug-coreutils <at> gnu.org
Subject: [PATCH] Fix reporting `unknown' by uname -p and uname -i
Date: Wed, 20 Oct 2010 23:26:24 +0200
[Message part 1 (text/plain, inline)]
I'm sending a patch from Launchpad, which fixes bug in coreutils.

TEST CASE:
Use command 'uname -i' or uname -p'

Launchpad bug: https://launchpad.net/bugs/470550
Patch is able to use on coreutils 8.5.

We look forward to your response.
[80_fedora_sysinfo.dpatch (application/x-shellscript, attachment)]

Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#7255; Package coreutils. (Wed, 20 Oct 2010 21:52:02 GMT) Full text and rfc822 format available.

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

From: Eric Blake <eblake <at> redhat.com>
To: Artur Rona <ari-tczew <at> tlen.pl>
Cc: 7255 <at> debbugs.gnu.org
Subject: Re: bug#7255: [PATCH] Fix reporting `unknown' by uname -p and uname -i
Date: Wed, 20 Oct 2010 15:54:59 -0600
On 10/20/2010 03:26 PM, Artur Rona wrote:
> I'm sending a patch from Launchpad, which fixes bug in coreutils.
>
> TEST CASE:
> Use command 'uname -i' or uname -p'
>
> Launchpad bug: https://launchpad.net/bugs/470550
> Patch is able to use on coreutils 8.5.
>
> We look forward to your response.

Thanks for your work.  But as pointed out in that launchpad discussion:

> This has been discussed upstream; see:
>
> * http://lists.gnu.org/archive/html/bug-coreutils/2005-09/msg00053.html for a more discussed thread, or
> * http://lists.gnu.org/archive/html/bug-coreutils/2007-04/msg00089.html for a to-the-point one.
>
> There are other hits, BTW.
>
> Summary, as far as I can understand: coreutils will not provide 'uname -p -i' on Linux platforms since the 'sysinfo()' call does not support it, and /proc is er, considered too Linux-specific.
>
> I would tend to mark this one INVALID

I still think you are better off investing effort in improving the Linux 
kernel uname() or sysinfo() syscalls to provide the information natively 
than you are to try and parse /proc/cpuinfo on the fly.

-- 
Eric Blake   eblake <at> redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#7255; Package coreutils. (Wed, 20 Oct 2010 22:25:02 GMT) Full text and rfc822 format available.

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

From: Artur Rona <ari-tczew <at> tlen.pl>
To: 7255 <at> debbugs.gnu.org
Date: Thu, 21 Oct 2010 00:28:40 +0200
I am not an author of this patch, just only forwarder. We would like to
upload a fix to this bug. I hoped that this patch will be helpful for
coreutils developers.





Information forwarded to owner <at> debbugs.gnu.org, bug-coreutils <at> gnu.org:
bug#7255; Package coreutils. (Wed, 20 Oct 2010 23:15:03 GMT) Full text and rfc822 format available.

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

From: C de-Avillez <hggdh2 <at> ubuntu.com>
To: Artur Rona <ari-tczew <at> tlen.pl>
Cc: 7255 <at> debbugs.gnu.org
Subject: Re: bug#7255:
Date: Wed, 20 Oct 2010 18:18:27 -0500
[Message part 1 (text/plain, inline)]
On Thu, 21 Oct 2010 00:28:40 +0200
Artur Rona <ari-tczew <at> tlen.pl> wrote:

> I am not an author of this patch, just only forwarder. We would like
> to upload a fix to this bug. I hoped that this patch will be helpful
> for coreutils developers.

The idea of this patch (which I copied, as in the LP bug, from Fedora)
was to provide a stopgap option until the Linux kernel implements the
equivalent.

The reason was (or, I guess, still is) that some upstream source rely
on this being available, and having the '-i' or '-p' would minimise
our deltas.

But I knew, from the beginning, that it would not be acceptable
upstream. Perhaps with a confluence of all Linux distros that might
happen, though.

Cheers,

-- 
C de-Avillez
IRC: hggdh

This email (and any attachments) is digitally signed using GNUpg
(http://gnupg.org). The public key is available at http://pgp.mit.edu.
The key Id is 0xD3133E56.
[signature.asc (application/pgp-signature, attachment)]

Added tag(s) notabug. Request was from Jim Meyering <jim <at> meyering.net> to control <at> debbugs.gnu.org. (Tue, 19 Apr 2011 07:02:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 7255 <at> debbugs.gnu.org and Artur Rona <ari-tczew <at> tlen.pl> Request was from Jim Meyering <jim <at> meyering.net> to control <at> debbugs.gnu.org. (Tue, 19 Apr 2011 07:02:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 17 May 2011 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 34 days ago.

Previous Next


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