Closed tukoz closed 8 years ago
Are you defining the browsers in psd.conf? Here I forced a crash with chromium and firefox active, upon rebooting:
% psd p
Ungraceful state detected for /home/facade/.config/chromium so fixing
Ungraceful state detected for /home/facade/.mozilla/firefox/3x39ntb3.default so fixing
Profile-sync-daemon v6.19 on Arch Linux
Systemd service is currently unknown.
Systemd resync-timer is currently unknown.
Overlayfs v23 is currently active.
Psd will manage the following per /home/facade/.config/psd/psd.conf:
browser/psname: chromium/chromium
owner/group id: facade/100
sync target: /home/facade/.config/chromium
tmpfs dir: /run/user/1000/facade-chromium
profile size: 4.8M
overlayfs size:
recovery dirs: 1 <- delete with the c option
dir path/size: /home/facade/.config/chromium-backup-crashrecovery-20151115_080953 (4.8M)
browser/psname: firefox/firefox
owner/group id: facade/100
sync target: /home/facade/.mozilla/firefox/3x39ntb3.default
tmpfs dir: /run/user/1000/facade-firefox-3x39ntb3.default
profile size: 13M
overlayfs size:
recovery dirs: 1 <- delete with the c option
dir path/size: /home/facade/.mozilla/firefox/3x39ntb3.default-backup-crashrecovery-20151115_080953 (13M)
And then running clean:
% psd c
Profile-sync-daemon v6.19 on Arch Linux
Deleting 1 crashrecovery dir(s) for profile /home/facade/.config/chromium
/home/facade/.config/chromium-backup-crashrecovery-20151115_080953
Deleting 1 crashrecovery dir(s) for profile /home/facade/.mozilla/firefox/3x39ntb3.default
/home/facade/.mozilla/firefox/3x39ntb3.default-backup-crashrecovery-20151115_080953
% psd p
Profile-sync-daemon v6.19 on Arch Linux
Systemd service is currently unknown.
Systemd resync-timer is currently unknown.
Overlayfs v23 is currently active.
Psd will manage the following per /home/facade/.config/psd/psd.conf:
browser/psname: chromium/chromium
owner/group id: facade/100
sync target: /home/facade/.config/chromium
tmpfs dir: /run/user/1000/facade-chromium
profile size: 4.8M
overlayfs size:
recovery dirs: none
browser/psname: firefox/firefox
owner/group id: facade/100
sync target: /home/facade/.mozilla/firefox/3x39ntb3.default
tmpfs dir: /run/user/1000/facade-firefox-3x39ntb3.default
profile size: 13M
overlayfs size:
recovery dirs: none
I will try again using multiple profiles for firefox as you seem to be
Here I have 2 profiles for firefox and cannot reproduce:
% psd p
Ungraceful state detected for /home/facade/.config/chromium so fixing
Ungraceful state detected for /home/facade/.mozilla/firefox/3x39ntb3.default so fixing
Ungraceful state detected for /home/facade/.mozilla/firefox/ry8c6cng.test so fixing
Profile-sync-daemon v6.19 on Arch Linux
Systemd service is currently unknown.
Systemd resync-timer is currently unknown.
Overlayfs v23 is currently active.
Psd will manage the following per /home/facade/.config/psd/psd.conf:
browser/psname: chromium/chromium
owner/group id: facade/100
sync target: /home/facade/.config/chromium
tmpfs dir: /run/user/1000/facade-chromium
profile size: 4.8M
overlayfs size:
recovery dirs: 1 <- delete with the c option
dir path/size: /home/facade/.config/chromium-backup-crashrecovery-20151115_081451 (4.8M)
browser/psname: firefox/firefox
owner/group id: facade/100
sync target: /home/facade/.mozilla/firefox/3x39ntb3.default
tmpfs dir: /run/user/1000/facade-firefox-3x39ntb3.default
profile size: 13M
overlayfs size:
recovery dirs: 1 <- delete with the c option
dir path/size: /home/facade/.mozilla/firefox/3x39ntb3.default-backup-crashrecovery-20151115_081451 (13M)
browser/psname: firefox/firefox
owner/group id: facade/100
sync target: /home/facade/.mozilla/firefox/ry8c6cng.test
tmpfs dir: /run/user/1000/facade-firefox-ry8c6cng.test
profile size: 13M
overlayfs size:
recovery dirs: 1 <- delete with the c option
dir path/size: /home/facade/.mozilla/firefox/ry8c6cng.test-backup-crashrecovery-20151115_081451 (13M)
% psd c
Profile-sync-daemon v6.19 on Arch Linux
Deleting 1 crashrecovery dir(s) for profile /home/facade/.config/chromium
/home/facade/.config/chromium-backup-crashrecovery-20151115_081451
Deleting 1 crashrecovery dir(s) for profile /home/facade/.mozilla/firefox/3x39ntb3.default
/home/facade/.mozilla/firefox/3x39ntb3.default-backup-crashrecovery-20151115_081451
Deleting 1 crashrecovery dir(s) for profile /home/facade/.mozilla/firefox/ry8c6cng.test
/home/facade/.mozilla/firefox/ry8c6cng.test-backup-crashrecovery-20151115_081451
Thanks for trying to reproduce graysky.
Are you defining the browsers in psd.conf? yeap sure:
6 USE_OVERLAYFS="yes"
7 BROWSERS="firefox palemoon"
8 USE_BACKUPS="yes"
psd with overlayfs runs fine on that box. You think some missing environment var on this box could causes this?
I don't know... I would edit /usr/bin/psd and add the set -x
for that function, then run it logging the output to sleuth around and see what's not working.
For some times (few weeks) I have to manually delete firefox (stable) and palemoon crashrecovery folders that psd p detects and psd c does not. Arch linux here.
Total backup-crashrecovery is 3 for Firefox (have cleaned it some time ago) and 9 for Palemoon.