Debian Bug report logs - #804255
Please update initramfs in postinst

version graph

Package: xfsprogs; Maintainer for xfsprogs is XFS Development Team <linux-xfs@vger.kernel.org>; Source for xfsprogs is src:xfsprogs (PTS, buildd, popcon).

Reported by: Steve McIntyre <steve@einval.com>

Date: Fri, 6 Nov 2015 16:33:02 UTC

Severity: important

Tags: d-i, patch

Found in version xfsprogs/3.2.1

Fixed in version xfsprogs/4.3.0

Done: Nathan Scott <nathans@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, XFS Development Team <xfs@oss.sgi.com>:
Bug#804255; Package xfsprogs. (Fri, 06 Nov 2015 16:33:06 GMT) (full text, mbox, link).


Acknowledgement sent to Steve McIntyre <steve@einval.com>:
New Bug report received and forwarded. Copy sent to XFS Development Team <xfs@oss.sgi.com>. (Fri, 06 Nov 2015 16:33:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Steve McIntyre <steve@einval.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Please update initramfs in postinst
Date: Fri, 06 Nov 2015 16:19:41 +0000
Package: xfsprogs
Version: 3.2.1
Severity: important
Tags: d-i

Hi!

Since the move to systemd as the default init system, the initramfs
will attempt to fsck and mount both / and /usr (where applicable). To
aid this, initramfs-tools will copy necessary filesystem tools into
the initramfs when it is generated.

To make this work well, all filesystem tools packages for filesystems
that are likely to be used for / and/or /usr should call
"update-initramfs -u" in their postinst. This will

 (a) ensure that necesssary fsck tools are included in the initramfs
     generated by debian-installer (see #801961 for an example failure
     here); and
 (b) ensure that bug fixes to fsck tools get included immediately in
     the initramfs

I've checked your package and I don't see any update-initramfs
calls. Please add one. If you'd like help doing that postinst work, I
can supply a patch - just ask!

-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xfsprogs depends on:
ii  libblkid1     2.25.2-6
ii  libc6         2.19-18+deb8u1
ii  libreadline5  5.2+dfsg-2
ii  libuuid1      2.25.2-6

xfsprogs recommends no packages.

Versions of packages xfsprogs suggests:
ii  acl      2.2.52-2
ii  attr     1:2.4.47-2
pn  quota    <none>
pn  xfsdump  <none>

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, XFS Development Team <xfs@oss.sgi.com>:
Bug#804255; Package xfsprogs. (Mon, 09 Nov 2015 00:03:05 GMT) (full text, mbox, link).


Acknowledgement sent to Nathan Scott <nathans@debian.org>:
Extra info received and forwarded to list. Copy sent to XFS Development Team <xfs@oss.sgi.com>. (Mon, 09 Nov 2015 00:03:05 GMT) (full text, mbox, link).


Message #10 received at 804255@bugs.debian.org (full text, mbox, reply):

From: Nathan Scott <nathans@debian.org>
To: Steve McIntyre <steve@einval.com>, 804255@bugs.debian.org
Subject: Re: Bug#804255: Please update initramfs in postinst
Date: Sun, 8 Nov 2015 19:00:20 -0500 (EST)
Hi Steve,

----- Original Message -----
> Package: xfsprogs
> Version: 3.2.1
> Severity: important
> Tags: d-i
> 
> To make this work well, all filesystem tools packages for filesystems
> that are likely to be used for / and/or /usr should call
> "update-initramfs -u" in their postinst. This will

OK.

> I've checked your package and I don't see any update-initramfs
> calls.

(yep, xfsprogs has no postinst at all IIRC)

> Please add one. If you'd like help doing that postinst work, I
> can supply a patch - just ask!

That would be great, if you don't mind Steve?  Many thanks!

cheers.

--
Nathan



Information forwarded to debian-bugs-dist@lists.debian.org, XFS Development Team <xfs@oss.sgi.com>:
Bug#804255; Package xfsprogs. (Tue, 10 Nov 2015 16:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Steve McIntyre <steve@einval.com>:
Extra info received and forwarded to list. Copy sent to XFS Development Team <xfs@oss.sgi.com>. (Tue, 10 Nov 2015 16:45:04 GMT) (full text, mbox, link).


Message #15 received at 804255@bugs.debian.org (full text, mbox, reply):

From: Steve McIntyre <steve@einval.com>
To: Nathan Scott <nathans@debian.org>
Cc: 804255@bugs.debian.org
Subject: Re: Bug#804255: Please update initramfs in postinst
Date: Tue, 10 Nov 2015 16:41:15 +0000
[Message part 1 (text/plain, inline)]
Control: tag -1 +patch

On Sun, Nov 08, 2015 at 07:00:20PM -0500, Nathan Scott wrote:
>Hi Steve,
>
>----- Original Message -----
>> Package: xfsprogs
>> Version: 3.2.1
>> Severity: important
>> Tags: d-i
>> 
>> To make this work well, all filesystem tools packages for filesystems
>> that are likely to be used for / and/or /usr should call
>> "update-initramfs -u" in their postinst. This will
>
>OK.
>
>> I've checked your package and I don't see any update-initramfs
>> calls.
>
>(yep, xfsprogs has no postinst at all IIRC)
>
>> Please add one. If you'd like help doing that postinst work, I
>> can supply a patch - just ask!
>
>That would be great, if you don't mind Steve?  Many thanks!

Here's a debdiff of what I've just built. Ignore the NMU version in
the changelog...

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
The two hard things in computing:
 * naming things
 * cache invalidation
 * off-by-one errors                  -- Stig Sandbeck Mathisen
[xfsprogs_4.2.0.1.debdiff (text/plain, attachment)]

Added tag(s) patch. Request was from Steve McIntyre <steve@einval.com> to 804255-submit@bugs.debian.org. (Tue, 10 Nov 2015 16:45:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, XFS Development Team <xfs@oss.sgi.com>:
Bug#804255; Package xfsprogs. (Tue, 10 Nov 2015 21:54:04 GMT) (full text, mbox, link).


Acknowledgement sent to Nathan Scott <nathans@debian.org>:
Extra info received and forwarded to list. Copy sent to XFS Development Team <xfs@oss.sgi.com>. (Tue, 10 Nov 2015 21:54:04 GMT) (full text, mbox, link).


Message #22 received at 804255@bugs.debian.org (full text, mbox, reply):

From: Nathan Scott <nathans@debian.org>
To: Steve McIntyre <steve@einval.com>, 804255@bugs.debian.org
Subject: Re: Bug#804255: Please update initramfs in postinst
Date: Tue, 10 Nov 2015 16:50:31 -0500 (EST)

----- Original Message -----
> >[...]
> >That would be great, if you don't mind Steve?  Many thanks!
> 
> Here's a debdiff of what I've just built. Ignore the NMU version in
> the changelog...

Thanks Steve - I believe there's an upstream xfsprogs release pending,
so we'll get this uploaded shortly.

cheers.

--
Nathan



Reply sent to Nathan Scott <nathans@debian.org>:
You have taken responsibility. (Fri, 27 Nov 2015 00:54:04 GMT) (full text, mbox, link).


Notification sent to Steve McIntyre <steve@einval.com>:
Bug acknowledged by developer. (Fri, 27 Nov 2015 00:54:04 GMT) (full text, mbox, link).


Message #27 received at 804255-close@bugs.debian.org (full text, mbox, reply):

From: Nathan Scott <nathans@debian.org>
To: 804255-close@bugs.debian.org
Subject: Bug#804255: fixed in xfsprogs 4.3.0
Date: Fri, 27 Nov 2015 00:50:55 +0000
Source: xfsprogs
Source-Version: 4.3.0

We believe that the bug you reported is fixed in the latest version of
xfsprogs, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 804255@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nathan Scott <nathans@debian.org> (supplier of updated xfsprogs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 23 Nov 2015 15:22:56 +1100
Source: xfsprogs
Binary: xfsprogs xfslibs-dev xfsprogs-udeb
Architecture: source amd64
Version: 4.3.0
Distribution: unstable
Urgency: low
Maintainer: XFS Development Team <xfs@oss.sgi.com>
Changed-By: Nathan Scott <nathans@debian.org>
Description:
 xfslibs-dev - XFS filesystem-specific static libraries and headers
 xfsprogs   - Utilities for managing the XFS filesystem
 xfsprogs-udeb - A stripped-down version of xfsprogs, for debian-installer (udeb)
Closes: 804255
Changes:
 xfsprogs (4.3.0) unstable; urgency=low
 .
   * New upstream release
   * Add a postinst to update the initramfs on install/upgrade.
     (Closes: #804255)
Checksums-Sha1:
 31064221f22a5b20c731e9e3710bf1d6de759341 1763 xfsprogs_4.3.0.dsc
 cc5e4c06f537de9b9903b29f761c1b7534876b17 1506750 xfsprogs_4.3.0.tar.gz
 003e83012c59d84ca33850c1d29b59034397bda9 55212 xfslibs-dev_4.3.0_amd64.deb
 379252c78d7eb0dd643f0d136e7db13eabd548bc 134808 xfsprogs-udeb_4.3.0_amd64.udeb
 270c3c737ffe7916d9b230e75415a05b46857928 727106 xfsprogs_4.3.0_amd64.deb
Checksums-Sha256:
 84daf22e23b846ea319a1707d0b79eb2b61f869531ce27d2cfd42e716cf8265a 1763 xfsprogs_4.3.0.dsc
 a914e45648e04d211304ffd9fadba919be9d66010ec7b19dffad356c8cbf969e 1506750 xfsprogs_4.3.0.tar.gz
 233aae38eead8db27346dccd560d7eef1ab5c976df2495f5643a20975223f805 55212 xfslibs-dev_4.3.0_amd64.deb
 c8e540fce739a617fd2ff7b8e4a8e86d0cfb27a25fa50b04c3ac21dc5bc0ae64 134808 xfsprogs-udeb_4.3.0_amd64.udeb
 d8cfef3519c98be8e999b1537b6eb57b8b7925a2715b7cc3a7c55d5e642e3a01 727106 xfsprogs_4.3.0_amd64.deb
Files:
 fc99694150b586161106823f245bea72 1763 admin optional xfsprogs_4.3.0.dsc
 2a6d2918d8a8a89e6816e0476aa3f316 1506750 admin optional xfsprogs_4.3.0.tar.gz
 4a1dd6248c49586edd2081c5c58f1992 55212 libdevel extra xfslibs-dev_4.3.0_amd64.deb
 16394c61c03586daba2fc87f68ad386f 134808 debian-installer optional xfsprogs-udeb_4.3.0_amd64.udeb
 215fad11dceaeea00cffa2ccabefac2b 727106 admin optional xfsprogs_4.3.0_amd64.deb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWV6TdAAoJEP4IQu423YwMF4kP/1CNyghG5Q1Fk3x2P1FUxx5N
4VaANMpUHRTAuPi0r2dRPQehKqeSfnhgMEzREx44eJOS1SgRcwfu6Cls2Hzv9jn0
/pbqVRe3b7Enovb1UQ9Ibfbo3JdqbgYhkEwFCtO4drgYPilT3+Lv9dtTp4WrfEtq
zOosPYTU+rsidGkEnLdIojL3yIBxsEVjpOWst3LZKzfpE9Ei8xrELApGYB31+cOT
gSWHdlP1C+x6rtAj0lHHvl5MXn/4izRwUsPSKNNqtthp1fcvRcfhXCYpxlpTvmjM
YnfOOkYhH3k1zi4QzdpsFJOWlF5QgwoJPy575+v9v1PpN4rov+re4/dbbdwjG+nR
/inX+wfw+3NxN9jzD6S6kLQh5oPwGbhQgsaSqwkNd4XqpAbRCyX3LvoYTUOgpsPW
yRP3XlJ0nnoFGSBlcltOAQvVIE7fPCebpE2hcO5B4gvVb5O0VRH+N0YxcavwjpPU
pG8uqBixzqEvhL+uXZv1MfZMK9WWB912KhK/fErMP5tty/ln+j/eLJ7bBha54MYE
G0FU2YprwVp3JBy9GWTmgn7Id4CWftFNYQgEcW/nu/zpXDhmtUor8rdLrbVivnKW
8IcB7SXyN9JMckLhozncOsPmvlS7XKUTKdHB5jvAfRdgioGt+ofwPZRROtqOuYbg
P4sV4o6ipK7CyrpzHswD
=d896
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 04 Jan 2016 07:28:45 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Oct 11 06:58:31 2017; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.