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


Groups > linux.debian.kernel > #59802

Bug#822730: initramfs-tools: Should we migrate to a "interest-noawait" trigger for update-initramfs -u?

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Niels Thykier <niels@thykier.net>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#822730: initramfs-tools: Should we migrate to a "interest-noawait" trigger for update-initramfs -u?
Date Sun, 31 Dec 2017 17:40:02 +0100
Message-ID <v2OOu-6Z2-3@gated-at.bofh.it> (permalink)
References <rshW4-5I2-55@gated-at.bofh.it> <rshW4-5I2-55@gated-at.bofh.it> <u1jYB-7R0-1@gated-at.bofh.it> <u1jYB-7R0-1@gated-at.bofh.it> <rshW4-5I2-55@gated-at.bofh.it> <u1jYB-7R0-1@gated-at.bofh.it>
X-Original-To 822730@bugs.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sun Dec 31 16:33:09 2017
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.099
Reply-To Niels Thykier <niels@thykier.net>, 822730@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 822730
X-Debian-Pr-Package initramfs-tools
X-Debian-Pr-Source initramfs-tools
X-Spam-Bayes score:0.0000 Tokens: new, 29; hammy, 147; neutral, 68; spammy, 3. spammytokens:0.968-+--Promotion, 0.965-+--promotion, 0.914-+--limited hammytokens:0.000-+--afaict, 0.000-+--AFAICT, 0.000-+--H*Ad:U*niels, 0.000-+--H*Ad:D*thykier.net, 0.000-+--lintian
Dkim-Signature v=1; a=rsa-sha256; c=simple/simple; d=thykier.net; s=20140924; h=from:subject:date:message-id:to:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=9QCW0WOvgdB+lWG3AUsnS1xtfzupr67NswSKGpJLmm4=; b=dFTgaF/wPAAkdrNCGxUmPENGpPV10z/TA8PBnhOwH6I3tCAKYqbXNthwpQgTjYH8BXw8PJHR+wGS4 EaYJ7MsWLMzFyC+PfGiNQ+eZ4c3TlzRchjAlXD5trTlssvpKuz9FuhRjRNA/qebYgduVU6gaOVSG0/ MuirbJcKIj8yePM0=
X-Halone-Cookie 9850c825f4401d3f64ae6e33e85108630d505370
X-Halone-ID e2c74588-ee47-11e7-93ac-d0431ea8a283
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Language en-GB
Content-Transfer-Encoding 7bit
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1429942
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 63
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 31 Dec 2017 16:29:00 +0000
X-Original-Message-ID <54f91ebe-3f04-cde5-63a9-8cd5556cadf7@thykier.net>
X-Original-References <146170141409.10955.14109315527646992101.reportbug@mangetsu.thykier.net> <146170141409.10955.14109315527646992101.reportbug@mangetsu.thykier.net> <e8b6e2c8-dcae-b53e-c62f-f9c9d49dc2bf@thykier.net> <e8b6e2c8-dcae-b53e-c62f-f9c9d49dc2bf@thykier.net> <146170141409.10955.14109315527646992101.reportbug@mangetsu.thykier.net> <e8b6e2c8-dcae-b53e-c62f-f9c9d49dc2bf@thykier.net>
Xref csiph.com linux.debian.bugs.dist:872375 linux.debian.kernel:59802

Cross-posted to 2 groups.

Show key headers only | View raw


Control: block 491027 by -1

On Sun, 09 Jul 2017 12:51:00 +0000 Niels Thykier <niels@thykier.net> wrote:
> On Tue, 26 Apr 2016 22:10:14 +0200 Niels Thykier <niels@thykier.net> wrote:
> > Package: initramfs-tools
> > Version: 0.125
> > Severity: wishlist
> > Usertags: declarative-packaging 
> > 
> > Hi,
> > 
> 
> [...]

Ping on this?

> PS: Quoted in full below for your convenience. :)
> 
> > The update-initramfs tool currently has a bit of magic for deferring
> > changes during upgrades (by exploiting dpkg-trigger).  This is fine,
> > but I was wondering if we could perhaps add a file-based interest
> > trigger (or simply migrate to a declarative activate-noawait trigger).
> > 
> > I got basically two reasons for this bug:
> > 
> >  * Request for support in debhelper #491027 and lintian #678962
> >  * Promotion of "declarative packaging"[1].
> > 
> > 
> > At first glance[2], I would recommend adding a file-based trigger for the
> > following reasons:
> > 
> >  * Packages would just need to install files in
> >    usr/share/initramfs-tools/{hooks,scripts} and initramfs-tools
> >    would take care of the rest.
> > 
> >  * There would be no need for lintian tags or changes to debhelper to
> >    improve support.  It would "just work"(tm).
> > 
> > This file-based trigger would be used in /addition/ to the existing
> > trigger.  AFAICT, some packages only conditionally need to trigger
> > update-initramfs (and these would still need to be able to call
> > "dpkg-trigger --no-await update-initramfs").
> > 
> >  * What do you think about this suggestion?
> > 
> >  * Alternatively, would the use of declarative triggers[3] be ok for
> >    the debhelper support?
> > 
> > 
> > Thanks,
> > ~Niels
> > 
> > [1] https://wiki.debian.org/Teams/Dpkg/Spec/DeclarativePackaging
> > 
> > [2] I admit having very limited overview over the use-cases around
> > update-initramfs.
> > 
> > [3] Like we did with ldconfig.  Basically add
> > 
> >   activate-noawait update-initramfs
> > 
> > to the packages' triggers file.

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


Thread

Bug#822730: initramfs-tools: Should we migrate to a "interest-noawait" trigger for update-initramfs -u? Niels Thykier <niels@thykier.net> - 2016-04-26 22:40 +0200
  Bug#822730: initramfs-tools: Should we migrate to a "interest-noawait" trigger for update-initramfs -u? Niels Thykier <niels@thykier.net> - 2017-07-09 15:00 +0200
    Bug#822730: initramfs-tools: Should we migrate to a "interest-noawait" trigger for update-initramfs -u? Niels Thykier <niels@thykier.net> - 2017-12-31 17:40 +0100
      Bug#822730: initramfs-tools: Should we migrate to a "interest-noawait" trigger for update-initramfs -u? Niels Thykier <niels@thykier.net> - 2018-02-18 08:40 +0100
        Bug#822730: initramfs-tools: Should we migrate to a "interest-noawait" trigger for update-initramfs -u? Ben Hutchings <ben@decadent.org.uk> - 2018-07-19 03:10 +0200
  Processed: Re: initramfs-tools: Should we migrate to a  "interest-noawait" trigger for update-initramfs -u? "Debian Bug Tracking System" <owner@bugs.debian.org> - 2017-12-31 17:50 +0100
  Bug#822730: marked as done (initramfs-tools: Should we migrate to  a "interest-noawait" trigger for update-initramfs -u?) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2018-04-04 21:50 +0200
  Processed: Re: Bug#822730: initramfs-tools: Should we migrate to  a "interest-noawait" trigger for update-initramfs -u? "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-04-18 00:30 +0200

csiph-web