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

Bug#1037914: cloud-initramfs-growroot: missing dependencies in initramfs



Package: cloud-initramfs-growroot
Control: severity -1 grave

hi,

I am seeing the same issue on my systems after debian12 upgrade and found that
either declaring the dependency with copy_exec or installing busybox fixes this
issue.
Raising severity.

Regards,
 Tamás

On Wed, Jun 14, 2023 at 09:38:06AM +0000, ZHANG, Yuntian wrote:
> Package: cloud-initramfs-growroot
> Version: 0.18.debian13
> Severity: important
> X-Debbugs-Cc: yt@radxa.com
> 
> Dear Maintainer,
> 
> cloud-initramfs-growroot was working for our custom Debian 11 system,
> but when we created the Debian 12 system, the following errors were
> observed during booting:
> 
> GROWROOT: /sbin/growpart: 824: /sbin/growpart: grep: not found
> /sbin/growpart: 853: /sbin/growpart: sed: not found
> WARN: unknown label 
> /sbin/growpart: 354: /sbin/growpart: sed: not found
> FAILED: sed failed on dump output
> /sbin/growpart: 83: /sbin/growpart: rm: not found
> 
> Needless to say the root partition was not grown. We had to add
> following lines to get it working again:
> 
> # in /usr/share/initramfs-tools/hooks/growroot:
> copy_exec /usr/bin/grep /bin
> copy_exec /usr/bin/sed /bin
> copy_exec /usr/bin/rm /bin
> copy_exec /usr/bin/awk /bin
> 
> -- System Information:
> Debian Release: 12.0
>   APT prefers stable-security
>   APT policy: (500, 'stable-security'), (500, 'stable')
> Architecture: arm64 (aarch64)
> 
> Kernel: Linux 6.1.33-1-stable (SMP w/6 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_CRAP
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages cloud-initramfs-growroot depends on:
> ii  cloud-utils      0.33-1
> ii  fdisk            2.38.1-5+b1
> ii  initramfs-tools  0.142
> ii  util-linux       2.38.1-5+b1
> 
> cloud-initramfs-growroot recommends no packages.
> 
> cloud-initramfs-growroot suggests no packages.
> 
> -- no debconf information
> 

-- 


Reply to: