[gobolinux-devel] [RFC][PATCH] Resources/Requirements

Lucas C. Villa Real lucasvr at gobolinux.org
Mon Jan 7 15:45:36 NZDT 2008


On Jan 6, 2008 6:31 PM, Carlo Calica <carlo at calica.com> wrote:
> On 1/6/08, Lucas C. Villa Real <lucasvr at gobolinux.org> wrote:
>
> > I believe this is enough at least for the most common cases. I didn't
> > cover cross-compiling in this implementation, but that can come later
> > as needed. Comments?
> >
>
> Looks good.  Do you have an example where a specific uid/gid is
> needed?  What if it already exists?  Should check against uid/gid 0
> and sys group.  How about system (100-999) vs user (>1000)  uid/gid's?

I ran some months ago into a case where the uid was expected to be
'x'. I think that was a cron application, I'm not sure. Anyway, having
the option there is good.

About conflicts, both useradd and groupadd fails when the number is
already assigned to another user, so no worries.

Do you think it's necessary to have a different treatment for system
and user uid/gid's? Or maybe just limit the ids to 100-999? (I can't
see why one would want to use Resources/Requirements to add a normal
user account, so setting a range makes sense).

-- 
Lucas
powered by /dev/dsp


More information about the gobolinux-devel mailing list