You are not logged in.
I run a separate partition for /home and have not had a problem with psd. Will try out latest version....
Mr Green
Offline
I run a separate partition for /home and have not had a problem with psd. Will try out latest version....
As do I and nor have I. Two users reported that on occasion, psd would fail silently so this modification (minor really) should safeguard against that.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Updated this morning and psd is working fine.
Mr Green
Offline
My psd takes 25 seconds to load at startup. Is there a way to delay it a little, so that it isn't copying stuff at the same time as everyone else?
Offline
@Unsolved - This is how systemd works. The psd.service will start as soon as /home is accessible. One strategy to minimizing start times is to minimize browser profiles. For example, post the output of `psd p` which shows you how larger your profile(s) are. A companion util called profile-cleaner which can help. Moving your cache to tmpfs (not using psd) can help as well. See the man page of psd for a link.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I have already made my profile smaller. But is there no way to ask the service to wait a few seconds or at least let the gui start first?
Thank you!
Offline
I don't know about delay starting a service... you should google it.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
any idea why i am getting this?
Jun 28 07:33:47 olivia profile-sync-daemon[399]: mv: cannot move '/home/jose/.config/chromium'
Jun 28 07:33:54 olivia profile-sync-daemon[399]: cannot delete non-empty directory: chromium
Jun 28 07:33:54 olivia systemd[1]: Started Profile-sync-daemon.
the chromium directory in tmp is empty:
ls -l /tmp/jose-chromium/
total 0
Offline
Haven't seen that one. Post the output of:
psd
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
[jose@olivia ~]$ psd
Profile-sync-daemon v5.36.3
/usr/bin/psd [option]
preview Parse config file (/etc/psd.conf) to see which profiles will be managed.
resync Synchronize the tmpfs and media bound copy. Must be run as root user.
sync Force a manual sync. Must be run as root user and NOT recommended.
unsync Force a manual unsync. Must be run as root user and NOT recommended.
It is HIGHLY DISCOURAGED to directly call /usr/bin/psd to sync or to unsync.
Instead, use systemd to start/stop profile-sync-daemon.
systemctl [option] psd psd-resync
start Turn on daemon; make symlinks and actively manage targets in tmpfs.
stop Turn off daemon; remove symlinks and rotate tmpfs data back to disc.
enable Autostart daemon when system comes up.
disable Remove daemon from the list of autostart daemons.
[jose@olivia ~]$ psd preview
Profile-sync-daemon v5.36.3 on Arch Linux.
Daemon file /run/psd is present.
Service is currently active.
Psd will manage the following per /etc/psd.conf settings:
browser/psname: chromium/chromium
owner/group: jose/users
sync target: /home/jose/.config/chromium
tmpfs dir: /tmp/jose-chromium
profile size: 33M
Offline
Sorry, add a p to it:
psd p
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
it's also in the previous post
Offline
it's also in the previous post
I must be blind
`psd p` will invoke the preview or parse mode which shows more info about which profiles are to be sync'ed.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
on my computer psd preview gives the very same output as psd p. really.. it's there - you might want to scroll though
Offline
@jose - OK... post the contents of /etc/psd.conf
Calling just psd on my system:
Profile-sync-daemon v5.36.3
/usr/bin/psd [option]
preview Parse config file (/etc/psd.conf) to see which profiles will be managed.
resync Synchronize the tmpfs and media bound copy. Must be run as root user.
sync Force a manual sync. Must be run as root user and NOT recommended.
unsync Force a manual unsync. Must be run as root user and NOT recommended.
It is HIGHLY DISCOURAGED to directly call /usr/bin/psd to sync or to unsync.
Instead, use systemd to start/stop profile-sync-daemon.
systemctl [option] psd psd-resync
start Turn on daemon; make symlinks and actively manage targets in tmpfs.
stop Turn off daemon; remove symlinks and rotate tmpfs data back to disc.
enable Autostart daemon when system comes up.
disable Remove daemon from the list of autostart daemons.
Calling `psd p` on my system:
Profile-sync-daemon v5.36.3 on Arch Linux.
Daemon file /run/psd is present.
Service is currently active.
Psd will manage the following per /etc/psd.conf settings:
browser/psname: chromium/chromium
owner/group: graysky/users
sync target: /home/graysky/.config/chromium
tmpfs dir: /tmp/graysky-chromium
profile size: 84M
Last edited by graysky (2013-06-28 20:08:03)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
i can't help thinking that your browser is playing dirty tricks on you. please search for "33M" in this page - you should see it immediately.
$ grep -v ^# /etc/psd.conf
USERS="jose"
BROWSERS="chromium"
Offline
@jose - That is spooky. In firefox, your code output is truncated; in chromium, I can see a scroll bar. Very odd!
Everything looks fine for your setup. Do this:
1) Stop psd
2) Post the output of `ls -l ~/.config | grep chrom`
3) Post the output of `ls -la /tmp`
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
[jose@olivia ~]$ ls -l ~/.config | grep chrom
drwx------ 4 jose users 4096 jún 28 00:09 chromium
drwx------ 5 jose users 12288 jún 28 00:09 chromium-backup
[jose@olivia ~]$ ls -la /tmp
celkom 36
drwxrwxrwt 20 root root 580 jún 28 22:08 .
drwxr-xr-x 24 root root 4096 jún 26 19:50 ..
drwxrwxrwx 2 jose users 60 jún 28 15:53 dumps
drwx------ 2 jose users 60 jún 28 14:05 .esd-1000
-rw-r--r-- 1 jose users 4 jún 28 14:05 fluxgui_jose.pid
-rw-r--r-- 1 jose users 0 jún 28 14:05 fluxlog.txt
drwxrwxrwt 2 root root 40 jún 28 14:04 .font-unix
-rw-r--r-- 1 jose users 4215 jún 28 21:25 gameoverlayrenderer.log
-rw-r--r-- 1 jose users 2903 jún 28 18:12 gameoverlayrenderer.log.last
-rw-r--r-- 1 jose users 1247 jún 28 21:25 gameoverlayui.log
-rw-r--r-- 1 jose users 612 jún 28 18:12 gameoverlayui.log.last
-rw-r--r-- 1 jose users 0 jún 28 21:40 .google-talk-plugin-jose.lock
drwxr-xr-x 2 jose users 60 jún 28 21:57 hsperfdata_jose
drwxrwxrwt 2 root root 60 jún 28 14:05 .ICE-unix
drwxr-xr-x 6 jose users 120 jún 28 21:57 JMapViewerTiles_jose
drwxr-xr-x 2 jose users 40 jún 28 14:04 jose-chromium
-rw------- 1 jose users 1401 jún 28 19:29 Kl4s0VPw.wml.part
drwx------ 2 jose users 40 jún 28 14:46 mc-jose
drwx------ 2 jose users 40 jan 1 1970 orbit-jose
drwx------ 2 jose users 40 jún 28 21:42 plugtmp
drwx------ 2 jose users 60 jún 28 14:05 ssh-PuzT7hXGz4hz
drwx------ 3 root root 60 jún 28 14:04 systemd-private-m9tdme
drwx------ 3 root root 60 jún 28 14:05 systemd-private-V9yRIW
drwx------ 3 root root 60 jún 28 14:04 systemd-private-y0WTNo
drwxrwxrwt 2 root root 40 jún 28 14:04 .Test-unix
drwxrwxrwt 2 root root 40 jún 28 14:04 .XIM-unix
-r--r--r-- 1 root root 11 jún 28 14:04 .X0-lock
drwxrwxrwt 2 root root 60 jún 28 14:04 .X11-unix
drwxr-xr-x 2 jose users 40 jún 28 21:42 yaourt-tmp-jose
Offline
OK. Based on your output, you do not have any symlinks in ~/.config but two copies of the profile for some reason. Do this:
1) Verify that the daemon is stopped, `psd p | grep run` which should return a value of:
Daemon file /run/psd is not present.
If the output says that it is in fact present, you didn't stop psd.
2) `mv ~/.config/chromium-backup ~/.config/chromium-backup-stalled`
3) `mv /tmp/jose-chromium ~/.config/jose-chromium-from-tmp-stalled`
This should effectively return your system to the native state. Now start psd and again post the output of:
4) Post the output of `ls -l ~/.config | grep chrom`
5) Post the output of `ls -la /tmp`
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
[jose@olivia ~]$ ls -l ~/.config | grep chrom
lrwxrwxrwx 1 jose users 18 jún 28 23:52 chromium -> /tmp/jose-chromium
drwx------ 4 jose users 4096 jún 28 00:09 chromium-backup
drwx------ 5 jose users 12288 jún 28 00:09 chromium-backup-stalled
drwxr-xr-x 2 jose users 4096 jún 28 14:04 jose-chromium-from-tmp-stalled
[jose@olivia ~]$ ls -la /tmp
celkom 40
drwxrwxrwt 20 root root 580 jún 28 23:52 .
drwxr-xr-x 24 root root 4096 jún 26 19:50 ..
drwxrwxrwx 2 jose users 60 jún 28 15:53 dumps
drwx------ 2 jose users 60 jún 28 14:05 .esd-1000
-rw-r--r-- 1 jose users 4 jún 28 22:52 fluxgui_jose.pid
-rw-r--r-- 1 jose users 2020 jún 28 22:53 fluxlog.txt
drwxrwxrwt 2 root root 40 jún 28 14:04 .font-unix
-rw-r--r-- 1 jose users 2638 jún 28 23:26 gameoverlayrenderer.log
-rw-r--r-- 1 jose users 4389 jún 28 23:17 gameoverlayrenderer.log.last
-rw-r--r-- 1 jose users 612 jún 28 23:26 gameoverlayui.log
-rw-r--r-- 1 jose users 1767 jún 28 23:17 gameoverlayui.log.last
-rw-r--r-- 1 jose users 0 jún 28 21:40 .google-talk-plugin-jose.lock
drwxr-xr-x 2 jose users 40 jún 28 22:40 hsperfdata_jose
drwxrwxrwt 2 root root 60 jún 28 14:05 .ICE-unix
drwxr-xr-x 6 jose users 120 jún 28 21:57 JMapViewerTiles_jose
drwx------ 4 jose users 360 jún 28 00:09 jose-chromium
-rw------- 1 jose users 1401 jún 28 19:29 Kl4s0VPw.wml.part
drwx------ 2 jose users 40 jún 28 14:46 mc-jose
drwx------ 2 jose users 40 jan 1 1970 orbit-jose
drwx------ 2 jose users 40 jún 28 22:43 plugtmp
drwx------ 2 jose users 60 jún 28 14:05 ssh-PuzT7hXGz4hz
drwx------ 3 root root 60 jún 28 14:04 systemd-private-m9tdme
drwx------ 3 root root 60 jún 28 14:05 systemd-private-V9yRIW
drwx------ 3 root root 60 jún 28 14:04 systemd-private-y0WTNo
drwxrwxrwt 2 root root 40 jún 28 14:04 .Test-unix
drwxrwxrwt 2 root root 40 jún 28 14:04 .XIM-unix
-r--r--r-- 1 root root 11 jún 28 14:04 .X0-lock
drwxrwxrwt 2 root root 60 jún 28 14:04 .X11-unix
drwxr-xr-x 2 jose users 40 jún 28 21:42 yaourt-tmp-jose
Offline
Looks good now. When you are 100 % sure that everything is good and that your profile is intact, you can delete both the temp dirs:
chromium-backup-stalled
jose-chromium-from-tmp-stalled
Tell me, do you get the error you originally saw now?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
thank you, seems to be working fine. now the only thing which relates to psd is:
Jun 29 08:09:40 olivia systemd[1]: Started Profile-sync-daemon.
Offline
YW. That is exactly what you should see.
% status psd
psd.service - Profile-sync-daemon
Loaded: loaded (/usr/lib/systemd/system/psd.service; enabled)
Active: active (exited) since Sat 2013-06-29 06:13:12 EDT; 4min 34s ago
Docs: man:psd(1)
man:profile-sync-daemon(1)
https://wiki.archlinux.org/index.php/Profile-sync-daemon
Process: 517 ExecStart=/usr/bin/profile-sync-daemon sync (code=exited, status=0/SUCCESS)
Jun 29 06:13:12 ease systemd[1]: Started Profile-sync-daemon.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Any plans for dwb support soon? Thought I could get away with using anything-sync-daemon, lost my profile lol
Offline
Any plans for dwb support soon?
Never heard of it... how large is its profile dir? Frankly, I added support for another 'obscure' browser and realized while testing that its profile was tiny and not really worthy of syncing. Can't remember which one, but it's in there.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline