[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1027050: marked as done (growing image fails to boot: /scripts/local-bottom/growroot: line 97: wait-for-root: not found)



Your message dated Sat, 18 Feb 2023 17:51:27 +0000
with message-id <E1pTRMt-009WoF-Pp@fasolo.debian.org>
and subject line Bug#1027050: fixed in cloud-initramfs-tools 0.18.debian12
has caused the Debian Bug report #1027050,
regarding growing image fails to boot: /scripts/local-bottom/growroot: line 97: wait-for-root: not found
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1027050: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027050
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cloud-initramfs-growroot
Version: 0.18.debian11
Severity: important

In our CI we recently tried to refresh our Debian testing image [1], which
exposed a regression: Trying to resize the image with

    qemu-resize <img> 20G

leads to a boot failure:

    Begin: Running /scripts/init-premount ... done.
    Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
    Begin: Running /scripts/local-premount ... done.
    Begin: Will now check root file system ... fsck from util-linux 2.38.1
    [/sbin/fsck.ext4 (1) -- /dev/vda1] fsck.ext4 -a -C0 /dev/vda1
    /dev/vda1: clean, 118601/647168 files, 1027851/2588667 blocks
    done.
    [    1.064055] EXT4-fs (vda1): mounted filesystem with ordered data mode. Quota mode: none.
    done.
    Begin: Running /scripts/local-bottom ... [    1.086933] EXT4-fs (vda1): unmounting filesystem.
    GROWROOT: WARNING: resize failed: failed [flock:127] flock -x 9
    /sbin/growpart: line 714: flock: not found
    FAILED: Error while obtaining exclusive lock on /dev/vda
    [    1.114862] GPT:Primary header thinks Alt. header is not at the end of the disk.
    [    1.115544] GPT:20971519 != 41943039
    [    1.115927] GPT:Alternate GPT header not at the end of the disk.
    [    1.116488] GPT:20971519 != 41943039
    [    1.116806] GPT: Use GNU Parted to correct GPT errors.
    [    1.117273]  vda: vda1 vda14 vda15
    /scripts/local-bottom/growroot: line 97: wait-for-root: not found
    done.
    Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
    mount: mounting /dev on /root/dev failed: No such file or directory
    done.
    mount: mounting /run on /root/run failed: No such file or directory
    BusyBox v1.35.0 (Debian 1:1.35.0-4) multi-call binary.

    Usage: run-init [-d CAP,CAP...] [-n] [-c CONSOLE_DEV] NEW_ROOT NEW_INIT [ARGS]
    [...]

and it lands in the (initramfs) interactive prompt. Pressing Enter then just
quickly fails to boot:

    (initramfs)
    mount: mounting /sys on /root/sys failed: No such file or directory
    mount: mounting /proc on /root/proc failed: No such file or directory
    /init: line 331: can't open /root/dev/console: no such file
    [   10.166875] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100

The "flock: not found" is #1014662, but that is already present in our current
image with cloud-initramfs-tools 0.18.debian8, and does not seem fatal. So far
the "wait-for-root: not found" seems to be the culprit?

The image build log [2] has a list of all package changes at the bottom. This
includes the kernel (6.0.10-2 -> 6.0.12-1) and two handful of other packages,
but the single one that stands out is

      cloud-initramfs-tools (0.18.debian8 -> 0.18.debian11)

Thanks,

Martin

[1] https://github.com/cockpit-project/bots/pull/4189
[2] https://cockpit-logs.us-east-1.linodeobjects.com/image-refresh-logs/debian-testing-20221220-225656.log

--- End Message ---
--- Begin Message ---
Source: cloud-initramfs-tools
Source-Version: 0.18.debian12
Done: Thomas Goirand <zigo@debian.org>

We believe that the bug you reported is fixed in the latest version of
cloud-initramfs-tools, 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 1027050@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <zigo@debian.org> (supplier of updated cloud-initramfs-tools 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: Sat, 18 Feb 2023 18:17:24 +0100
Source: cloud-initramfs-tools
Architecture: source
Version: 0.18.debian12
Distribution: unstable
Urgency: medium
Maintainer: Debian Cloud <debian-cloud@lists.debian.org>
Changed-By: Thomas Goirand <zigo@debian.org>
Closes: 1014662 1027050
Changes:
 cloud-initramfs-tools (0.18.debian12) unstable; urgency=medium
 .
   [ Martin Pitt ]
   * Fix:growroot remount root failed (Closes: #1027050).
 .
   [ Santiago Vila ]
   * growroot/hooks/growroot: Add copy_exec /usr/bin/flock /bin.
     (Closes: #1014662)
Checksums-Sha1:
 13ad8a5d5e3bc926241b777280e7f6ab2742cc79 2032 cloud-initramfs-tools_0.18.debian12.dsc
 780d047921090395b2c4a872d893825ec4862731 33776 cloud-initramfs-tools_0.18.debian12.tar.xz
 c2e1b7ba754f52eb7db5d9dc5f406b86a91f5424 7258 cloud-initramfs-tools_0.18.debian12_amd64.buildinfo
Checksums-Sha256:
 5e5a9003990096e75d3feb0df0de86b29c9c5487a984cdde27cb547e5796280e 2032 cloud-initramfs-tools_0.18.debian12.dsc
 abf79755e11b1ab11f503e992f7d5cd8d2e3a4d85e1cae83826149cfefb0be0f 33776 cloud-initramfs-tools_0.18.debian12.tar.xz
 027763a3c3b6b01f6e6120d865c29de0e1e46232f538893c16fa4bdcc75ffb84 7258 cloud-initramfs-tools_0.18.debian12_amd64.buildinfo
Files:
 9e1369ee73ff13bfe7c7bc3caa23eb2f 2032 admin optional cloud-initramfs-tools_0.18.debian12.dsc
 a9fae575580f07c5f83c3d93b625dfc2 33776 admin optional cloud-initramfs-tools_0.18.debian12.tar.xz
 aea4a0ae99a0c0c6e0a6ca71f4da1bd1 7258 admin optional cloud-initramfs-tools_0.18.debian12_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmPxChcACgkQ1BatFaxr
Q/6E+w/+LmxwEOS6yYuhl8vFjOafv1/ZzkUtfZKxhA0ZQpH0nuJH0UI/Qz9rCUx1
xSgSr5RbCIVYP17Bl27TURVTXb0IMDXgWqBBEpLvzyzJjA6R0rbkcq1FSZOSpIAR
LBmK5hlKQuJT54o1G1VLRXWVEks7mgNyheh1D+wBG2k38pUWCy8Sa5OU2LuZ86k+
URp70rhPTF5iS3nO935So80+gKOhnjssK4bXvLmKZvVK9bDETBtZY93j0qM5pL5b
1fcPKvIF/PWGADPWkL4J4X/riOFlIlplYKMV7cYTHS0EXTltPDwfdMVCGFb8CXe2
4I/b21osRxO+tvIswcd4mlJGw8KwC3E3T/8E6FFowiQ+hzOTp2jQUYUU0SoXZ+84
QFAcQUbP3aFhV/EuxZks7aaVTbznLPTBmL5fHE44p9BijmbPNIurKzXf06bvji+K
pXhAPk/1lBzMnEhP+oGCYg0EbI9vkwL836B2T594snuHYU4rFN9TpqrVExCzJM0l
DFmRfy2GWRbH9Kf/6NkfOgfmlgYHAFQn4eXvbqBlocY+gtDch/RpylpU1zv4atMo
7X/ypk7pimcxuLOb7AtA8ds8Okr9DhZePBEhaCSeS3V4SE2/kg7iWNJOddbBMXsR
03GhtAnixcTslLWiwtrrGHYTt6/mAwX+sMMBgQCMvIeSoDjfe1M=
=3Zvd
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: