On 06/05/09 15:42, Darren Reed wrote:
In putting together PSARC/2009/332 and looking at the
changes required to libraries and installation, I'm
being given a choice about whether or not the project
number for "svc.inetd" is important.
The man page for project(4) says this:
projid The project's unique numerical ID (PROJID)
within the system. The maximum value of the
projid field is MAXPROJID. Project IDs below
100 are reserved for the use of the operating
system.
I suspect that this is a carryover from usernames, uids
and /etc/passwd in that so far as I can tell, the project
id's are not important in the same way that a uid is.
Whilst it is convenient to have project numbers be the
same everywhere, there's no operational requirement.
Unlike files, where the uid is a property that can be
saved/restored/copied, the project id for "user.root"
could be different on every system and there would be
no interoperability or behavioural problems.
Extended Accounting stores project ids only. Not having project ids
consistent across system will make generating accounting reports across
systems painful since one would need to resolve the project id in the
accounting file to the project name on the originating system, instead
of on the reporting system only.
Menno
--
Menno Lageman - Sun Microsystems - http://blogs.sun.com/menno
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code