Env: SunOS 5.10 Generic sun4u
Starting with default /etc/project file I added a user project which created a project entry like this:
user.tom:102:Test Project:::process.max-sem-nsems=(priv,128,deny);\
project.max-shm-ids=(priv,512,deny);\
<some other limits follow, all in a single line>
Both `projects [-d]` and `id -p` commands immediately recognized the new project, however `prctl` did not.
The next morning I was unable to start some app. servers, and it turned out that finally new project limits were in effect.
(the machine was not rebooted, though)
I made more project changes, but again they made no difference for prctl, and my app server still won't start.
Not sure what to do I tried to start rcapd with `rcapadm -E`, then looked at the output of `svcs` and tried
`svcadm refresh /system/rcap:default`, `svcadm refresh `system/zones:default`, `svcadm restart rcap`.
Nothing seemed to help...
Do I need somehow to force reload the /etc/projects?
I also observed some other oddities when I changed the project entry from
user.tom to
user:tomas
The output of `id -p` still showed that this project was the default one for user tom, but output of `projects -d` promptly displayed "default", which is what I expected.
To add to my aggravation when I deleted this project the output of `id -p` still showed the same project ID, but no project name.
Is this a bug?
Anyway, the most pressing question at the moment is how to make the system immediately recognize and enforce any changes made to /etc/project file.
Any help or suggestions will be appreciated!