-
-
Notifications
You must be signed in to change notification settings - Fork 269
automatically load fuse kernel module for sshfs #905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
automatically load fuse kernel module for sshfs #905
Conversation
…as it is already done for ftpfs cf. issue845
|
@gdha For the reason behind see the < BACKUP_URL=sshfs://sambasave@10.2.3.4/home/sambasave/Backup > MODULES_LOAD=( vmxnet vmxnet3 e1000e e1000 fuse hpsa ) ... > When I ty to recover I get a message like : > "can't load FUSEFS please load the fuse module" ... In particular regarding loading the fuse kernel module automatically (regardless of MODULES_LOAD) when BACKUP_URL=sshfs://... I assume the mount_url() function in usr/share/rear/lib/global-functions.sh needs to be enhanced for sshfs in the same way as I implemented it for the ftpfs case, cf. https://github.com/rear/rear/issues/845 and https://github.com/rear/rear/pull/859 |
|
@jsmeix I prefer to make a generic solution instead of a protocol by protocol fix, by fixing it in |
…ted, so that we always load the modules listed in /etc/modules (set by MODULES_LOAD) Issue #905
|
@jsmeix I think you can close the pull request as I made a generic fix? |
|
@gdha Regardless that the generic fix does not yet work for me Nevertheless as a temporary band-aid I merge my When the generic fix actually works I will remove only |
|
I found out that in practice one cannot omit # grep -v ^# etc/rear/local.conf OUTPUT=ISO BACKUP=NETFS BACKUP_OPTIONS="nfsvers=3,nolock" BACKUP_URL=ftpfs://johannes@10.160.4.244/rear ... # usr/sbin/rear -d -D mkbackup Relax-and-Recover 1.18 / Git Using log file: /root/rear/var/log/rear/rear-f121.log ERROR: Mount command 'curlftpfs --verbose -o user='johannes' ftp://10.160.4.244/rear /tmp/rear.aFr3j7dXQcBGKFg/outputfs' failed. Aborting due to an error, check /root/rear/var/log/rear/rear-f121.log for details Terminated I.e. the generic fix in #909 Because the additional "modprobe fuse" don't hurt |
automatically load fuse kernel module also for sshfs
in the same way as it is already done for ftpfs
cf. issue845