You are not logged in.

#526 2014-12-16 19:46:41

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

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

geo909 wrote:

Is there a way to change this behaviour of psd and keep only one backup?

Several have asked to have it only keep one or a few backups.  I have always pushed back not wanting to delete anything automatically; I would rather the user make the choice to delete backups.  The more important question in your case is why is your system crashing that often?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#527 2014-12-16 20:09:00

geo909
Member
Registered: 2008-09-07
Posts: 309

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

graysky wrote:
geo909 wrote:

Is there a way to change this behaviour of psd and keep only one backup?

Several have asked to have it only keep one or a few backups.  I have always pushed back not wanting to delete anything automatically; I would rather the user make the choice to delete backups.  The more important question in your case is why is your system crashing that often?


Hmm.. I have the bad habit of turning it off without closing any windows that are not work or something that has to be saved. It must be from that..

Anyway, I'll stop doing that and I'll be checking the folder every now and then, I do some housekeeping occasionally anyway.

Thanks a lot.

Last edited by geo909 (2014-12-16 20:09:43)

Offline

#528 2014-12-16 20:16:34

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

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

geo909 wrote:

Hmm.. I have the bad habit of turning it off without closing any windows that are not work or something that has to be saved. It must be from that..

Ha.. well, at least you have a very nice time/date stamp of when you just turned it off, now tongue  Under that condition, psd will treat the profile directory as orphaned (because the symlink leads to nowhere and it assumes your system crashed).  It will then happily restore the media-bound backup and keep the snapshot as it has for you.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#529 2014-12-16 20:23:42

geo909
Member
Registered: 2008-09-07
Posts: 309

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

graysky wrote:
geo909 wrote:

Hmm.. I have the bad habit of turning it off without closing any windows that are not work or something that has to be saved. It must be from that..

Ha.. well, at least you have a very nice time/date stamp of when you just turned it off, now tongue  Under that condition, psd will treat the profile directory as orphaned (because the symlink leads to nowhere and it assumes your system crashed).  It will then happily restore the media-bound backup and keep the snapshot as it has for you.

Got it. Thanks again!

Offline

#530 2014-12-27 07:18:00

gastriccats
Member
Registered: 2014-10-02
Posts: 7

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

Very pleased with this package (as is my SSD!).

Currently, the only issue I'm having isn't strictly related to psd. Rather, I love the idea of overlay(fs), but arch doesn't support upgrading the kernel >3.17 yet, so the feature isn't integrated in the kernel (I'm assuming you're running some kind of custom build?). Are there any work-arounds to this on a standard build?

Offline

#531 2014-12-27 12:04:26

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

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

Wait for 3.18.1-1 to come out of [testing] or check pick it and if needed, nvidia* from the same repo.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#532 2014-12-27 20:37:34

Doctor Colossus
Member
Registered: 2012-08-26
Posts: 19

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

Hi. I have multiple firefox profiles, but I only want to sync my main one. The others I just use from time to time. Is there any way to sync the one, and not the others?

I am sorry if this has been covered before, but I haven't been able to find anything. I would also really like to say thanks for PSD, ASD, and profile-cleaner. [-:

Last edited by Doctor Colossus (2014-12-27 20:38:27)

Offline

#533 2014-12-27 21:20:19

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

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

@doc - Sorry, I think that would be too complicated and error prone in the config file.  I toyed with only syncing the default profile but there again, psd would have to be restarted if the user changed the default.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#534 2015-01-07 11:55:55

whompus
Member
From: Durham. UK
Registered: 2005-08-09
Posts: 256

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

Hello graysky,

Please, could PSD support Otter Browser.

The profile directory is: ~/.config/otter/

Thank you.

Offline

#535 2015-01-07 14:13:32

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

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

whompus wrote:

Please, could PSD support Otter Browser.

The profile directory is: ~/.config/otter/

Done, try version 5.61.

Last edited by graysky (2015-01-07 14:13:53)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#536 2015-01-27 15:48:34

FarStar07
Member
Registered: 2012-04-02
Posts: 48

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

Hello graysky,

Please, could PSD support Vivaldi Browser?

The profile directory is: ~/.config/vivaldi/

Thank you!

Offline

#537 2015-01-27 16:21:25

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

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

FarStar07 wrote:

Hello graysky,

Please, could PSD support Vivaldi Browser?

The profile directory is: ~/.config/vivaldi/

Thank you!

Bump to v5.66-1

Changelog: Support for vivaldi-browser.
Commit: https://github.com/graysky2/profile-syn … 65...v5.66


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#538 2015-01-27 16:57:57

FarStar07
Member
Registered: 2012-04-02
Posts: 48

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

Thank you smile

Offline

#539 2015-01-29 14:11:13

lord_rel
Member
Registered: 2007-04-04
Posts: 36

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

Hello graysky,

could PSD have a "only errors to syslog" mode please
it would help make the syslog cleaner

Thank you!

Last edited by lord_rel (2015-01-29 14:11:30)

Offline

#540 2015-01-29 19:14:36

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

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

Guess I've never looked at the logs... I know it will print out its name pand version on invocation but nothing else if successful (from memory).  Can you post a piece of your syslog?  I need to review the code to see if I am redirecting the rsync output to /dev/null but I am on my phone and cannot right now.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#541 2015-01-30 07:50:50

lord_rel
Member
Registered: 2007-04-04
Posts: 36

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

