Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"emerge db" fails because of cp error (XFS bug?)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
JeroenV
Guru
Guru


Joined: 16 Jul 2002
Posts: 447
Location: Amsterdam / Hamburg

PostPosted: Mon Aug 05, 2002 5:55 pm    Post subject: "emerge db" fails because of cp error (XFS bug?) Reply with quote

Hi,

I just encountered the same error Macros73 had in https://forums.gentoo.org/viewtopic.php?t=9659&highlight=invalid+argument
while emerging db-3... I have had it too with ghostscript, like Macros73

The error:
Code:
/bin/cp: preserving permissions for `/var/tmp/portage/db-3.2.9-r1/image//usr/docs/utility': Invalid argument


When I do a manual
Code:
cp -av /var/tmp/portage/db-3.2.9-r1/image/usr/docs/ /tmp/

I get the same.
Now I do
Code:
cp -av /var/tmp/portage/db-3.2.9-r1/image/usr/docs/ /share2/

and things work fine :!: :?: :!:
The difference: /tmp/ is mounted on an xfs volume, /share2/ is ext2 :!:
Does anybody know what's going on :?:

Cheers :wink:
_________________
Cheers 8)
Jeroen
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
May The Source be with you!
Back to top
View user's profile Send private message
JeroenV
Guru
Guru


Joined: 16 Jul 2002
Posts: 447
Location: Amsterdam / Hamburg

PostPosted: Thu Aug 08, 2002 8:30 pm    Post subject: Reply with quote

Ok, was getting kind of desperate, so found the solution myself... :?
It is an XFS-bug indeed. Kind of surprised there's so little people having this problem.
It's an ACL problem, just disable it in the kernel (under filesystems).
More info here: http://marc.theaimsgroup.com/?l=linux-xfs&m=102341386130406&w=2

I suppose the problem arises when you enable ACL's but don't set them, as in my case. I just compiled it in for possible future use and didn't do anything about it...

Cheers
_________________
Cheers 8)
Jeroen
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
May The Source be with you!
Back to top
View user's profile Send private message
chatwood2
n00b
n00b


Joined: 20 Jun 2002
Posts: 39
Location: Washington DC, Pittsburgh PA

PostPosted: Thu Aug 08, 2002 9:06 pm    Post subject: Reply with quote

If you want to keep ACL there is a patch in bugzilla that fixes the bug. I wrote a little walk though on how to apply the patch here: https://forums.gentoo.org/viewtopic.php?t=8658

- Chris
Back to top
View user's profile Send private message
J0rd
n00b
n00b


Joined: 09 Jul 2002
Posts: 19
Location: @home

PostPosted: Fri Sep 06, 2002 2:20 pm    Post subject: Reply with quote

i have the exact same problem, im going to apply the patches and ill get back to you.
_________________
/me out
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum