From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Serong Subject: Re: [Ceph-maintainers] statically allocated uid/gid for ceph Date: Tue, 28 Apr 2015 15:00:17 +1000 Message-ID: <553F13E1.6050207@suse.com> References: <5488919E.4090109@redhat.com> <5488FC46.5080106@suse.com> <552C9182.5030605@suse.com> <552D3C74.2000104@redhat.com> <87bnip2u10.fsf@meteor.durcheinandertal.bofh>,<553E07C7.8030905@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: Received: from victor.provo.novell.com ([137.65.250.26]:39098 "EHLO prv3-mh.provo.novell.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750945AbbD1FA0 (ORCPT ); Tue, 28 Apr 2015 01:00:26 -0400 In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: "HEWLETT, Paul (Paul)** CTR **" , Gaudenz Steinlin , Ken Dreyer , Sage Weil Cc: "ceph-devel@vger.kernel.org" , "cjwatson@debian.org" , "ceph-maintainers@ceph.com" , "timm@fnal.gov" , Owen Synge 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@vger.kernel.org [ceph-devel-owner@vger.kernel.org] on behalf of Tim Serong [tserong@suse.com] > Sent: 27 April 2015 10:56 > To: Gaudenz Steinlin; Ken Dreyer; Sage Weil > Cc: ceph-devel@vger.kernel.org; cjwatson@debian.org; ceph-maintainers@ceph.com; timm@fnal.gov; 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 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@suse.com > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Tim Serong Senior Clustering Engineer SUSE tserong@suse.com