Bug 28791 - qt-fsarchiver on Mageia 8
Summary: qt-fsarchiver on Mageia 8
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard:
Keywords: feedback
: 30209 (view as bug list)
Depends on:
Blocks: 30163
  Show dependency treegraph
 
Reported: 2021-04-16 19:25 CEST by Pierre Fernandés
Modified: 2022-11-22 23:40 CET (History)
9 users (show)

See Also:
Source RPM: qt-fsarchiver-0.8.5.18-3.mga8.src.rpm
CVE:
Status comment:


Attachments
working (dirty) qt-fsarchiver.spec (3.50 KB, text/x-rpm-spec)
2022-03-28 00:22 CEST, sturmvogel
Details
qt-fsarchiver-terminal.spec (2.22 KB, text/x-rpm-spec)
2022-03-28 01:12 CEST, sturmvogel
Details
qt-fsarchiver.spec (3.50 KB, text/x-rpm-spec)
2022-03-28 01:12 CEST, sturmvogel
Details
fsarchiver.spec (2 bytes, text/plain)
2022-03-28 01:15 CEST, sturmvogel
Details

Description Pierre Fernandés 2021-04-16 19:25:34 CEST
Description of problem:

Hello
After installing Magéia 8 qt-fs-archiver no longer works.
Having submitted this issue a moderator replied this:
You need at least one bug report on https://bugs.mageia.org
I do not know if it is the implementation of Mageia which is not good, the program which is fucked up or not adapted to Mageia.
And sent me this:

sh: line 1: /home//root/.local/share/.en.nfo: No such file or folder
sh: line 1: / usr / sbin / de: No such file or folder
chown: incorrect user: "/ root"
chmod: cannot access '/home//root/.config/qt-fsarchiver': No such file or folder
rm: cannot delete '/home//root/.config/qt-fsarchiver/pid.txt': No such file or folder
rm: cannot delete '/home//root/.config/qt-fsarchiver/pid.txt': No such file or folder

Hope this will correct the problem
Thank you
Pierre Fernandés 2021-04-16 19:28:16 CEST

Component: BuildSystem => RPM Packages
Version: unspecified => 8
Product: Infrastructure => Mageia

Jani Välimaa 2021-04-17 07:35:30 CEST

Assignee: sysadmin-bugs => bugsquad

Comment 1 Pierre Fernandés 2021-04-17 14:27:57 CEST
la discussion porte sur l'interface graphique qt-fsarchiver de Mageia 8
the discussion is about the Mageia 8 qt-fsarchiver GUI
Comment 2 Lewis Smith 2021-04-22 21:32:04 CEST
Thank you for the report.
> After installing Magéia 8 qt-fs-archiver no longer works
This is confusing. It implies that qt-fsarchiver used to work, but does not now. Is this a system upgraded from Mageia 7 to 8 ?
Or did you install Mageia 8 normally, then add the program?

I have just installed it (pulled in a lot of other stuff). Cannot find it in the Tools menu, so from the command line:
 $ qt-fsarchiver
[asks for user password]
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

[asks for SUDO password]
sh: line 1: /home//root/.local/share/.en.nfo: No such file or directory
sh: line 1: /usr/sbin/de: No such file or directory
chown: invalid user: ‘/root’
chmod: cannot access '/home//root/.config/qt-fsarchiver': No such file or directory

[then pops a small Note window saying: "The program qt-fsarchiver-terminal is not installed. You have to install this program additionally." OK that, it then shows the full GUI.]
rm: cannot remove '/home//root/.config/qt-fsarchiver/pid.txt': No such file or directory
rm: cannot remove '/home//root/.config/qt-fsarchiver/pid.txt': No such file or directory
[Exiting the GUI adds no further terminal O/P].

So is the complaint about these error messages, or that the program does not work? It does here, in spite of them.

CC: (none) => lewyssmith
Source RPM: (none) => qt-fsarchiver-0.8.5.18-3.mga8.src.rpm
Status: NEW => NEEDINFO

