-
Notifications
You must be signed in to change notification settings - Fork 89
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
Browser profile gets corrupted with eCryptFS #158
Comments
Interesting... I am not expert with encryption. How are you doing it? LUKS? Can you try it without overlayfs to rule out something there?
Also, is your group ID really 1001? Can you post the output of |
Indeed after disabling overlayfs everything looks good. Someone should file a bug report for overlayfs ;)
|
Now, can you repeat the 8 steps above except re-enable overlayfs? Show that this is in fact reproducible. If it is, I'm not sure how or why the encryption you're using would mess up overlayfs. Can you provide more details about your encryption? |
Yes, it is reproducible.
For encrypting my home folder I followed the steps in the Arch Wiki: |
Thank you for repeating to verify. I will have to re-create your encrypted setup to troubleshoot further. Can you verify that the problem is true with another browser as well? This would help to rule out something specific to qupzilla and suggest something in the psd process is breaking with this particular type of encryption. |
As written in the initial bug report I also confirmed The issue with
Google Chrome so it's not qupzilla specific.
|
Sorry, missed that. That implies the latter from my previous comment. I will need to spin up a VM with your setup. I cannot currently commit to this given lack of free time but I will keep this open. |
I don't know if it will help, but I have same experience. I'm on Debian Testing and it started yesterday, after update to 4.5.0-1 kernel. I also have |
Isn't it possible that you have btrfs as you filesystem? I had huge problems with profile-sync-daemon and overlayfs on btrfs. |
I have whole system on btrfs and tried to use psd with overlayfs. It took me about 30 computer freezes :D and corrupted disk before I find out that only thing that I changed (beside of new laptop) was overlayfs in psd :) You can find some info in https://bugzilla.redhat.com/show_bug.cgi?id=1255512 I'm not sure if this was already resolved in upstream, but it seams not. And if yes, it will take long time before everybody will have new kernel. I think warning would be great and maybe check in psd even better, because it is probably easy to check if btrfs is present on filesystem where you are using overlayfs. Sorry for not reporting this earlier, It happend to me about 2 months ago but I had so many problems with skylake and freezes that I completely forgot about this issue. |
I tried btrfs a while ago and lost data withit on a non-graceful reboot. Never again. |
Is this a Fedora-only bug? |
From my side at the time when I experienced this issue I didn't habe btrfs, Am 20.08.2016 12:47 schrieb "graysky" [email protected]:
|
@graysky2 no, I have Debian. Its probably problem in brfs itself. But It apparently doesn't have to be connected to original problem reported here as at least slaecker doesn't have btrfs. Probably better to open new issue for it. |
Got my profiles wiped today upon first psd run on Ubuntu Xenial with eCryptfs home. psd failed to create any backups (shouldn't it do them before applying overlayFs, which seems to be culprit here). System info: Linux xps 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 Profile-sync-daemon v6.23 on Ubuntu 16.04.1 LTS Sep 23 19:58:55 xps systemd[1561]: Reloading. Once Firefox (or Chrome) was started, it crashed immediately: Sep 23 20:00:02 xps kernel: [211576.693936] BUG: unable to handle kernel NULL pointer dereference at 0000000000000030 Rsync has also crashed (and that apparently wiped profile files), but psd received successful status: Sep 23 20:01:24 xps kernel: [211659.426569] Code: c2 e0 03 1d 82 49 89 cd 65 48 8b 04 25 28 00 00 00 48 89 45 d8 31 c0 48 8d 45 90 c7 45 a8 00 00 00 00 48 8d 78 20 e8 bf 0c db ff <49> 8b 44 24 30 48 89 5d 90 4c 89 65 a0 4c 89 75 98 48 8b 40 28 I believe there must be a warning that the tool is not wholly tested with eCryptfs and there is high chance of data loss. |
I'm on a fresh install of Arch Linux with KDE and encrypted home directory.
What I did after initial setup (https://wiki.archlinux.org/index.php/Profile-sync-daemon#Setup_and_installation):
USE_OVERLAYFS="yes"
in ~/.config/psd/psd.configsystemctl --user start psd
An error message was displayed saying:
Incopatible profile version ... and the browser profile was reset to default settings. I then tried the same steps with Google Chrome and experienced the same, after enabling PSD an error message is shown and the profile is reset to default.
I only start and stop PSD manually (service not enabled) because I thought maybe home encryption was the source of the issue (though I read you implemented compatibility).
The text was updated successfully, but these errors were encountered: