Bug#1014662: cloud-initramfs-growroot: Initramfs hook does not include `flock` command
severity 1014662 important thanks Note: I'm restoring the original severity because Martin Pitt says in #1027050 that the fatal failure is due to wait-for-root, not flock. (However, I could not imagine an upload fixing #1027050 which would not fix this one in the same upload as well). Thanks.
Bug#1014662: cloud-initramfs-growroot: Initramfs hook does not include `flock` command
El 17/2/23 a las 22:57, Ross Vandegrift escribió: On Fri, Feb 17, 2023 at 09:54:08PM +0100, Santiago Vila wrote: After applying the suggested patch, the reported error does not show anymore. Instead, I get this: /scripts/local-bottom/growroot: line 97: wait-for-root: not found Where does this "wait-for-root" come from? I can't find it in any package. There's a relevant MR in salsa: https://salsa.debian.org/cloud-team/cloud-initramfs-tools/-/merge_requests/2 Would you mind testing the patch there? Yes, I confirm that your patch works. Thanks a lot! I don't know how widely used this package is. It's used by Hetzner, which has a lot of customers (I'm one of them). Without a fix for this, they will be unable to offer images for Debian 12 which actually work (people will wonder why instances with 80 GB of disk appear to have only 20 GB). Thanks.
Bug#1014662: cloud-initramfs-growroot: Initramfs hook does not include `flock` command
On Fri, Feb 17, 2023 at 09:54:08PM +0100, Santiago Vila wrote: > After applying the suggested patch, the reported error > does not show anymore. > > Instead, I get this: > > /scripts/local-bottom/growroot: line 97: wait-for-root: not found > > Where does this "wait-for-root" come from? > I can't find it in any package. There's a relevant MR in salsa: https://salsa.debian.org/cloud-team/cloud-initramfs-tools/-/merge_requests/2 Would you mind testing the patch there? I don't know how widely used this package is. Thanks, Ross
Bug#1014662: cloud-initramfs-growroot: Initramfs hook does not include `flock` command
Given that upstream changes to this package haven't been integrated in years and this bug being pretty limiting to users, Mobian moved to systemd-repart. If it's possible for you I might recommend the same solution. Our experience has been that once implemented it is far more reliable. The switch can be seen at https://salsa.debian.org/Mobian-team/mobian-recipes/-/merge_requests/67/diffs Key parts: 1. Partitions need to be GPT 2. Partitions being resized need a specific "parttype" UUID configured on them. 3. A simple config file needs to be installed in /etc/repart.d.
Bug#1014662: cloud-initramfs-growroot: Initramfs hook does not include `flock` command
After applying the suggested patch, the reported error does not show anymore. Instead, I get this: /scripts/local-bottom/growroot: line 97: wait-for-root: not found Where does this "wait-for-root" come from? I can't find it in any package. Thanks.