Re: Bug#332739: Processed: retitle 332739 to debian packages are not safe to build on AFS, since find is typically used without -noleaf ...
Brian May <firstname.lastname@example.org> writes:
> My two thoughts:
> 1. Is this the only problem building Debian packages? I would have
> thought the different model, including permissions, etc would mess up
> the Debian package.
Nope, fakeroot works fine. Everything pretty much works unless you need
cross-directory hardlinks (and most packages don't).
> 2. Is it possible to get find to autodetect the file system, and use
> -noleaf only as required? Maybe get it to look for "." and ".." and if
> it can't find them, automatically use -noleaf. Embedding filesystem
> specific changes like this into every package would seem to be the wrong
> solution, IMHO.
"." and ".." exist in AFS. That's not the problem. The problem is that
the hard link count hack that find uses to not recurse where unnecessary
doesn't work in AFS because AFS doesn't use the same hard link count
semantics as a regular Linux file system.
Russ Allbery (email@example.com) <http://www.eyrie.org/~eagle/>