You are not logged in.

#1 2012-10-31 23:58:41

effraie
Member
Registered: 2012-08-30
Posts: 66

profile-sync-daemon failing to write in /tmp

Hello,

trying to get psd working, after starting it (systemctl start psd.service), it fail writing in /tmp, wich is 777 writable.

the log look like thet :

Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: chown: groupe incorrect: « mathieu:UNKNOWN »
Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: rsync: mkdir "/home/mathieu/.config/chromium" failed: File exists (17)
Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: rsync error: error in file IO (code 11) at main.c(587) [Receiver=3.0.9]
Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: rsync: connection unexpectedly closed (9 bytes received so far) [sender]
Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]
Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: touch: impossible de faire un touch « /home/mathieu/.config/chromium/.flagged »: Aucun fichier ou dossier de ce type
Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: install: groupe « UNKNOWN » incorrect
Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: chown: groupe incorrect: « mathieu:UNKNOWN »
Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: rsync: mkdir "/home/mathieu/.mozilla/firefox" failed: File exists (17)
Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: rsync error: error in file IO (code 11) at main.c(587) [Receiver=3.0.9]
Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: rsync: connection unexpectedly closed (9 bytes received so far) [sender]
Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]
Nov 01 00:49:50 kubrick profile-sync-daemon[12605]: touch: impossible de faire un touch « /home/mathieu/.mozilla/firefox/.flagged »: Aucun fichier ou dossier de ce type 

can somebody help, please ?

Offline

#2 2012-11-01 00:13:25

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

Re: profile-sync-daemon failing to write in /tmp

@effraie - Odd, from the output it seems as though psd can't determine your group. 

Post the output of:

% ls -l /home

EDIT: Removed confusing info that really isn't relevant to the discussion.

Last edited by graysky (2012-11-01 00:29:38)

Offline

#3 2012-11-01 00:16:05

effraie
Member
Registered: 2012-08-30
Posts: 66

Re: profile-sync-daemon failing to write in /tmp

ls -l /home
total 20K
drwx------  2 root    root  16K  3 mars   2012 lost+found/
drwxr-xr-x 76 mathieu 1000 4,0K  1 nov.  01:15 mathieu/

seem strange...

Offline

#4 2012-11-01 00:19:45

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: profile-sync-daemon failing to write in /tmp

When I do

$ getent passwd $user 

it returns nothing.  I think you were looking for $USER, so I am not sure if that was a typo or not...

Offline

#5 2012-11-01 00:24:41

effraie
Member
Registered: 2012-08-30
Posts: 66

Re: profile-sync-daemon failing to write in /tmp

just did sudo chown mathieu:mathieu on my homedir, psd work well, now smile

Offline

#6 2012-11-01 00:25:32

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: profile-sync-daemon failing to write in /tmp

That is insteresting... is your uid 1000?

Offline

#7 2012-11-01 00:26:26

effraie
Member
Registered: 2012-08-30
Posts: 66

Re: profile-sync-daemon failing to write in /tmp

yep

Offline

#8 2012-11-01 00:27:42

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: profile-sync-daemon failing to write in /tmp

Funky indeed.

Offline

#9 2012-11-01 00:28:39

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

Re: profile-sync-daemon failing to write in /tmp

WonderWoofy wrote:

When I do

$ getent passwd $user 

it returns nothing.  I think you were looking for $USER, so I am not sure if that was a typo or not...

Not a typo... it was from /usr/bin/profile-sync-daemon wherein that variable is defined by the user in /etc/psd.conf -- in retrospect it was confusing to post smile

Anyway, I haven't seen a group as numerical before...

Last edited by graysky (2012-11-01 00:32:27)

Offline

#10 2012-11-01 00:32:31

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: profile-sync-daemon failing to write in /tmp

I have seen it when transerring files from another computer.  Sometimes when there is a user or group that doesn't exist on the machine you are transferring to, they show up as simple uid/gids.  But I haven't a clue why it would be doing that here.

Offline

#11 2012-11-01 01:49:20

samuvuo
Member
From: Finland
Registered: 2011-02-20
Posts: 84

Re: profile-sync-daemon failing to write in /tmp

WonderWoofy wrote:

But I haven't a clue why it would be doing that here.

Result of merging /etc/group.pacnew with /etc/group and leaving 1000 out? I noticed there was an update earlier this month.

Offline

Board footer

Powered by FluxBB