Jan 29 16:01:01 p182 systemd[1]: Starting Timed Profile-resync...
Jan 29 16:01:01 p182 profile-sync-daemon[1601]: Profile-sync-daemon v5.65 on Arch Linux
Jan 29 16:01:02 p182 systemd[1]: Started Timed Profile-resync.
Jan 29 16:27:27 p182 kdeinit4[2525]: DIGEST-MD5 common mech free
Jan 29 17:01:01 p182 crond[3735]: pam_unix(crond:session): session opened for user root by (uid=0)
Jan 29 17:01:01 p182 CROND[3736]: (root) CMD (run-parts /etc/cron.hourly)
Jan 29 17:01:02 p182 CROND[3735]: pam_unix(crond:session): session closed for user root
Jan 29 17:01:01 p182 systemd[1]: Starting Timed Profile-resync...
Jan 29 17:01:02 p182 profile-sync-daemon[3737]: Profile-sync-daemon v5.65 on Arch Linux
Jan 29 17:01:03 p182 systemd[1]: Started Timed Profile-resync.
Jan 29 18:01:01 p182 crond[5698]: pam_unix(crond:session): session opened for user root by (uid=0)
Jan 29 18:01:01 p182 CROND[5699]: (root) CMD (run-parts /etc/cron.hourly)
Jan 29 18:01:01 p182 CROND[5698]: pam_unix(crond:session): session closed for user root
Jan 29 18:01:31 p182 systemd[1]: Starting Timed Profile-resync...
Jan 29 18:01:31 p182 profile-sync-daemon[5716]: Profile-sync-daemon v5.65 on Arch Linux
Jan 29 18:01:32 p182 systemd[1]: Started Timed Profile-resync.
Jan 29 18:07:27 p182 smartd[442]: Device: /dev/sde [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 118 [Raw 32] to 119 [Raw 31]
Jan 29 19:01:01 p182 crond[7445]: pam_unix(crond:session): session opened for user root by (uid=0)
Jan 29 19:01:01 p182 CROND[7446]: (root) CMD (run-parts /etc/cron.hourly)
Jan 29 19:01:01 p182 CROND[7445]: pam_unix(crond:session): session closed for user root
Jan 29 19:01:40 p182 systemd[1]: Starting Timed Profile-resync...
Jan 29 19:01:40 p182 profile-sync-daemon[7481]: Profile-sync-daemon v5.65 on Arch Linux
Jan 29 19:01:41 p182 systemd[1]: Started Timed Profile-resync.
Jan 29 20:01:01 p182 crond[9158]: pam_unix(crond:session): session opened for user root by (uid=0)
Jan 29 20:01:01 p182 CROND[9159]: (root) CMD (run-parts /etc/cron.hourly)
Jan 29 20:01:01 p182 CROND[9158]: pam_unix(crond:session): session closed for user root
Jan 29 20:02:11 p182 systemd[1]: Starting Timed Profile-resync...
Jan 29 20:02:11 p182 profile-sync-daemon[9194]: Profile-sync-daemon v5.65 on Arch Linux
Jan 29 20:02:12 p182 systemd[1]: Started Timed Profile-resync.

Offline

#542 2015-01-30 09:54:32

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

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

That looks normal. You want it totally silent on a sync or unsync?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#543 2015-01-30 12:18:50

lord_rel
Member
Registered: 2007-04-04
Posts: 36

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

i want it silent unless im starting, stopping it or theres an error, please

Offline

#544 2015-01-30 13:18:14

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

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

That is how it is not I beliveve.  It just doesnt print the token, ie sync, unsync.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#545 2015-01-30 14:05:10

lord_rel
Member
Registered: 2007-04-04
Posts: 36

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

i mean it shouldnt inform me of every sync, just failure to sync and the starting and stopping of the psd service in systemd

Offline

#546 2015-01-30 19:59:03

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

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

@lord_rel - OK.  I updated to v5.68 just now which now gives sync status if successful or if ending in error.  Tell me: what command did you use to generate that output?  I don't see the timer status in my journal as you have posted.  For me using systemd:

% sudo journalctl -u psd
-- Reboot --
Jan 30 14:48:41 ease profile-sync-daemon[15949]: Sync successful
Jan 30 14:49:59 ease profile-sync-daemon[16116]: Unsync successful

I don't think I can stop the journal logging the resync timer call... but I can suppress any output from the timer... but I would think you'd want to see an return code there in the log as well.

Note - I haven't pushed v5.68 to the AUR just yet.  You can modify the PKGBUILD in the AUR changing the pkgver and regenerate the sha256 sums to try it out.

Last edited by graysky (2015-01-30 20:05:46)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#547 2015-01-30 20:31:04

lord_rel
Member
Registered: 2007-04-04
Posts: 36

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

it seems im not communicating well, i want a toggle in psd.conf to disable the "profile-sync-daemon[11566]: Sync successful" and/or similar repeating notifications, but by now i researched enough to get that i cannot get rid of "systemd[1]: Starting Timed Profile-resync..." and "systemd[1]: Started Timed Profile-resync." which i also wanted off but isnt possible due to the limits of systemd timers, i just hoped to have a little less lines in my logs

thank for your time and work

Offline

#548 2015-01-30 20:36:06

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

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

OK.  Your suggestion is a good feature anyway since logging the name/version was pointless.  Now the return code/message will be entered.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#549 2015-02-02 12:04:26

Lockheed
Member
Registered: 2010-03-16
Posts: 1,521

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

Just wanted to signal that the file http://arch.coderkun.de/coderkun-aur/x8 … pkg.tar.xz which is being called by latest version is not on the server.

Offline

#550 2015-02-02 12:15:38

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

Re: profile-sync-daemon - keep browser profiles in tmpfs and sync'ed

Lockheed wrote:

Just wanted to signal that the file http://arch.coderkun.de/coderkun-aur/x8 … pkg.tar.xz which is being called by latest version is not on the server.

No idea what the server you linked is... The source is either on my server or in github.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB