You are not logged in.

#1 2015-09-27 12:44:57

stecco
Member
Registered: 2013-07-16
Posts: 40

[SOLVED] - Does profile-sync-daemon crush my browsers?

Hello everyone. I reinstalled recently arch, since on my pc lenovo yoga 3 pro there is an SSD I installed and properly configured profile-sync-daemon, following the instructions on the wiki.

The problem, not encountered in previous arch's installations, is that in each first start firefox or chrome (the only browsers installed, set to reopen tabs from last time) in a new arch's session message appears stating that the browser has not been closed properly, even if this did not occur.

I think the problem may result from psd.

These are other configurations that you may want to know to help me solve the problem. I insist, however, that everything worked properly with these same configurations in the previous arch's installation.

  GNU nano 2.4.2                                                 File: /etc/fstab                                                                                                           

# /dev/sda8
UUID=ad82778e-3763-4d6c-8225-6ba11faa847d       /               ext4            rw,data=ordered,noatime,discard 0 1

# /dev/sda9
UUID=92ef1f68-45ca-488c-8363-c174613ba28a       /home           ext4            rw,data=ordered,noatime,discard 0 2

# /dev/sda2 LABEL=SYSTEM_DRV
UUID=1699-6388          /boot           vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro    0 2

# Browsers' cache and other stuff
tmpfs   /home/stecco/.cache     tmpfs   noatime,nodev,nosuid,size=500M  0       0
$ psd p
Profile-sync-daemon v6.11 on Arch Linux

 Systemd service is currently active.
 Systemd resync-timer is currently active.
 Overlayfs v23 is currently active.

Psd will manage the following per /home/stecco/.config/psd/psd.conf:

 browser/psname:  epiphany/epiphany
 owner/group id:  stecco/100
 sync target:     /home/stecco/.config/epiphany
 tmpfs dir:       /run/user/1000/stecco-epiphany
 profile size:    1,6M
 overlayfs size:  0
 recovery dirs:   none

 browser/psname:  firefox/firefox
 owner/group id:  stecco/100
 sync target:     /home/stecco/.mozilla/firefox/7xiyhtic.default
 tmpfs dir:       /run/user/1000/stecco-firefox-7xiyhtic.default
 profile size:    17M
 overlayfs size:  0
 recovery dirs:   none

 browser/psname:  google-chrome/chrome
 owner/group id:  stecco/100
 sync target:     /home/stecco/.config/google-chrome
 tmpfs dir:       /run/user/1000/stecco-google-chrome
 profile size:    57M
 overlayfs size:  17M
 recovery dirs:   none

Last edited by stecco (2015-09-28 11:14:48)

Offline

#2 2015-09-27 17:37:06

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

Re: [SOLVED] - Does profile-sync-daemon crush my browsers?

What you're describing sounds like you are shutting the machine down/restarting without closing the browser.  Since systemd will stop psd on reboot/shutdown, it will forcefully quit your managed browser in order to sync up the tmpfs profile to the disk.

First do the control experiment: disable psd start your browser and shutdown whatever as you have in the past.  Does the browser come up as expected?  Next enable psd and strat it.  Close the browser before restarting and restart.  Does it come up as expected?

Last edited by graysky (2015-09-27 17:38:16)

Offline

#3 2015-09-28 11:13:56

stecco
Member
Registered: 2013-07-16
Posts: 40

Re: [SOLVED] - Does profile-sync-daemon crush my browsers?

I stopped/restarted psd and now everything works! Thanks graysky

Offline

#4 2015-09-28 11:41:57

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

Re: [SOLVED] - Does profile-sync-daemon crush my browsers?

? So what was the cause?

Offline

#5 2015-09-28 11:51:43

stecco
Member
Registered: 2013-07-16
Posts: 40

Re: [SOLVED] - Does profile-sync-daemon crush my browsers?

I don't know... I simply stopped psd, reboot the pc and restarted psd and... no more problems for me.

Offline

Board footer

Powered by FluxBB