GNU bug report logs - #20827
uname -r not printing full kernel version

Previous Next

Package: coreutils;

Reported by: "K, Senthil Kumar" <senthil-kumar.k5 <at> hp.com>

Date: Tue, 16 Jun 2015 15:32:02 UTC

Severity: normal

Tags: notabug

Done: Pádraig Brady <P <at> draigBrady.com>

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 20827 in the body.
You can then email your comments to 20827 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 bug-coreutils <at> gnu.org:
bug#20827; Package coreutils. (Tue, 16 Jun 2015 15:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "K, Senthil Kumar" <senthil-kumar.k5 <at> hp.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 16 Jun 2015 15:32:02 GMT) Full text and rfc822 format available.

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

From: "K, Senthil Kumar" <senthil-kumar.k5 <at> hp.com>
To: "bug-coreutils <at> gnu.org" <bug-coreutils <at> gnu.org>
Cc: "K, Senthil Kumar" <senthil-kumar.k5 <at> hp.com>
Subject: uname -r not printing full kernel version
Date: Tue, 16 Jun 2015 10:03:34 +0000
[Message part 1 (text/plain, inline)]
Hi Team,

I have upgraded suse 11.1 to suse 11.3 but actual kernel name should be kernel-default-3.0.101-0.47.52.1 but uname -r prints like below.
Could you please check and revert below.

sl01407:~ # rpm -qa ker*
kernel-default-base-3.0.101-0.47.52.1
kernel-firmware-20110923-0.52.3
kernel-default-3.0.101-0.47.52.1
sl01407:~ # uname -r
3.0.101-0.47.52-default
sl01407:~ #

sl01407:~ # rpm -qi kernel-default-3.0.101-0.47.52.1
Name        : kernel-default               Relocations: (not relocatable)
Version     : 3.0.101                           Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Release     : 0.47.52.1                     Build Date: Thu Mar 26 14:15:35 2015
Install Date: Tue Jun 16 09:39:29 2015         Build Host: sheep11
Group       : System/Kernel                 Source RPM: kernel-default-3.0.101-0.47.52.1.nosrc.rpm
Size        : 86825913                         License: GPL v2 only
Signature   : RSA/8, Thu Mar 26 14:18:11 2015, Key ID e3a5c360307e3d54
Packager    : http://bugs.opensuse.org
URL         : http://www.kernel.org/
Summary     : The Standard Kernel
Description :
The standard kernel for both uniprocessor and multiprocessor systems.


Source Timestamp: 2015-03-26 11:55:49 +0100
GIT Revision: 0e3c7c88dc6a4543bcddfbfe1d814bc6713e5832
GIT Branch: SLE11-SP3-fasttrack-bnc924282
Distribution: SUSE Linux Enterprise 11
sl01407:~ #



Thanks & Regards,

Senthil Kumar K
Best Shore E.ON Unix Team
HP Enterprise Services
Hewlett Packard Company
HP Avenue, 39/40
Electronic City,
Bangalore - 560 100, India
* +91 88612 53460
* eonunixteam <at> hp.com
[Description: Description: Description: cid:image001.png <at> 01CB9775.B5B6B950]

[Message part 2 (text/html, inline)]
[image001.png (image/png, inline)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#20827; Package coreutils. (Tue, 16 Jun 2015 15:58:02 GMT) Full text and rfc822 format available.

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

From: Pádraig Brady <P <at> draigBrady.com>
To: "K, Senthil Kumar" <senthil-kumar.k5 <at> hp.com>, 20827 <at> debbugs.gnu.org
Subject: Re: bug#20827: uname -r not printing full kernel version
Date: Tue, 16 Jun 2015 16:57:36 +0100
tag 20827 notabug
close 20827
stop

On 16/06/15 11:03, K, Senthil Kumar wrote:
> Hi Team,
> 
>  
> 
> I have upgraded suse 11.1 to suse 11.3 but actual kernel name should be kernel-default-3.0.101-0.47.52.1 but uname –r prints like below.
> 
> Could you please check and revert below.
> 
>  
> 
> sl01407:~ # rpm -qa ker*
> 
> kernel-default-base-3.0.101-0.47.52.1
> 
> kernel-firmware-20110923-0.52.3
> 
> kernel-default-3.0.101-0.47.52.1
> 
> sl01407:~ # uname -r
> 
> 3.0.101-0.47.52-default

This is just a mismatch between rpm version/release and the kernel.
I.E. coreutils is just reporting what the kernel is telling it,
or more specifically what is returned from uname(2).

I presume /proc/sys/kernel/osrelease has the same value?

thanks,
Pádraig.





Added tag(s) notabug. Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Tue, 16 Jun 2015 15:58:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 20827 <at> debbugs.gnu.org and "K, Senthil Kumar" <senthil-kumar.k5 <at> hp.com> Request was from Pádraig Brady <P <at> draigBrady.com> to control <at> debbugs.gnu.org. (Tue, 16 Jun 2015 15:58:03 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. (Wed, 15 Jul 2015 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 37 days ago.

Previous Next


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