Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #64530

Bug#657707: [initramfs-tools] modules for initrd are not stripped

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#657707: [initramfs-tools] modules for initrd are not stripped
Date Wed, 24 Jul 2019 15:00:01 +0200
Message-ID <ynp29-23i-3@gated-at.bofh.it> (permalink)
References <iobcR-5FJ-7@gated-at.bofh.it> <iobcR-5FJ-7@gated-at.bofh.it> <xnWWl-8bO-1@gated-at.bofh.it> <iobcR-5FJ-7@gated-at.bofh.it> <ynnjH-1e8-1@gated-at.bofh.it> <iobcR-5FJ-7@gated-at.bofh.it> <ynnjH-1e8-1@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Wed Jul 24 12:51:12 2019
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.951
Reply-To Ben Hutchings <ben@decadent.org.uk>, 657707@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian kernel team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 657707
X-Debian-Pr-Package initramfs-tools
X-Debian-Pr-Source initramfs-tools
X-Spam-Bayes score:0.0000 Tokens: new, 7; hammy, 150; neutral, 47; spammy, 0. spammytokens: hammytokens:0.000-+--H*F:D*decadent.org.uk, 0.000-+--H*RU:sk:shadbol, 0.000-+--H*r:sk:shadbol, 0.000-+--HX-SA-Exim-Scanned:sk:shadbol, 0.000-+--H*RU:88.96.1.126
Content-Type multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-bQ8d2qlpZeGbVf9YfgSz"
User-Agent Evolution 3.30.5-1.1
MIME-Version 1.0
X-Sa-Exim-Connect-IP 192.168.4.242
X-Sa-Exim-Mail-From ben@decadent.org.uk
X-Sa-Exim-Scanned No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1547497
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 58
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 24 Jul 2019 13:48:00 +0100
X-Original-Message-ID <cdd26a0fe2c8c208f437b1f07502b1cd079e393c.camel@decadent.org.uk>
X-Original-References <201201280834.31747.mirq-boogs@rere.qmqm.pl> <201201280834.31747.mirq-boogs@rere.qmqm.pl> <a225c8338b5e81e234cfd5ab58c8547eebac9825.camel@decadent.org.uk> <201201280834.31747.mirq-boogs@rere.qmqm.pl> <20190724110628.m7jzunsitjzuhjrl@function> <201201280834.31747.mirq-boogs@rere.qmqm.pl> <20190724110628.m7jzunsitjzuhjrl@function>
Xref csiph.com linux.debian.bugs.dist:966242 linux.debian.kernel:64530

Cross-posted to 2 groups.

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, 2019-07-24 at 13:06 +0200, Samuel Thibault wrote:
> I'm also hitting disk contraints with almost-100M initrds.
> 
> Ben Hutchings, le mar. 05 févr. 2019 01:00:31 +0100, a ecrit:
> > On Sat, 28 Jan 2012 08:34:31 +0100 =?utf-8?q?Micha=C5=82_Miros=C5=82aw?= <mirq-boogs@rere.qmqm.pl> wrote:
> > > Please add an option (possibly defaulted to on) to strip kernel modules and 
> > > binaries put in initrd. When using kernel with debugging enables the 
> > > unstripped modules are available in /lib/modules. Unneeded copy of the symbols 
> > > in initrd image take over 80% of its size.
> > [...]
> 
> FTR, plain strip shouldn't be used as such,
> 
> strip --strip-unneeded
> 
> is needed instead, to avoid breaking loading the modules.

strip breaks module signatures.

Ben.

-- 
Ben Hutchings
compatible: Gracefully accepts erroneous data from any source


Back to linux.debian.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#657707: [initramfs-tools] modules for initrd are not stripped Ben Hutchings <ben@decadent.org.uk> - 2019-02-05 01:40 +0100
  Bug#657707: [initramfs-tools] modules for initrd are not stripped Samuel Thibault <sthibault@debian.org> - 2019-07-24 13:10 +0200
    Bug#657707: [initramfs-tools] modules for initrd are not stripped Samuel Thibault <sthibault@debian.org> - 2019-07-24 15:00 +0200
    Bug#657707: [initramfs-tools] modules for initrd are not stripped Ben Hutchings <ben@decadent.org.uk> - 2019-07-24 15:00 +0200

csiph-web