xfs
[Top] [All Lists]

Re: SOLVED cp -p problem

To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: SOLVED cp -p problem
From: mark <mark.newman2@xxxxxxxxxxxx>
Date: Fri, 7 Jun 2002 01:11:15 +0100
Cc: "'linux-xfs@xxxxxxxxxxx'" <linux-xfs@xxxxxxxxxxx>
In-reply-to: <20020606224848.GA479@frodo>
Organization: mark
References: <200206061528.24033.mark.newman2@xxxxxxxxxxxx> <20020606224848.GA479@frodo>
Reply-to: mark.newman2@xxxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: KMail/1.4.1
On Thursday 06 June 2002 23:48, Nathan Scott wrote:
> On Thu, Jun 06, 2002 at 03:28:24PM +0100, mark wrote:
> > Hi
> >
> > Sorry to waste peoples time, this is a Gentoo Linux configuration
> > problem.
>
> Hmm - thats not really fair on Gentoo.  This is a workaround, but the
> underlying problem remains, and is not Gentoo related.
>

No, I was not blaming Gentoo at all, merely the way I had it configured.  I 
felt I should not have had an ACL flag if I wasnt using it..  The cp binary I 
sent you was compiled using the ACL flag.  I have just looked at the 
changelog for fileutils under Gentoo and it has the following

 03 May 2002; Daniel Robbins <drobbins@xxxxxxxxxx>: Added acl.c.diff to fix
  compilation with nls disabled.  Blocke is sending this fix upstream to
  acl.bestbits.at.  No rev bump -- no need for a recompile if it worked for
  people.

The diff is as follows, 

--- acl.c.orig  Fri May  3 23:47:34 2002
+++ acl.c       Fri May  3 23:47:43 2002
@@ -26,6 +26,7 @@
 # include <libintl.h>
 # define _(Text) gettext (Text)
 #else
+# include <stddef.h>
 # define _(Text) Text
 #endif

If I'm honest I dont really understand this but it may help you to understand 
why my cp binary is different.  This patch was only applied if I set a flag 
as ACL

> > Basically Gentoo builds all its apps from source using an  'ebuild'
> > script which controls the configure, make, make install.  A fellow Gentoo
> > user has provided the solution  There was a flag in one of my config
> > files which was causing cp to be built against acl in some way.  Since I
> > had no real need of acl just removing this flag and rebuilding fileuttils
> > has solved the problem
> >
> > I am not saying there is a problem with acl or not, to be honest it is
> > not a subject I have spent any time learning about so it could be just
> > that I misconfigured xfs in some way.  Anyway all seems fine now.
>
> You haven't misconfigured XFS - I'm able to reproduce this with the
> cp binary you sent me last night.  It is definately a problem in
> ACL land, but not clear yet whether its XFS, libacl.so or the patch
> to fileutils which is causing it.  I will keep trying to figure this
> out...
>
> thanks.

No probs.  If I can provide further info let me know.  Although I am now 
getting out of my depth.

Mark




<Prev in Thread] Current Thread [Next in Thread>