Bug#638878: linux-image-3.0.0-1-amd64: Maybe report Debian kernel version with uname

2011-08-23 Thread Jonathan Nieder
Ben Hutchings wrote: --- a/scripts/mkcompile_h +++ b/scripts/mkcompile_h @@ -58,6 +58,13 @@ if [ -n $SMP ] ; then CONFIG_FLAGS=SMP; fi if [ -n $PREEMPT ] ; then CONFIG_FLAGS=$CONFIG_FLAGS PREEMPT; fi UTS_VERSION=$UTS_VERSION $CONFIG_FLAGS $TIMESTAMP + +DISTRIBUTION=$(lsb_release -is

Bug#638878: linux-image-3.0.0-1-amd64: Maybe report Debian kernel version with uname

2011-08-22 Thread Touko Korpela
Package: linux-2.6 Version: 3.0.0-2 Severity: wishlist Would it be possible to report Debian kernel version in uname output? Maybe it can be added to kernel version string, uname -v (now it's #1 SMP Wed Aug 17 05:07:22 UTC 2011. This information is present in /proc/version and could be in uname

Bug#638878: linux-image-3.0.0-1-amd64: Maybe report Debian kernel version with uname

2011-08-22 Thread Jonathan Nieder
reassign 638878 coreutils 8.5-1 quit Hi Touko, Touko Korpela wrote: Would it be possible to report Debian kernel version in uname output? Maybe it can be added to kernel version string, uname -v (now it's #1 SMP Wed Aug 17 05:07:22 UTC 2011. This information is present in /proc/version and

Bug#638878: linux-image-3.0.0-1-amd64: Maybe report Debian kernel version with uname

2011-08-22 Thread Bob Proulx
tags 638878 + moreinfo thanks Touko Korpela wrote: Would it be possible to report Debian kernel version in uname output? Maybe it can be added to kernel version string, uname -v (now it's #1 SMP Wed Aug 17 05:07:22 UTC 2011. This information is present in /proc/version and could be in uname

Bug#638878: linux-image-3.0.0-1-amd64: Maybe report Debian kernel version with uname

2011-08-22 Thread Michael Stone
I'd argue that the proper place for this change is in uname(2) rather than uname(1). Maybe a kernel developer can explain why the syscall doesn't simply present all the information? (I think there's a limit in the structure size, but that's been increased before...) Mike Stone -- To

Bug#638878: linux-image-3.0.0-1-amd64: Maybe report Debian kernel version with uname

2011-08-22 Thread Ben Hutchings
On Mon, Aug 22, 2011 at 11:54:49AM -0500, Jonathan Nieder wrote: reassign 638878 coreutils 8.5-1 quit Hi Touko, Touko Korpela wrote: Would it be possible to report Debian kernel version in uname output? Maybe it can be added to kernel version string, uname -v (now it's #1 SMP Wed

Bug#638878: linux-image-3.0.0-1-amd64: Maybe report Debian kernel version with uname

2011-08-22 Thread Jonathan Nieder
Ben Hutchings wrote: Touko Korpela wrote: Would it be possible to report Debian kernel version in uname output? Maybe it can be added to kernel version string, uname -v (now it's #1 SMP Wed Aug 17 05:07:22 UTC 2011. This information is present in /proc/version and could be in uname too.

Bug#638878: linux-image-3.0.0-1-amd64: Maybe report Debian kernel version with uname

2011-08-22 Thread Ben Hutchings
On Mon, Aug 22, 2011 at 01:44:03PM -0500, Jonathan Nieder wrote: Ben Hutchings wrote: Touko Korpela wrote: Would it be possible to report Debian kernel version in uname output? Maybe it can be added to kernel version string, uname -v (now it's #1 SMP Wed Aug 17 05:07:22 UTC 2011. This

Bug#638878: linux-image-3.0.0-1-amd64: Maybe report Debian kernel version with uname

2011-08-22 Thread Touko Korpela
On Mon, Aug 22, 2011 at 01:44:03PM -0500, Jonathan Nieder wrote: Ben Hutchings wrote: Touko Korpela wrote: Would it be possible to report Debian kernel version in uname output? Maybe it can be added to kernel version string, uname -v (now it's #1 SMP Wed Aug 17 05:07:22 UTC 2011. This

Bug#638878: linux-image-3.0.0-1-amd64: Maybe report Debian kernel version with uname

2011-08-22 Thread Michael Stone
On Mon, Aug 22, 2011 at 08:10:41PM +0100, Ben Hutchings wrote: I think the problem is that many generic scripts that attempt to capture the kernel version will not use 'uname -a', 'uname -rv', or similar. If they were to use /proc/version, that would be sufficient, but then the uname commands

Bug#638878: linux-image-3.0.0-1-amd64: Maybe report Debian kernel version with uname

2011-08-22 Thread Touko Korpela
On Mon, Aug 22, 2011 at 11:27:10AM -0600, Bob Proulx wrote: tags 638878 + moreinfo thanks Touko Korpela wrote: Would it be possible to report Debian kernel version in uname output? Maybe it can be added to kernel version string, uname -v (now it's #1 SMP Wed Aug 17 05:07:22 UTC 2011.

Bug#638878: linux-image-3.0.0-1-amd64: Maybe report Debian kernel version with uname

2011-08-22 Thread Jonathan Nieder
Ben Hutchings wrote: I think the problem is that many generic scripts that attempt to capture the kernel version will not use 'uname -a', 'uname -rv', or similar. If they were to use /proc/version, that would be sufficient, but then the uname commands probably work for almost every other

Bug#638878: linux-image-3.0.0-1-amd64: Maybe report Debian kernel version with uname

2011-08-22 Thread Ben Hutchings
On Mon, 2011-08-22 at 14:54 -0500, Jonathan Nieder wrote: Ben Hutchings wrote: I think the problem is that many generic scripts that attempt to capture the kernel version will not use 'uname -a', 'uname -rv', or similar. If they were to use /proc/version, that would be sufficient, but