On 04/27/2015 09:29 PM, HEWLETT, Paul (Paul)** CTR ** wrote: > 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... IMO that's a bit chicken-and-eggy -- you really want the package to create the user and group early during install (%pre in an rpm), so that, say, log file directories and whatnot potentially owned by the package can be installed with the correct ownership. Regards, Tim > > Paul Hewlett > Senior Systems Engineer > Velocix, Cambridge > Alcatel-Lucent > t: +44 1223 435893 > > > > ________________________________________ > From: ceph-devel-owner@xxxxxxxxxxxxxxx [ceph-devel-owner@xxxxxxxxxxxxxxx] on behalf of Tim Serong [tserong@xxxxxxxx] > Sent: 27 April 2015 10:56 > To: Gaudenz Steinlin; Ken Dreyer; Sage Weil > Cc: ceph-devel@xxxxxxxxxxxxxxx; cjwatson@xxxxxxxxxx; ceph-maintainers@xxxxxxxx; timm@xxxxxxxx; 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 <kdreyer@xxxxxxxxxx> 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 > tserong@xxxxxxxx > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Tim Serong Senior Clustering Engineer SUSE tserong@xxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html