View previous topic :: View next topic |
Author |
Message |
JeroenV Guru
Joined: 16 Jul 2002 Posts: 447 Location: Amsterdam / Hamburg
|
Posted: Mon Aug 05, 2002 5:55 pm Post subject: "emerge db" fails because of cp error (XFS bug?) |
|
|
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 _________________ Cheers
Jeroen
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
May The Source be with you! |
|
Back to top |
|
|
JeroenV Guru
Joined: 16 Jul 2002 Posts: 447 Location: Amsterdam / Hamburg
|
Posted: Thu Aug 08, 2002 8:30 pm Post subject: |
|
|
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
Jeroen
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
May The Source be with you! |
|
Back to top |
|
|
chatwood2 n00b
Joined: 20 Jun 2002 Posts: 39 Location: Washington DC, Pittsburgh PA
|
Posted: Thu Aug 08, 2002 9:06 pm Post subject: |
|
|
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 |
|
|
J0rd n00b
Joined: 09 Jul 2002 Posts: 19 Location: @home
|
Posted: Fri Sep 06, 2002 2:20 pm Post subject: |
|
|
i have the exact same problem, im going to apply the patches and ill get back to you. _________________ /me out |
|
Back to top |
|
|
|