The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-16-2008
moofoo moofoo is offline
Registered User
 

Join Date: Jan 2008
Posts: 14
Cant priocntl within solaris 10 non global container

Hello !
Can anybody help me with the following:
my sparc server ( solaris 10 06/07) has 1 global and 4 non-global zones running
we are using one of the non-global-zones for a jboss application server
we want to levitate the JBOSS process within the non_global_zone with: < priocntl -s -c FX -p 59 -m 59 -i pid PID > to a higher
prio-level ( or to start it with priocntl -e etc )

Problem is that within the zone the priocntl is missing the privileges like seen
in the output of the ppriv command (in the global zones the above command works fine):

root# ppriv -e -D priocntl -s -c FX -p 59 -m 59 -i pid PID
FXpriocntl[8744]: missing privilege "proc_priocntl" (euid = 0, syscall = 112) needed at fx_enterclass+0x70


So what we want to do is either start the jboss command with the
priocntl -e -c FX -p 59 -m 59 <command> or set it with
priocntl -s -c FX -p 59 -m 59 -i pid PID
within the zone. Any clues ?
Is there a possibility to set the privileges for a certain script which will startup the jboss like for example joboss_start.sh permanently ?

tia martin

Last edited by moofoo; 05-19-2008 at 03:51 AM.
Reply With Quote
Forum Sponsor