On Tue, Oct 6, 2009 at 1:12 AM, Dirk Meister <dmeis...@uni-paderborn.de> wrote:
>
> Hello Ceph team,
>
> I have seen some pretty strange behavior of ceph release 0.15 under
> Ubuntu 9.0.4 (gcc 4.3.3) and maybe you are interested in it:
>
> First, I have got the following compile error message under Ubuntu
> 9.0.4 (gcc 4.3.3)
>
> > st_ioctls.c' || echo './'`client/test_ioctls.c
> > In function ‘open’,
> >     inlined from ‘main’ at client/test_ioctls.c:34:
> > /usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’
> > declared with attribute error: open with O_CREAT in second argument
> > needs 3 arguments

Thanks, Sage pushed a fix for that one.

...
>
> However, the error is strange anyway, because the ceph.conf states:
> [mount /]
>        allow = %everyone
> The client is treaded as not authorized, because the ExportEntry of
> the mountpoint "/" had no ExportAddrEntry items.
>
> Reason for that: The name of the group in the GroupManager::get_group
> method was not trimmed (it was still " %everyone") which fails,
> because only the first character is tested to be "%". The was caused
> by the cut and pasting from the browser which included some strange
> UNICODE fragments that looked like a normal space in various editor
> incl. vi, gdb, but it was not and therefore also not trimmed correctly.
>  > od -c ceph.conf
> [   m   o   u   n   t       /   ]  \n    a   l   l   o   w       = 302
> 240   %   e   v   e   r   y   o   n   e  \n
> After changing the "space", ceph mounted fine. It would be great if
> the configuration parser would reject files with invisible characters.
I've pushed a fix to the unstable branch that skips characters that
are not considered printable in the current locale. We'll also need to
make sure that we handle access denied responses better.

>
> I don't know if this observations help. Thanks for the good work.
Yes, very much. Thank you!

Yehuda

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Ceph-devel mailing list
Ceph-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ceph-devel

Reply via email to