Aurelien Oudelet 2021-04-22 22:12:01 CEST

CC: (none) => ouaurelien
Summary: bug qt-fs-archiver on Mageia 8 => qt-fsarchiver on Mageia 8

Comment 3 David GEIGER 2021-04-23 06:46:24 CEST
This package is completely broken due to an upstream source wrong structure. For me this package should be removed from repo! I tried to fix it but without real success.

CC: (none) => geiger.david68210

Comment 4 Lewis Smith 2021-04-23 20:21:28 CEST
@Pierre
> is the complaint about these error messages,
> or that the program does not work?
Please reply, just so we know.
In the light of DavidG's comment above, this is likely to be closed 'wontfix'.
Can you sound out devs about removing it from Cauldron if it cannot reasonably be sorted?
Comment 5 Aurelien Oudelet 2021-04-30 17:20:02 CEST
Reporter, could you please reply to the previous question in comment 4? If you don't reply within two weeks from now, I will have to close this bug as WONTFIX. Thank you.

Keywords: (none) => NEEDINFO

Comment 6 Morgan Leijström 2021-05-01 10:48:41 CEST
I get same result as Lewis.

Yes, reporter: After the issues at launch, does it then execute OK? 

David G, do you think operating it propose any risk?
 If not I see no reason to drop it from mga8 repo.

 It seems to be a nifty program for people who prefer GUI.
 (i have only use fsarchiver from CLI)

CC: (none) => fri

Comment 7 Aurelien Oudelet 2021-05-08 14:51:27 CEST
systemd[1589]: Started Qt-Fsarchiver.
mai 08 14:36:20 localhost polkitd[933]: Operator of unix-session:c2 successfully authenticated as unix-user:aurelien to gain ONE-SHOT authorization for action org.fsarchiver.qt5 for unix-process:19333:44072 [/usr/bin/sh /usr/bin/qt-fsarchiver] (owned by unix-user:aurelien)
mai 08 14:36:20 localhost pkexec[19335]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
mai 08 14:36:20 localhost pkexec[19335]: aurelien: Executing command [USER=root] [TTY=unknown] [CWD=/home/aurelien] [COMMAND=/usr/sbin/qt-fsarchiver]
mai 08 14:36:20 localhost qt-fsarchiver[19335]: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
mai 08 14:36:21 localhost kernel: [drm:vmw_msg_ioctl [vmwgfx]] *ERROR* Failed to open channel.
mai 08 14:36:21 localhost kernel: [drm:vmw_msg_ioctl [vmwgfx]] *ERROR* Failed to open channel.
mai 08 14:36:30 localhost sudo[19372]:     root : HOST=localhost ; PWD=/root ; USER=root ; COMMAND=/bin/mkdir /temp1
mai 08 14:36:30 localhost sudo[19385]:     root : HOST=localhost ; PWD=/root ; USER=root ; COMMAND=/bin/rmdir /temp1
mai 08 14:36:31 localhost sudo[19393]:     root : HOST=localhost ; PWD=/root ; USER=root ; COMMAND=/bin/chown -R /root /home//root/.config/qt-fsarchiver
mai 08 14:36:31 localhost sudo[19403]:     root : HOST=localhost ; PWD=/root ; USER=root ; COMMAND=/bin/chmod 777 /home//root/.config/qt-fsarchiver

GUI seems to launch. It asks twice for root password or user password if member of wheel group.
It complains about missing qy-fsarchiver-terminal and ask user to install it.
Moreover, the gui is broken: it can't list existing partitions to save them.

Upstream https://github.com/DieterBaum/qt-fsarchiver is at version Version-0.8.5-21

Unsure if there is any improvements. Remark: upstream talks about Debian,Ubuntu, Linux-Mint, Suse and Fedora only for compatibility.

But according to:
(In reply to David GEIGER from comment #3)
> This package is completely broken due to an upstream source wrong structure.
> For me this package should be removed from repo! I tried to fix it but
> without real success.

We should remove this.

Status: NEEDINFO => NEW
Keywords: NEEDINFO => (none)
Assignee: bugsquad => geiger.david68210

Comment 8 Lewis Smith 2021-05-10 21:21:18 CEST
Thanks Aurélien for your discoveries.

qt-fsarchiver-0.8.5.18-3.mga8
> Upstream https://github.com/DieterBaum/qt-fsarchiver is at version
> Version-0.8.5-21
This looks worth a try if not painful.
But not if the reporter continues his silence re comment 2

> upstream talks about Debian,Ubuntu, Linux-Mint, Suse and Fedora only
> for compatibility
Suse & Fedora are both rpm based, and we tend to follow Fedora; so we should not rule it out.
Comment 9 Sohel Fares 2021-07-07 23:15:11 CEST
I have installed Mageia 8 as a new installation on one computer and on another as an upgrade from Mageia 7 and I encountered the same problem. The gui does not allow the selection of the partition to be saved or restored. Quite disappointing.

This an important program to be able to save and restore partition. Until fixed can someone at least provide a recipe on how to compile it from source? from sourceforge the recipe is not given for Mageia and the required components given for Fedora or Suse etc do not exist for Mageia.
Thanks

CC: (none) => sohel

Comment 10 Lewis Smith 2021-07-09 21:44:16 CEST
@DavidG (mindful of your comment 3)
Is it easy to try the latest version (comment 7)?

If it is, and it works (does not fail to list partitions) - bingo.
If it is easy to try, but it still does not work - give up.
Also give up (wontfix) if it is not easy to try the latest version.
Comment 11 Sohel Fares 2021-07-11 04:27:21 CEST
Why this application should be sacrificed (wontfix)? It is one of the most useful program to make images. Can you suggest a replacement as good? at the very least please provide a recipe to compile it as the components for the other distributions are not provided in the Mageia8 repositories.

(In reply to Lewis Smith from comment #10)
> @DavidG (mindful of your comment 3)
> Is it easy to try the latest version (comment 7)?
> 
> If it is, and it works (does not fail to list partitions) - bingo.
> If it is easy to try, but it still does not work - give up.
> Also give up (wontfix) if it is not easy to try the latest version.
Comment 12 Lewis Smith 2021-07-11 21:50:31 CEST
Sohel, it is not my decision about whether this program should be retained or dropped from Mageia 8.
Given its very specific references to Suse & Fedora (RPMs), how it ever got into our repositories is curious.

As for alternatives - I now wonder whether this qt-fsarchiver is the only one with a proper GUI. I thought Clonezilla had one, but it looks like a curses interface; and Partclone is command line. As is Fsarchiver itself.

Ping daviddavid :
> Upstream https://github.com/DieterBaum/qt-fsarchiver is at Version-0.8.5-21
Can we update to that - if only to try it ?
Comment 13 Lewis Smith 2022-03-27 20:45:00 CEST
*** Bug 30209 has been marked as a duplicate of this bug. ***

CC: (none) => herman.viaene

Comment 14 sturmvogel 2022-03-27 23:00:56 CEST
I built the actual qt-fsarchiver version 0.8.6-7 from upstream. I had to tweak the spec file a lot/little bit to get it compatible with the upstream version.

Findings:
- the message from bug 30209 that qt-fsarchiver-terminal is missing won't show up
- BUT: the main window still won't show any partitions

I did NOT rebuild fsarchiver. That means i used fsarchiver-0.8.5-2.mga8 together with my own qt-fsarchiver-0.8.6.7-1.mga8

Maybe the missing partitions could be related to our old fsarchiver package. I didn't try yet to build it.
Comment 15 sturmvogel 2022-03-27 23:17:17 CEST
Nope. I built fsarchiver 0.8.6 from upstream. The main window from qt-fsarchiver-0.8.6.7-1 still don't show the partitions.

Someone maybe try to build qt-fsarchiver-terminal as it should be required according https://sourceforge.net/p/qt-fsarchiver/code/ci/master/tree/
Comment 16 sturmvogel 2022-03-28 00:19:01 CEST
I tweaked our spec file for qt-fsarchiver a little bit more. The problem that no partitions show up in the window seems to be related to our own source files.

#Source1:            org.fsarchiver.qt5.policy
#Source2:            qt-fsarchiver.wrapper

After removing them (and roughly fiddling with the spec file), qt-fsarchiver-0.8.6.7-1.mga8 builds and the partitions show up properly in the main window.
Comment 17 sturmvogel 2022-03-28 00:22:23 CEST
Created attachment 13204 [details]
working (dirty) qt-fsarchiver.spec

Here my working (dirty) qt-fsarchiver.spec. Be aware that i didn't clean it up completely from debris of prior not working versions. I only commented them out.
Comment 18 sturmvogel 2022-03-28 01:12:06 CEST
Created attachment 13205 [details]
qt-fsarchiver-terminal.spec
Comment 19 sturmvogel 2022-03-28 01:12:48 CEST
Created attachment 13206 [details]
qt-fsarchiver.spec
sturmvogel 2022-03-28 01:15:09 CEST

Attachment 13206 is obsolete: 0 => 1

Comment 20 sturmvogel 2022-03-28 01:15:44 CEST
Created attachment 13207 [details]
fsarchiver.spec
sturmvogel 2022-03-28 01:27:14 CEST

Attachment 13207 is obsolete: 0 => 1

Comment 21 Herman Viaene 2022-03-28 09:24:31 CEST
@Lewis
I checked the latest archives I made and it's loger ago than I thought to remember. From the dates (June-ish 2020) I guess these have been made by and for M7 installations, so I've never used it with M8.
Comment 22 Herman Viaene 2022-03-28 09:25:10 CEST
loger=longer
Comment 23 Lewis Smith 2022-03-29 21:40:56 CEST
Great thanks to sturmvogel for the large amount of work to fix this problem.
Over to DavidG to formalise it.
If & when it get to core/updates_testing, will the bug followers please test it.

CC: lewyssmith => (none)

papoteur 2022-11-03 18:29:51 CET

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=31071

Lewis Smith 2022-11-03 21:11:45 CET

CC: (none) => lewyssmith

Comment 24 papoteur 2022-11-07 10:35:36 CET
qt-fsarchiver-0.8.6.7-1.1.mga8
qt-fsarchiver-terminal-0.8.6.7-1.1.mga8
sont maintenant dans les testing

CC: (none) => yves.brungard_mageia

Comment 25 Dave Hodgins 2022-11-07 16:19:12 CET
# urpmi qt-fsarchiver
A requested package cannot be installed:
qt-fsarchiver-0.8.6.7-1.1.mga8.x86_64 (due to unsatisfied ccrypt)

CC: (none) => davidwhodgins

Comment 26 papoteur 2022-11-08 14:02:58 CET
Hello,
I added ccrypt-1.11-1.mga8
papoteur 2022-11-08 14:03:41 CET

Assignee: geiger.david68210 => qa-bugs

Comment 27 Dave Hodgins 2022-11-08 16:35:01 CET
This is a nasty program.

I ran qt-fsarchiver in konsole after using "su -" to become root.
Despite already being root, it asked for the sudo password. After
entering it plasma failed and I was logged out. The journal shows ...

Nov 08 10:24:34 sudo[82540]:     root : HOST=x3.hodgins.homeip.net ; TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/mkdir /temp1
Nov 08 10:24:34 sudo[82557]:     root : HOST=x3.hodgins.homeip.net ; TTY=pts/0 ; PWD=/root ; USER=root ; COMMAND=/bin/rmdir /temp1
Nov 08 10:24:39 kdeinit5[2440]: kdeinit5: Fatal IO error: client killed
Nov 08 10:24:39 kdeinit5[2440]: kdeinit5: sending SIGHUP to children.
Nov 08 10:24:39 kdeinit5[2440]: kdeinit5: sending SIGTERM to children.
Nov 08 10:24:39 kdeinit5[2440]: kdeinit5: Exit.
Nov 08 10:24:39 xdg-desktop-por[2914]: xdg-desktop-portal-gtk: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Nov 08 10:24:39 login[1822]: pam_unix(login:session): session closed for user dave
Nov 08 10:24:39 org.gtk.vfs.Daemon[2768]: A connection to the bus can't be made
Nov 08 10:24:39 kaccess[2599]: The X11 connection broke (error 1). Did the X11 server die?
Nov 08 10:24:39 kglobalaccel5[2514]: The X11 connection broke (error 1). Did the X11 server die?
Nov 08 10:24:39 kactivitymanagerd[2491]: The X11 connection broke (error 1). Did the X11 server die?
Nov 08 10:24:39 systemd[1]: getty@tty1.service: Succeeded.
Nov 08 10:24:39 polkit-kde-authentication-agent-1[2605]: The X11 connection broke (error 1). Did the X11 server die?
Nov 08 10:24:39 synergys[2743]: Synergy 1.13.0: [2022-11-08T10:24:39] FATAL: X display has unexpectedly disconnected
Nov 08 10:24:39 pulseaudio[2621]: X connection to :0 broken (explicit kill or server shutdown).
Nov 08 10:24:39 gmenudbusmenuproxy[2617]: The X11 connection broke (error 1). Did the X11 server die?
Nov 08 10:24:39 python3[2726]: The X11 connection broke (error 1). Did the X11 server die?
Nov 08 10:24:39 redshift-gtk[3096]: redshift-gtk: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Nov 08 10:24:39 org.kde.KScreen[2671]: ICE default IO error handler doing an exit(), pid = 2671, errno = 0
Nov 08 10:24:39 polkitd[2475]: Unregistered Authentication Agent for unix-session:1 (system bus name :1.34, object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_CA.UTF-8) (disconnected from bus)
Nov 08 10:24:39 kiod5[3051]: The X11 connection broke (error 1). Did the X11 server die?
Nov 08 10:24:39 systemd[1]: getty@tty1.service: Scheduled restart job, restart counter is at 1.
Nov 08 10:24:39 systemd[1]: Stopped Getty on tty1.

Besides crashing X, the problems I see, is that it should be using pkexec like
other programs. It should not be running /bin/rmdir /temp1. Who knows what the
user may already have in /temp1. It should be using a non-predictable temp
file or directory.

Keywords: (none) => feedback

Comment 28 Herman Viaene 2022-11-08 17:16:53 CET
Trying to run under MATE, but I don't get anywhere with this version.
When I start qt-fsarchiver as root, then it complains it cann't be run as root and closes.
When I start qt-fsarchiver as my normal user, it asks for a sudo password, but I never do, or have done, or will allow sudo passwords. So usabililty of this thing is zero.
Comment 29 Dave Hodgins 2022-11-08 18:46:48 CET
It does have $ cat /usr/share/doc/qt-fsarchiver/README.urpmi
Important: This application needs that you have sudo configured for your user.

and from $ cat /usr/share/doc/qt-fsarchiver/Readme ...
For some distributions, the /etc/sudoers file must be completed with these lines:
username ALL=(ALL) ALL 
%sudo   ALL=(ALL:ALL) ALL
The username has to be adjusted: for example peter.

I'm more concerning with it killing X and everything else I had running,
returning me to the login prompt. I use run level 3 on this install, so
not only did it kill X, it killed getty, which systemd restarted.
It's also dangerous to use a fixed directory of /temp1 instead of generating
one using something like mktemp.

It has to be able to be run as root. After using "su -", programs such
as isodumper have no problem showing the gui. The only reason that it's
failing when using "su -" is that it has dangerous bugs.

Users running file system level utilities are going to expect to have to
run it as root.

Looking through the source, it's also using a temporary file in the
current directory called ".1", overwriting anything previously in that file.

This program should be removed from Mageia until it's file and password
handling can be fixed properly.
Dave Hodgins 2022-11-08 19:01:01 CET

Blocks: (none) => 30163

Comment 30 Dave Hodgins 2022-11-08 19:02:05 CET
Added to bug 30163 to be obsoleted
Comment 31 Dave Hodgins 2022-11-08 19:15:46 CET
Sysadmins, please remove qt-fsarchiver-0.8.6.7-1.1.mga8.src.rpm and
qt-fsarchiver-terminal-0.8.6.7-1.mga8.src.rpm from Mageia 8 core updates testing.
It's so badly written that it's dangerous for users that may try it.

Also please add qt-fsarchiver-0.8.5.18-3.mga8.src.rpm to task-obsolete for
Mageia 8.
Comment 32 Lewis Smith 2022-11-09 21:24:42 CET
(In reply to Herman Viaene from comment #28)
> When I start qt-fsarchiver as root, then it complains it cann't be run as
> root and closes.
> When I start qt-fsarchiver as my normal user, it asks for a sudo password,
> but I never do, or have done, or will allow sudo passwords. So usabililty of
> this thing is zero.
This is excessive. It is clearly usable with the caveats noted earlier, but not excusing them. Running as root seems to me more dangerous than sudo'ing.

(In reply to Aurelien Oudelet from comment #7)
> (In reply to David GEIGER from comment #3)
> > This package is completely broken due to an upstream source wrong structure.
> > For me this package should be removed from repo! I tried to fix it but
> > without real success.
> 
> We should remove this.

So we have been here before. Somebody noted somewhere that it was a nice package and worth having. But it looks beyond hope in its current state.
If it is ditched definitively, both this bug and bug 31071 should be closed 'wontfix' or 'invalid".
Comment 33 Dave Hodgins 2022-11-09 22:17:22 CET
The gui handling is nice. The underlying working parts of the system will fail
in many cases where names contain spaces, due to the use of unquoted variables
and may lead to cases where untrusted input causes the root run script to
interpret a user's file names as commands.

It does not warn the user not to backup file systems that are in use.
Recovering from a backup made while the filesystem is in use will lead to
data loss, if not an un bootable system.

The package is fine for people who already know how to safely do backups and
have no untrusted users on their systems.

It is not safe for people who don't understand the dangers of using dd to
backup/restore a running system, or who have users who are not trusted to
have root access. It should not be packaged for Mageia.

The bug report should be closed after the package has been added to
task-obsolete in cauldron, and preferably Mageia 8 too.
Comment 34 Dave Hodgins 2022-11-09 22:50:22 CET
(In reply to Lewis Smith from comment #32)
> This is excessive. It is clearly usable with the caveats noted earlier, but
> not excusing them. Running as root seems to me more dangerous than sudo'ing.

Just commenting on this part. The only difference between giving the user
sudo access to all commands and running as root is that with sudo, all
commands are logged. It isn't any safer.

The only reason the package will not allow itself to be run as root is that
the person who put that restriction in was using "su" instead of "su -" and
ran into problems handling .Xauthority
Comment 35 Sohel Fares 2022-11-09 23:31:42 CET
Hello,

This application worked fine on Mageia7 and earlier. Anybody compared what caused it to misbehave on Mageia8. If it can be restored to the same state despite all the safety considerations it is fine by me. If I had the software expertise I would have tried to fix it.  I am sorry to see applications broken as Mageia evolves. For now I am keeping a bootable version of Mageia7 from where I can use this program. 

In passing I do not see the big difference between su and sudo. Both when not used carefully can destroy the system. I never had any problem until now using either for the last 20 years. I was sorry to see applications like Dolphin where running it under su or sudo was removed.
Comment 36 papoteur 2022-11-20 08:40:33 CET
(In reply to Dave Hodgins from comment #33)
> The gui handling is nice. The underlying working parts of the system will
> fail
> in many cases where names contain spaces, due to the use of unquoted
> variables
> and may lead to cases where untrusted input causes the root run script to
> interpret a user's file names as commands.
> 
> It does not warn the user not to backup file systems that are in use.
> Recovering from a backup made while the filesystem is in use will lead to
> data loss, if not an un bootable system.
This is the more important reasons to withdraw the program. Every week, we have alerts on some security flaws and we have to apply correction to avoid them. This kind of security alert is often what we see for this program.
Comment 37 Sohel Fares 2022-11-20 18:08:16 CET
Can anyone tell me why qt-fsarchiver worked fine in Mageia 7 (and earlier) and stopped working on Mageia 8? All the security issues can be addressed if one is willing. This is the reason why all the OS systems issue updates. I am sorry to see the easy way out is to withdraw the program without at least to replace it by an equivalent. By the way the bug report was created because the program failed and not because of a security problem.
Comment 38 Dave Hodgins 2022-11-20 18:59:48 CET
It fails because it was never updated to work with newer versions of qt.
Comment 39 Sohel Fares 2022-11-22 04:15:32 CET
Here is the solution I found

Installation of qt-fsarchiver on Mageia8

Downloaded from Sourceforge: qt-fsarchiver released /rpm-packages/Suse/Suse-Leap-15-3,Leap-15-4/rpm/qt-fsarchiver-0.8.6_10-0.x86_64.rpm

First installation required ccrypt and failed. Program ccrypt was not available in the Mageia8 CCM repository so I downloaded and installed from https://ccrypt.sourceforge.net/ ccrypt-1.11-1.x86_64.rpm
The second qt-fsarchiver-0.8.6_10-0.x86_64.rpm installation was successful and the program started flawlessly after entering the sudo password.
I tested the program and I was able to produce the image file of one of my partitions.

I think it should be easy work to have this version of the program (qt-fsarchiver-0.8.6_10-0.x86_64.rpm) replace the flawed one in the Mageia8 repository
Comment 40 Lewis Smith 2022-11-22 21:14:27 CET
Thank you for all your work.

But does it resolve the issues recently found?
* Basic flaws in the program itself: comment 29, comment 33.
* Its behaviour when run as root: comment 28, comment 34.

I wonder whether the running as root business is that complicated. I have scripts which have to be run as root, which just check for UID 0, and give up if not. As far as I can tell, sudo gives that result. Could one not simply check for that, and if not, pop the current sudo password dialogue? And if you do not have sudo, you can just abandon.
Comment 41 Sohel Fares 2022-11-22 23:40:25 CET
I did some research. Initially I wanted to see if it could be run on Kubuntu. I eventually succeeded installing it on 22.04.with the *.deb installation file. I was only by accident I succeeded running it only once (still investigating). After that It rejected my sudo password pretending it is wrong. When I tried to running as root it complained that it must not be run as root. It wants to be run as simple user but needs a sudo password (or perhaps a root password (not available in Kubuntu)).

On Mageia8 once the installation done as described in comment 39 and run as user (not root) and once the sudo password entered everything was fine and the functionality available earlier were there plus more (compressing techniques). 

I think the version 0.8.6_10-0.x86_64 addresses most of the earlier issues but I am not a software specialist to confirm. To me as is, is all I want and need.

The issue of comment 28 is not addressed and the program requires a sudo or perhaps a root password. For me this is acceptable. For such users (that do not have a sudo password) I would recommand downloading the qt-fsarchiver iso file and burn it as live cd. No password is then required. A good tool to have if the system crashed.

From my point of view as installed on Mageia8 safety is ensured. The worse problem that may occur is if one attempts to retaure with the wrong image. But even then the  program gives a confirmation of what it about to do for one to check before committing.

For my own curiosity I would like to investigate why I have problems running it On Kubuntu 22.04. But this is not part of this bug investigating.

Finally perhaps someone else more knowledgeable can install and investigate it to cover all the concerns. But for me it is a wonderful tool I have been using for a long time and it would be a pity to discard it from Mageia.

Note You need to log in before you can comment on or make changes to this bug.