-
Notifications
You must be signed in to change notification settings - Fork 15
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
0.6.2 Linux Debian 11 - "The swap daemon has stopped unexpectedly" - read only FS (/tmp/...) #209
Comments
We're looking into it. Thanks for the report! |
@Einliterflasche Can you to reproduce this on your linux machine? |
I have the same issue with the AppImage version 0.6.3 on Tails Linux (debian based) and on Endeavour Linux (arch based) running the AppImage as a normal non-root user. This are the permissions the AppImage got in the /tmp/ directory:
This are the permissions in the directory the AppImage created in the /tmp/ location:
|
After I looked a bit more into the issue, it seems that some of the errors are missleading. Permission error when running chmodThe following errors seem not to be an issue and should not produce an error:
Reason for this is, that AppImages always get mounted as read-only filesystems under /tmp and because of this, it will never be possible to change the permissions of the executables in the AppImage. Looking at the permissions by mounting the AppImage, we can see that the binaries (0_13_4_swap and tor) are already executable and this "chmod" step could be skipped:
To solve this a check could be implemented, which looks if those binaries already have the exectuable bit set before trying to make them executable. kill error of monero-wallet-rpcThe following error gets produced because of a missing argument when calling
When using To solve this using the current code, it should look like the following (but there is a cleaner way to do this, please see the next example):
Cleaner example:
|
Thank you for the write up. I'll look into it. To clarify, these errors should not prevent the GUI from being used. The GUI should still function correctly. The daemon should still start correctly. Is that the case for you? |
Yes, the GUI and the swap daemon starts and can be used but the tor daemon can't be started.
|
OP here. After upgrading Debian 11 to Debian 12 and getting latest v0.6.4 .deb file from https://api.github.com/repos/UnstoppableSwap/unstoppableswap-gui/releases/latest I no longer have the issue I have reported here... |
Expected Behavior
Start without error
Current Behavior
Inside GUI right after start it shows "The swap daemon has stopped unexpectedly"
Inside CLI it shows:
running stat command on /tmp, it shows: Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root)
i am running the AppImage under regular user
grep tmp /etc/fstab # empty output
AppImage stat:
Access: (0755/-rwxr-xr-x) Uid: ( 1000/ user) Gid: ( 1000/ user)
sudo /home/user/Downloads/UnstoppableSwap-0.6.2.AppImage --no-sandbox # issue remains
Other apps works per "mount" output:
feather-wallet.AppImage on /tmp/.mount_featheXGLiOE type fuse.feather-wallet.AppImage (ro,nosuid,nodev,relatime,user_id=1000,group_id=1000)
.deb version of the US has similar issue:
Your Environment
The text was updated successfully, but these errors were encountered: