What about making it configurable in ceph.conf or /etc/sysconfig/ceph? (or via 
PAM/ldap...)

That way individual users could make it a value that they know does not 
conflict and they will still be able to
move OSDs between nodes etc...

Paul Hewlett
Senior Systems Engineer
Velocix, Cambridge
Alcatel-Lucent
t: +44 1223 435893



________________________________________
From: [email protected] [[email protected]] on 
behalf of Tim Serong [[email protected]]
Sent: 27 April 2015 10:56
To: Gaudenz Steinlin; Ken Dreyer; Sage Weil
Cc: [email protected]; [email protected]; [email protected]; 
[email protected]; Owen Synge
Subject: Re: [Ceph-maintainers] statically allocated uid/gid for ceph

On 04/16/2015 03:14 AM, Gaudenz Steinlin wrote:
>
> Hi
>
> Ken Dreyer <[email protected]> writes:
>
>> On 04/14/2015 09:21 AM, Sage Weil wrote:
>>> I think we still want them to be static across a distro; it's the
>>> cross-distro change that will be relatively rare.  So a fixed ID from each
>>> distro family ought to be okay?
>>
>> Sounds sane to me. I've filed https://fedorahosted.org/fpc/ticket/524 to
>> request one from Fedora.
>
> I have now requested the same for Debian. If the request is granted we
> will most likely get the uid/gid 64045. Maybe others could use the same.
> It seems that only Debian has a range of reserved ids for this purpose.
> I would expect Ubuntu to use the same id, but that's up to them finally.

Fedora has rejected the request for a static UID (see
https://fedorahosted.org/fpc/ticket/524#comment:16), and I haven't made
much progress on the SUSE front.  I did suggest everyone just do what
Debian does ;) but both Fedora and SUSE people pointed out that the 64K
range isn't safe to claim, what with not being specifically reserved.

I did make one small bit of progress - I've added the ceph user and
group to rpmlint on openSUSE Factory
(https://build.opensuse.org/request/show/303537) so at least the SUSE
build won't bitch if files specified in any of the packages are owned by
ceph:ceph.

Regards,

Tim
--
Tim Serong
Senior Clustering Engineer
SUSE
[email protected]
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to