Skip to content

Fix/mount helper - #136

Open
jazzl0ver wants to merge 487 commits into
uroni:devfrom
jazzl0ver:fix/mount_helper
Open

Fix/mount helper#136
jazzl0ver wants to merge 487 commits into
uroni:devfrom
jazzl0ver:fix/mount_helper

Conversation

@jazzl0ver

Copy link
Copy Markdown

uroni added 30 commits February 26, 2023 00:20
Fix settings save with multiple server addresses

(cherry picked from commit ae7b613)
Change fallback path to /usr/lib/systemd for unit dir

(cherry picked from commit 941a913)
Fix path creation in dattobd_remove_snapshot

(cherry picked from commit c0fab5c)
(cherry picked from commit c644b8f05c1e33edef3b3976119ccaefc5183d6b)
(cherry picked from commit 71ceadd300083f9526547ce24bbcec240391d98c)

# Conflicts:
#	logrotate_urbackupsrv
(cherry picked from commit 97f4d8d9a79ba73f8c9901cdaf01016c4947a68d)
(cherry picked from commit 65ae3543c5f385c47f39d5670d0317d8a69755f0)
(cherry picked from commit 915eecd8ab00a5d991f52770752e94ba25be5e9b)
(cherry picked from commit 8e84fe7)
(cherry picked from commit 17e419caef50320e4c740d4f56012874596b731d)

# Conflicts:
#	Database.cpp
(cherry picked from commit b7d5dec)

# Conflicts:
#	Database.cpp
uroni and others added 30 commits March 12, 2026 11:34
(cherry picked from commit 665ca425bc074ae5e91eab23d6f2d9b4ea0e5269)
(cherry picked from commit 09b8cb2bb09f6807acc38a92f761edd0cd4704a7)
(cherry picked from commit 6675e32f12912e1d0f6230815ff447048ba15543)
(cherry picked from commit e488fadfc67e0265aa3fba226fb5e346b4fd8857)

# Conflicts:
#	Database.cpp
(cherry picked from commit 5bc170df8544c114671a406599a2d337e06f9d92)

# Conflicts:
#	Database.cpp
Preserve libguestfs-related environment variables when spawning child
processes from mount_helper, so systemd-provided settings such as
LIBGUESTFS_BACKEND=direct are not dropped.

For VHD/VHDZ images, avoid the guestmount device-export path
(-t device --guestmount), which can fail with FUSE permission errors on
device*/volume. Mount the image directly through mount-vhd instead.

Also make mountpoint preparation more robust by cleaning stale FUSE
mountpoints and treating existing directories correctly, avoiding failures
on leftover contents*/device* paths after previous failed mount attempts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants