Cyril Plisko wrote:
> On Tue, Mar 11, 2008 at 11:04 PM, Bart Smaalders <[EMAIL PROTECTED]> wrote:
>> Trevor Watson wrote:
>>
>>  >
>>  >     Do you think there is any need to keep track of when the file was read
>>  >     just in case something else writes the file after we have read it, but
>>  >     before we write it back?
>>
>>  I've added passmgmt-style locking to /etc/passwd manipulations...
>>
>>
>>  http://cr.opensolaris.org/~barts/user+group_actions/
>>
> 
> Bart,
> 
> 
> pkg5.txt
> 
>       261 +     gid         The groups unique numerical id.  The
> default value is the first
>       262 +                 free group under 100.
> 
>  and
> 
>       276 +     uid         The unique uid of the user. Default value
> is first free value
>       277 +                 under 100.
> 
> 
> 
> Was it really an intention to for default uid and gid to be "under" 100 ?
> If so, what happens when there is no free value under 100 ?
> 
> 

Right now it throws an exception.... this is only for "system" uids such as
postgres, mysql, etc.  The reason we use 100 is that those are reserved....
I'll think some more about what we should do; it's not a likely problem,
fortunately.

- Bart


-- 
Bart Smaalders                  Solaris Kernel Performance
[EMAIL PROTECTED]               http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to