From unknown Tue Jun 24 17:24:58 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#14388 <14388@debbugs.gnu.org> To: bug#14388 <14388@debbugs.gnu.org> Subject: Status: Bug in uname command - reg... Reply-To: bug#14388 <14388@debbugs.gnu.org> Date: Wed, 25 Jun 2025 00:24:58 +0000 retitle 14388 Bug in uname command - reg... reassign 14388 coreutils submitter 14388 vevek venkatesan severity 14388 normal tag 14388 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Sat May 11 13:52:22 2013 Received: (at submit) by debbugs.gnu.org; 11 May 2013 17:52:23 +0000 Received: from localhost ([127.0.0.1]:36780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UbDy2-0003fs-G7 for submit@debbugs.gnu.org; Sat, 11 May 2013 13:52:22 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37748) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ub49a-00021o-60 for submit@debbugs.gnu.org; Sat, 11 May 2013 03:23:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ub49J-0007EM-8s for submit@debbugs.gnu.org; Sat, 11 May 2013 03:23:23 -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.7 required=5.0 tests=BAYES_20,FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:48127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ub49J-0007EI-2o for submit@debbugs.gnu.org; Sat, 11 May 2013 03:23:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ub49E-0000nm-9g for bug-coreutils@gnu.org; Sat, 11 May 2013 03:23:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ub499-0007De-Lg for bug-coreutils@gnu.org; Sat, 11 May 2013 03:23:16 -0400 Received: from mail-qe0-f48.google.com ([209.85.128.48]:62126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ub499-0007Da-Hn for bug-coreutils@gnu.org; Sat, 11 May 2013 03:23:11 -0400 Received: by mail-qe0-f48.google.com with SMTP id 9so2869359qea.35 for ; Sat, 11 May 2013 00:23:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=HHh++ADrpwYK14d2jYu0JDlGHQTfHJc8uIQNtw16Rls=; b=UXdrUCUXVU5xGo58V9hVFuZWt99dx9Hti2XM6OngMyNzNsLVqV5X6KF3NymHMV9+u3 L+GwXWzpZBw7HkTMiCTDpSckW7PMxpx1mjsoiKxuiP6EnxbVg1V7ece8zt75DfDQ94xz MtmTnqnr1qOf6SL2y2J3sD8oBKe3Xqz5wDeF6nbzuNqrtr1E9EBYKziXhJOV/RKGsiAR MN5jayzFqvDtHn/ErmBuFi6HeR3FQcioDwDQqech/tSnRRjp+PNxsmUI6DrpmG0AZbbJ iL5KELA2nVGoLA4hLm3HtHiKCjkGe6aOB+PXKD/yD3zUlA/2zU76UCnc2Yo/4+kyushu u2wQ== MIME-Version: 1.0 X-Received: by 10.49.39.68 with SMTP id n4mr16112002qek.44.1368256990812; Sat, 11 May 2013 00:23:10 -0700 (PDT) Received: by 10.49.117.229 with HTTP; Sat, 11 May 2013 00:23:10 -0700 (PDT) Date: Sat, 11 May 2013 12:53:10 +0530 Message-ID: Subject: Bug in uname command - reg... From: vevek venkatesan To: bug-coreutils@gnu.org Content-Type: multipart/alternative; boundary=047d7bd76934e63c1f04dc6c276f X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 11 May 2013 13:52:21 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) --047d7bd76934e63c1f04dc6c276f Content-Type: text/plain; charset=ISO-8859-1 Hi Team, In uname command In feel that there is a bug with -r and -v options which I describe as follows, uname -r -> it should show the release of kernel uname -v -> it should show the version of kernel as per your manual page, but it is showing vice-versa of each. Thanks & Regards, - Vevek V --047d7bd76934e63c1f04dc6c276f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Team,
=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 In uname command In feel that there is a bug with -r = and -v options which I describe as follows,

