[pbs-devel] applied: [PATCH proxmox-backup-restore-image] fix #4477: init: symlink busybox binaries on init

Thomas Lamprecht t.lamprecht at proxmox.com
Wed May 17 11:34:09 CEST 2023


Am 20/04/2023 um 14:53 schrieb Max Carrara:
> This change makes Busybox symbolically link its inbuilt utils to their
> respective locations, allowing them to be invoked through their
> absolute path. This means that Busybox inbuilts like e.g. `mount`
> and `env` become available at `/bin/mount` and `/usr/bin/env` etc.
> 
> In particular, when entering any of the snapshot directories in
> `.zfs/snapshot` (e.g. via `cd` or `ls`), ZFS normally mounts the
> respective snapshot(s) on demand, using `/usr/bin/env mount [...]`
> internally. Before this change, this would fail, rendering ZFS
> snapshots unavailable when restoring individual files.
> 
> Signed-off-by: Max Carrara <m.carrara at proxmox.com>
> ---
>  src/init-shim-rs/src/main.rs | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
>

applied, thanks!





More information about the pbs-devel mailing list