Bug#783995: [feature-request] Please allow to view kernel config via /proc/config.gz in all Debian kernels

2015-05-01 Thread Alexey Eromenko
Package: linux-image-amd64
Version: 3.16.7-ckt7-1

Hi,

It would help me very much, if Debian kernel provided a quick ability
to see it's own configuration in /proc/config.gz.

Reason:
in some cases viewing current kernel configuration via "#
/boot/config-$(uname -r)" is not available; For example when working
with Debian-installer (booting from DVD), or working inside an OpenVZ
(or LXC) container.

For those reasons I ask you to enable "/proc/config.gz" in all
supported Debian kernels (Debian 6, 7 and 8), if possible.

As far as I'm aware it's stable feature, and there is no downside from
enabling it.

+General setup
[*] Kernel .config support
[*] Enable access to .config through /proc/config.gz

Original article:
http://superuser.com/questions/287371/obtain-kernel-config-from-currently-running-linux-system

Thanks in advance,
--
-Alexey Eromenko "Technologov", 01.May.2015.


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAOJ6w=GCEvL9Af1r7m+KUME_tznga0==pxuusubcbp-xawq...@mail.gmail.com



Bug#783995: [feature-request] Please allow to view kernel config via /proc/config.gz in all Debian kernels

2015-05-01 Thread Ben Hutchings
Control: reassign -1 src:linux
Control: severity -1 wishlist

On Sat, 2015-05-02 at 01:39 +0300, Alexey Eromenko wrote:
> Package: linux-image-amd64
> Version: 3.16.7-ckt7-1
> 
> Hi,
> 
> It would help me very much, if Debian kernel provided a quick ability
> to see it's own configuration in /proc/config.gz.
> 
> Reason:
> in some cases viewing current kernel configuration via "#
> /boot/config-$(uname -r)" is not available; For example when working
> with Debian-installer (booting from DVD), or working inside an OpenVZ
> (or LXC) container.

Why would it be good for this to be exposed inside a container?

> For those reasons I ask you to enable "/proc/config.gz" in all
> supported Debian kernels (Debian 6, 7 and 8), if possible.

This definitely will not be changed in existing stable releases.

> As far as I'm aware it's stable feature, and there is no downside from
> enabling it.
[...]

There is a downside: it consumes more memory and disk space (though not
that much).

Ben.

-- 
Ben Hutchings
It is easier to write an incorrect program than to understand a correct one.


signature.asc
Description: This is a digitally signed message part


Bug#783995: [feature-request] Please allow to view kernel config via /proc/config.gz in all Debian kernels

2015-05-01 Thread Alexey Eromenko
>Why would it be good for this to be exposed inside a container?

So that applications know, if they can use advanced features such as
AppArmor or not. And to give more complete environment for the admins.

Plus, to debug problems inside debian-installer. (it lacks /boot/config),
like bug # 783982, where normal Debian 8 kernel supports floppy /dev/fd0,
but d-I kernel doesn't.

Why it can't be changed in stable releases?  I mean if the change is small
and beneficial, why not ? (Assuming it doesn't require major kernel source
code changes, but only kernel config)


Bug#783995: [feature-request] Please allow to view kernel config via /proc/config.gz in all Debian kernels

2015-05-01 Thread Geert Stappers
On Fri, May 01, 2015 at 11:50:31PM +0100, Ben Hutchings wrote:
> On Sat, 2015-05-02 at 01:39 +0300, Alexey Eromenko wrote:
> > As far as I'm aware it's stable feature, and there is no downside from
> > enabling it.
> [...]
> 
> There is a downside: it consumes more memory and disk space (though not
> that much).

And there is no need for it. Debian provides allready the information of
  zcat /proc/config.gz
in a file with a name like
  config-VERSION-VER-ARCH
which gets installed in /boot

Example given
  grep -i -e floppy -e fdc /boot/config* 


Groeten
Geert Stappers
Who thinks that this bugreport should be closed
or marked as 'WONTFIX'
-- 
Leven en laten leven


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150502053056.gd23...@gpm.stappers.nl



Processed: Re: Bug#783995: [feature-request] Please allow to view kernel config via /proc/config.gz in all Debian kernels

2015-05-01 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 src:linux
Bug #783995 [linux-image-amd64] [feature-request] Please allow to view kernel 
config via /proc/config.gz in all Debian kernels
Bug reassigned from package 'linux-image-amd64' to 'src:linux'.
No longer marked as found in versions 3.16.7-ckt7-1.
Ignoring request to alter fixed versions of bug #783995 to the same values 
previously set
> severity -1 wishlist
Bug #783995 [src:linux] [feature-request] Please allow to view kernel config 
via /proc/config.gz in all Debian kernels
Severity set to 'wishlist' from 'normal'

-- 
783995: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783995
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/handler.s.b783995.143052063927628.transcr...@bugs.debian.org