FS#79881 - [clonezilla] Cannot mount a ssh server

Attached to Project: Arch Linux
Opened by Timothée (timothee) - Saturday, 07 October 2023, 10:47 GMT
Last edited by Jonathan Steel (jsteel) - Monday, 09 October 2023, 16:11 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jonathan Steel (jsteel)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: We cannot use SSH server for mount Clonezilla image directory.


Additional info:
* package version(s) : 3.35.2-5
* log on console :

(base) [timothee@arch-game ~]$ sudo clonezilla
grep: warning: stray \ before /
grep: warning: stray \ before /
Clonezilla mode is device-image
ocsroot device is ssh_server
Network is already configured! Available IP address on this machine: 192.168.1.8
Preparing the mount point /home/partimag...
Mounting remote directory on ssh server as /home/partimag...
SSH server is: 127.0.0.1
SSH port on server is: 22
SSH account in 127.0.0.1 is: timothee
sshfs dir in /home/partimag is: /home/partimag
Mounting SSH server by:
LC_ALL=C sshfs "timothee"@127.0.0.1:"/home/partimag" /home/partimag -p 22 -o nonempty,noatime
fuse: unknown option(s): `-o nonempty'
*****************************************************.
Unable to mount resource as /home/partimag. Do you want to do it again?
[Y/n]

* link to upstream bug report, if any : https://gitlab.com/stevenshiau/clonezilla/-/issues/61

Steps to reproduce:

Lauch clonezilla with this command : sudo clonezilla
After choose this follow options : device-image -> ssh_server -> (choose IP) -> (choose port) -> (choose account) -> (choose path) -> (confirm)
After that, clonezilla crash and display in the console the message as I previous paste below.
This task depends upon

Closed by  Jonathan Steel (jsteel)
Monday, 09 October 2023, 16:11 GMT
Reason for closing:  Upstream
Comment by Toolybird (Toolybird) - Sunday, 08 October 2023, 00:04 GMT
Arch is using the upstream stable release. Please request upstream to make a new stable release that includes the fix. This is not an Arch packaging issue [1].

In the meanwhile, it appears to be all bash scripts, so you could probably edit out the offending parameter yourself quite easily.

[1] https://wiki.archlinux.org/title/Bug_reporting_guidelines#Upstream_or_Arch%3F
Comment by Timothée (timothee) - Sunday, 08 October 2023, 20:44 GMT
Upstream move to github (https://github.com/stevenshiau/clonezilla/tags) and the current link in the PKGBUILD is not update anymore.
Comment by Toolybird (Toolybird) - Sunday, 08 October 2023, 20:51 GMT
Upstream release management seems to be a total mess. The website links point to [1] which suggests latest stable is 3.35.2 (as per Arch). I also found this [2] which is even more confusing. Fedora don't package it. Debian seems to be on the latest [3]

We should probably update to the GitHub sources and forget about the website info which appears to be woefully out of date.

[1] https://free.nchc.org.tw/drbl-core/src/
[2] https://github.com/stevenshiau/clonezilla/issues/89
[3] https://packages.debian.org/sid/clonezilla
Comment by Timothée (timothee) - Sunday, 08 October 2023, 21:16 GMT
> Upstream release management seems to be a total mess.
I totally agree :D

In this page on the website (https://clonezilla.org/related-links/) point to their github repository (and gitlab too).

I test with the last stable version (5.5.12), it's work and fix the previous bug.
Comment by Jonathan Steel (jsteel) - Monday, 09 October 2023, 16:10 GMT
You link to Debian unstable using Clonezilla unstable, I don't understand your point. I also don't find point 2 confusing at all. We are currently using their stable release, please direct your wish for a new release upstream.

Loading...