Fix/mount helper - #136
Open
jazzl0ver wants to merge 487 commits into
Open
Conversation
This reverts commit 8d5b8cf.
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)
(cherry picked from commit d64dcf0)
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
This reverts commit c0dd396.
(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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix for https://forums.urbackup.org/t/cant-mount-image/17017