[Gluster-devel] [Gluster-users] OS X porting merged

Dan Mons dmons at cuttingedge.com.au
Wed May 7 23:00:23 UTC 2014


A bug reported by one of our testers:

When a symlink exists to another directory in the tree, an infinite
loop of directories occurs.

We're running OSX 10.8.5 with OSXFUSE 2.6.4
# make -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
# gcc -v
Configured with:
--prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix

Test:

# cd /prod/backups/glustertest
# mkdir -p a/b/c/d
# mkdir -p 1/2/3/4
# find `pwd`
/prod/backups/glustertest
/prod/backups/glustertest/a
/prod/backups/glustertest/a/b
/prod/backups/glustertest/a/b/c
/prod/backups/glustertest/a/b/c/d
/prod/backups/glustertest/a/b/1
/prod/backups/glustertest/1
/prod/backups/glustertest/1/2
/prod/backups/glustertest/1/2/3
/prod/backups/glustertest/1/2/3/4
# cd a/b
# ls
c
# ln -s ../../1
# ls -al
total 32
drwxr-xr-x@ 3 root wheel 50 8 May 08:52 .
drwxr-xr-x@ 3 root wheel 42 8 May 08:49 ..
lrwxrwxrwx@ 1 root wheel 7 8 May 08:52 1 -> ../../1
drwxr-xr-x@ 3 root wheel 42 8 May 08:49 c
# cd 1
# ls
2
# cd 2 ; pwd ; ls
/prod/backups/glustertest/a/b/1/2/2
2
# cd 2 ; pwd ; ls
/prod/backups/glustertest/a/b/1/2/2/2
2
# cd 2 ; pwd ; ls
/prod/backups/glustertest/a/b/1/2/2/2/2
2
# cd 2 ; pwd ; ls
/prod/backups/glustertest/a/b/1/2/2/2/2/2
2
# cd 2 ; pwd ; ls
/prod/backups/glustertest/a/b/1/2/2/2/2/2/2
2
# find `pwd`
/prod/backups/glustertest/a/b/1/2/2/2/2/2/2
/prod/backups/glustertest/a/b/1/2/2/2/2/2/2/2
/prod/backups/glustertest/a/b/1/2/2/2/2/2/2/2/3
/prod/backups/glustertest/a/b/1/2/2/2/2/2/2/2/3/4
#

-Dan


----------------
Dan Mons
Unbreaker of broken things
Cutting Edge
http://cuttingedge.com.au


On 5 May 2014 17:57, Bernhard Glomm <bernhard.glomm at ecologic.eu> wrote:
> For b), I'm not sure yet. Might have to do get the Mac moved into
> a DMZ. Or we could get the Mac to initiate connection to Jenkins
> via cronjob or something to query for any new job to run.
>
>
> fwiw
>
> I use cfengine to automate MAC, (don't like messing with launchd and
>
> shell scripts anymore ;-)
>
> http://www.cfengineers.net/downloads/cfengine-community-packages/
>
>
> hth
>
>
> b
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-devel
>



More information about the Gluster-devel mailing list