uname -r -> it = should show the release of kernel
uname -v -> it should show the version of kernel as per your manua= l page,
but it is showing vice-versa of each.

Thanks & Regards,
<= div>- Vevek V

--047d7bd76934e63c1f04dc6c276f-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 11 19:46:48 2013 Received: (at 14388) by debbugs.gnu.org; 11 May 2013 23:46:48 +0000 Received: from localhost ([127.0.0.1]:36959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UbJV1-0001zY-Bc for submit@debbugs.gnu.org; Sat, 11 May 2013 19:46:47 -0400 Received: from joseki.proulx.com ([216.17.153.58]:45713) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UbJUy-0001zK-2s for 14388@debbugs.gnu.org; Sat, 11 May 2013 19:46:45 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 22F4E211DD; Sat, 11 May 2013 17:46:25 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id CD6D73DA32; Sat, 11 May 2013 17:46:24 -0600 (MDT) Date: Sat, 11 May 2013 17:46:24 -0600 From: Bob Proulx To: vevek venkatesan Subject: Re: bug#14388: Bug in uname command - reg... Message-ID: <20130511234624.GA30416@hysteria.proulx.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14388 Cc: 14388@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) tag 14388 + moreinfo notabug thanks vevek venkatesan wrote: > In uname command In feel that there is a bug with -r and -v > options which I describe as follows, > > uname -r -> it should show the release of kernel > uname -v -> it should show the version of kernel as per your manual page, > but it is showing vice-versa of each. Thank you for the report. However the uname(1) command simply calls the uname(2) system call. It then reports what the kernel has stored there. It is a very old command having been around a very long time. I don't think there is a bug there. But you did not report the information that you are seeing. If you would be so kind as to report what you are seeing then perhaps we would be able to know what is happening for you. Since you didn't tell us what you are seeing there isn't any way for us to know one way or the other. When reporting bugs it is necessary to show us what it is doing for you. In any case, here is a sample from my system. This is the correct output for my system. Note that on other systems the values stored by the kernel can be quite a bit different. Especially on HP-UX and on IBM AIX the output may be quite different! $ uname -r 3.2.0-4-amd64 $ uname -v #1 SMP Debian 3.2.35-2 Really the only portable way to use uname(1) is to call it first to see which system name it returns and then after knowing the system type then call it again with whatever options make sense on that system. Bob From debbugs-submit-bounces@debbugs.gnu.org Sun May 12 02:22:40 2013 Received: (at 14388) by debbugs.gnu.org; 12 May 2013 06:22:40 +0000 Received: from localhost ([127.0.0.1]:37117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UbPg7-0003Nj-UX for submit@debbugs.gnu.org; Sun, 12 May 2013 02:22:40 -0400 Received: from ishtar.tlinx.org ([173.164.175.65]:48920 helo=Ishtar.hs) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UbOMw-00065H-FR for 14388@debbugs.gnu.org; Sun, 12 May 2013 00:58:48 -0400 Received: from [192.168.4.12] (Athenae [192.168.4.12]) by Ishtar.hs (8.14.5/8.14.4/SuSE Linux 0.8) with ESMTP id r4C4wEUE070937; Sat, 11 May 2013 21:58:17 -0700 Message-ID: <518F2166.8000308@tlinx.org> Date: Sat, 11 May 2013 21:58:14 -0700 From: Linda Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: Bob Proulx Subject: Re: bug#14388: Bug in uname command - reg... References: <20130511234624.GA30416@hysteria.proulx.com> In-Reply-To: <20130511234624.GA30416@hysteria.proulx.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14388 X-Mailman-Approved-At: Sun, 12 May 2013 02:22:38 -0400 Cc: 14388@debbugs.gnu.org, vevek venkatesan X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) Bob Proulx wrote: > > $ uname -r > 3.2.0-4-amd64 > > $ uname -v > #1 SMP Debian 3.2.35-2 --- I get something similiar the above, but that isn't the way the kernel terminology -- despite the fact that use "uname-r" to search for the kernel-version of modules to use. but 3=VERSION 2=PATCHLEVEL 0=SUBLEVEL -4- = EXTRAVERSION -amd64=LOCALVERSION >From that -- it looks quite a bit like it describing version information. On mine, I have uname -r=3.9.0-Isht-Van With Isht-Van being my localversion name The uname-v has: #6 SMP PREEMPT Wed May 8 17:28:40 PDT 2013 Compile#, options date.... not sure why debians is different --- 3.2.35-2? That's odd looking. It looks like they are a bit backwards -- but I think I would agree with Bob's assessment that it can't be something that is fixed since there are tons of programs (including programs IN THE KERNEL (to load modules)) that use the 'release' to get the linux-version info... *doh!* > > Really the only portable way to use uname(1) is to call it first to > see which system name it returns and then after knowing the system > type then call it again with whatever options make sense on that > system. --- Which is a bit like saying you need an interpreter that's system specific to pick out what is relevant. That's special! ;-> From debbugs-submit-bounces@debbugs.gnu.org Sun May 12 20:54:55 2013 Received: (at 14388) by debbugs.gnu.org; 13 May 2013 00:54:56 +0000 Received: from localhost ([127.0.0.1]:37920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ubh2V-0002Yp-IV for submit@debbugs.gnu.org; Sun, 12 May 2013 20:54:55 -0400 Received: from joseki.proulx.com ([216.17.153.58]:50731) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ubh2S-0002Yc-Fg for 14388@debbugs.gnu.org; Sun, 12 May 2013 20:54:53 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 8480F211E3; Sun, 12 May 2013 18:54:27 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 37B862DC44; Sun, 12 May 2013 18:54:27 -0600 (MDT) Date: Sun, 12 May 2013 18:54:27 -0600 From: Bob Proulx To: 14388@debbugs.gnu.org Subject: Re: bug#14388: Bug in uname command - reg... Message-ID: <20130513005427.GA3073@hysteria.proulx.com> References: <20130511234624.GA30416@hysteria.proulx.com> <518F2166.8000308@tlinx.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <518F2166.8000308@tlinx.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 14388 Cc: vevek venkatesan X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) Linda Walsh wrote: > Bob Proulx wrote: > > $ uname -r > > 3.2.0-4-amd64 > > $ uname -v > > #1 SMP Debian 3.2.35-2 > > From that -- it looks quite a bit like it describing version information. > On mine, I have > uname -r=3.9.0-Isht-Van > > With Isht-Van being my localversion name > The uname-v has: > #6 SMP PREEMPT Wed May 8 17:28:40 PDT 2013 > Compile#, options date.... not sure why debians is different --- 3.2.35-2? > > That's odd looking. IBM AIX 3.5 returns information like this: $ uname -a AIX localhost 3 5 00CD7EAF4C00 $ uname -r 3 $ uname -v 5 HP-UX 11.31 will say something like this: $ uname -a HP-UX localhost B.11.31 U ia64 3682977672 unlimited-user license $ uname -r B.11.31 $ uname -v U Solaris 5.9: $ uname -a SunOS localhost 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Fire-15000 $ uname -r 5.9 $ uname -v Generic_112233-12 I don't have access to a variety of machines these days so the above is cutting and pasting from reports sent in that I found on the web. I may have something slightly wrong in the above. But it should still be illustrative that every system interprets what to do with the fields differently. > It looks like they are a bit backwards -- but I think I would agree with > Bob's assessment that it can't be something that is fixed since there > are tons of programs (including programs IN THE KERNEL (to load modules)) > that use the 'release' to get the linux-version info... > > *doh!* Yes. D'oh! Which is why it isn't as useful as people think it might be. > > Really the only portable way to use uname(1) is to call it first to > > see which system name it returns and then after knowing the system > > type then call it again with whatever options make sense on that > > system. > > Which is a bit like saying you need an interpreter that's > system specific to pick out what is relevant. That's special! ;-> Yes. That is exactly what I am saying! :-) Here is some live code from a script designed to run in a an environment with all of the above. This isn't general purpose and was written to work exactly for the cases I needed it to work. For example for AIX I would have needed to have it combine -r and -v together to get to 3.5 but for me knowing "aix" was good enough so I stopped there. I am just posting this to give an exapmle of the type of system specific tests that are needed. I am sure that if this script were live working today that it would have variations for current systems. Bob os=unknown mach=unknown uname=$(uname) if [ $? -ne 0 ] || [ -z "$uname" ]; then echo "Error: Could not run 'uname'" 1>&2 exit 1 fi case $uname in AIX) os=aix mach=rs6000 ;; HP-UX) case $(uname -m) in 9000/*) case $(uname -r) in ?.10.*) mach=hppa1.1 ;; *) mach=hppa2.0 ;; esac ;; *) mach=$(uname -m) ;; esac case $(uname -r) in ?.10.*) os=hpux10 ;; *) os=hpux$(uname -r | sed 's/^[AB]\.//') ;; esac ;; Linux) os=gnulinux mach=$(uname -m) ;; esac From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 12:18:41 2013 Received: (at control) by debbugs.gnu.org; 10 Dec 2013 17:18:41 +0000 Received: from localhost ([127.0.0.1]:42002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqQxE-0007hG-8h for submit@debbugs.gnu.org; Tue, 10 Dec 2013 12:18:40 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53708) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqQx9-0007gx-SS; Tue, 10 Dec 2013 12:18:37 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rBAHIY1t007474 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 10 Dec 2013 12:18:35 -0500 Received: from [10.3.113.140] (ovpn-113-140.phx2.redhat.com [10.3.113.140]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id rBAHIYFx017038; Tue, 10 Dec 2013 12:18:34 -0500 Message-ID: <52A74CE9.1040405@redhat.com> Date: Tue, 10 Dec 2013 10:18:33 -0700 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Vishwas Dhankhar <92vishwas@gmail.com>, 16100@debbugs.gnu.org, GNU bug tracker automated control server Subject: Re: bug#16100: Bug in uname command References: In-Reply-To: X-Enigmail-Version: 1.6 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="erMO97UCohSnP96G5RpbKWa8IS6KcnVih" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.2 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --erMO97UCohSnP96G5RpbKWa8IS6KcnVih Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable forcemerge 14388 16100 thanks On 12/10/2013 02:54 AM, Vishwas Dhankhar wrote: > Hi, >=20 > Man page of uname command states that uname options: >=20 > -r, --kernel-release print the kernel release > -v, --kernel-version print the kernel version >=20 > But I got the following result while using these options: >=20 > inlc7921> uname -r > 2.6.16.60-0.58.1.3835.0.PTF.638363-smp >=20 > inlc7921> uname -v > #1 SMP Wed Dec 2 12:27:56 UTC 2009 >=20 > This seems a little opposite to what man page suggests. Please do take = a > look. Thanks for the report. However, this is turning into a FAQ; see debbugs.gnu.org/14388 for the last discussion on the issue (we are accurately returning what the kernel sticks in the struct used by the uname(2) syscall; changing things would require a kernel change and not something we can effect here; about the best we could do is a doc update to make it clear that we really return whatever random strings the kernel tells us even if those strings aren't "release" and "version" in the sense you are expecting). --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --erMO97UCohSnP96G5RpbKWa8IS6KcnVih Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJSp0zqAAoJEKeha0olJ0Nq/HYIAJ2T/Y/W1ZgQwvvlccNIYzNc 3MVjbpse0ay0aCv8tCDjOsOBEdPFill73w2UyejbinqBxHm1Y7ARgkjctxuOd+Xg 8APOApu6/axWCfSUthniGPz6ZL66zUt4X83IxRo+ybrwGGayUt/T8PvdemrWVG2Z ftuYrI0NnQuKo6t2qTlYLb3jjTqYEJ4q+ffkYavxgEbgkXM4bDRrhpV6i610xAEA gwQEVbKZyPSQuypdm1vM08U0hm7kRY2I5Nxkcx3iIxDiHkCM3w5lf6K1yVBzKIlq mlxG8pur7Z7ENUMU+mYqNeJ4qpngw7U2FVRKpn12F+MY26aKAzqIksEcpdqtO8Q= =mUhY -----END PGP SIGNATURE----- --erMO97UCohSnP96G5RpbKWa8IS6KcnVih-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 10 12:20:04 2013 Received: (at control) by debbugs.gnu.org; 10 Dec 2013 17:20:04 +0000 Received: from localhost ([127.0.0.1]:42010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqQyZ-0007kV-Jk for submit@debbugs.gnu.org; Tue, 10 Dec 2013 12:20:04 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46780) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VqQyV-0007jt-Hy; Tue, 10 Dec 2013 12:20:00 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rBAHJwVw007991 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 10 Dec 2013 12:19:58 -0500 Received: from [10.3.113.140] (ovpn-113-140.phx2.redhat.com [10.3.113.140]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id rBAHJw64017611; Tue, 10 Dec 2013 12:19:58 -0500 Message-ID: <52A74D3E.3020200@redhat.com> Date: Tue, 10 Dec 2013 10:19:58 -0700 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: NARHAR DEV SHARMA , 16101@debbugs.gnu.org Subject: Re: bug#16101: Doubt regarding uname command References: In-Reply-To: X-Enigmail-Version: 1.6 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ggmIxljQaTn23uTbP1KdqoVi3NXd6kjMp" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.2 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ggmIxljQaTn23uTbP1KdqoVi3NXd6kjMp Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable forcemerge 14388 16101 thanks On 12/10/2013 03:10 AM, NARHAR DEV SHARMA wrote: > uname command manual page show about these options as follow: > -r, --kernel-release > print the kernel release >=20 > -v, --kernel-version > print the kernel version >=20 > but i found that these options are conflicting as given in manual page >=20 > eg >=20 > inlc7940> uname -v > #1 SMP Wed Dec 2 12:27:56 UTC 2009 > inlc7940> uname -r > 2.6.16.60-0.58.1.3835.0.PTF.638363-smp >=20 > Help me to solve this problem.... Thanks for the report. However, this is turning into a FAQ; see debbugs.gnu.org/14388 for the last discussion on the issue (we are accurately returning what the kernel sticks in the struct used by the uname(2) syscall; changing things would require a kernel change and not something we can effect here; about the best we could do is a doc update to make it clear that we really return whatever random strings the kernel tells us even if those strings aren't "release" and "version" in the sense you are expecting). --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --ggmIxljQaTn23uTbP1KdqoVi3NXd6kjMp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJSp00+AAoJEKeha0olJ0NqcFgIAJFg1KcWYL9PsEv+coEXJzfS C1nXppRVAl/Ord9L26yi5IVlwWh//jEQ5bk5QrmayuuXwAjFI4ZBkIW6bjNzTMn0 fPIObgPsF1EClhTpbsU9Vt/jsHQWoYi9yfqDIsL0oIDD5WVkxhAAlNvzDorGxTJL PZhubm4tTyvrz0FBRF1XGlEMu3jbyPtPQyX02EcmVrYHoeZJ1avcli1yrPPpOLwH yJzs0wpJ9M1S6NO5Hp9I1Rq8awCfztv9sChxqVkm/+OoEJjak0SLprqygW0d3QgW yQxjLGCBhfxeQxJ/nUPzw7MwaSCCpuny24y5JREVhkazhlUVrtsq2vldc3RBeS8= =UCzl -----END PGP SIGNATURE----- --ggmIxljQaTn23uTbP1KdqoVi3NXd6kjMp-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 18 20:31:51 2018 Received: (at control) by debbugs.gnu.org; 19 Oct 2018 00:31:51 +0000 Received: from localhost ([127.0.0.1]:57743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDIhj-0000rL-Dv for submit@debbugs.gnu.org; Thu, 18 Oct 2018 20:31:51 -0400 Received: from mail-pl1-f182.google.com ([209.85.214.182]:38262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDIhi-0000mi-8i for control@debbugs.gnu.org; Thu, 18 Oct 2018 20:31:50 -0400 Received: by mail-pl1-f182.google.com with SMTP id q19-v6so11989031pll.5 for ; Thu, 18 Oct 2018 17:31:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:message-id:date:user-agent:mime-version:content-language :content-transfer-encoding; bh=W5yCeZRlXHDAEQhM/s7EqoAjx/Ygz3Uup2/qsMcs4q0=; b=V90SzfjJrVgjiUeiHv7WMNFqbfsOtfJK3GKMijCXIkiXEUTRdhjI9zJTeAX7nnuBb4 jD/wAUDcu6+XxR7AGVU5ucaYnlZVhOdWumq6YrfHIKzVLX5/UCpMoSA4Zs1VneiwsfkX exiRNn1cspkqBhvll3ohebr5i7G3g0P9/X39X9tJ4LGL4O64nmA0i+ketXI+Sva2wETC tehdJ6OWBRezyHKjQlQhqfV2b4uwcO1gazZgwDaB1XCu9VpBSq2+/d5udY2JtlCPueKB Q2jJa9Sau1RUdJaGyoUZbnm3OoMQ/7MDX2BTOsMmiWzepE9HwvyOzjnIUj9hE/IaPG8o sEHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=W5yCeZRlXHDAEQhM/s7EqoAjx/Ygz3Uup2/qsMcs4q0=; b=VQPNLjKfpXmdt4xsNfP1txC5K6udDFp7gf2RInTLu2k1S3xh/4+eKzOI024twi+5ny BgNpz5CwxrGaH9fJL33k4ojasVv7F0HXIsmTFU1d/skQiJL3miZ8MCtxdmPfZj6p5oHq stLcXzrtb0EVUKb6q9bh5XbKFJCh2QXscJLEfdXqT9HYJFWvyGsHi4+8Nmb3cYktxaHF 4oGJrbhw2XkZKYXzbKHqn5Q3gIW7i/TmQYbCaCu6g5HGkQCLz+srHvicz7/kL4yYR7qG d2u9LOgP4jFeTyCcrr1/i/+q7JbheLz5qOx3kBN4lMB6PRgkhLo05bC7HrRnFMsAkex1 WdpQ== X-Gm-Message-State: ABuFfoiogIJTt6DhOQIgYk7uEu86P4I9kiI93jhwGtzuSmoKPxiq7WnH RQFN4nDfoO+t53uwhrOppNUHd8dB9I8= X-Google-Smtp-Source: ACcGV61wTF36Jf+oqpC0Bd5lqb5WUVhL52fRuTq7WW7zn6VJ9yHatSolD71YLCy+Smu0xdJ9yuQ7Ew== X-Received: by 2002:a17:902:32a4:: with SMTP id z33-v6mr21295378plb.85.1539909104146; Thu, 18 Oct 2018 17:31:44 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id h5-v6sm15682664pgh.42.2018.10.18.17.31.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Oct 2018 17:31:43 -0700 (PDT) To: control@debbugs.gnu.org From: Assaf Gordon Message-ID: Date: Thu, 18 Oct 2018 18:31:42 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 14388 notabug close 14388 [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.214.182 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (assafgordon[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) tags 14388 notabug close 14388 From unknown Tue Jun 24 17:24:58 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 16 Nov 2018 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator