just noticed something strange, perhaps someone has an explanation ?

after booting a zone and login to that:

osoldev.batschul./export/home/techdocs/solaris_kernel/zones.=> pfexec zoneadm 
-z zone2 boot

osoldev.batschul./export/home/techdocs/solaris_kernel/zones.=> ps -eafd -Z | 
grep login
  global batschul  3821   993   0 07:59:32 pts/3       0:00 grep login
  global     root  2301  1750   0 07:43:19 pts/5       0:00 zlogin -C zone2

now login to the zone:

osoldev.batschul./export/home/batschul.=> pfexec zlogin zone2
[Connected to zone 'zone2' pts/6]
Last login: Wed Jun  2 07:52:29 on pts/6
Oracle Corporation      SunOS 5.11      snv_140 May 2010

from the NGZ I see:

r...@zone2:~# ps -eafd|grep login
    root  3823  3386   0 07:59:39 pts/6       0:00 /usr/bin/login -z global -f 
root
    root  3836  3824   0 08:00:30 pts/6       0:00 grep login

from tge GZ I see:

osoldev.batschul./export/home/techdocs/solaris_kernel/zones.=> ps -eafd -Z | 
grep login
  global     root  3822   975   0 07:59:39 pts/2       0:00 zlogin zone2
   zone2     root  3823  3822   0 07:59:39 ??          0:00 /usr/bin/login -z 
global -f root
  global     root  2301  1750   0 07:43:19 pts/5       0:00 zlogin -C zone2
  global batschul  3831   993   0 07:59:43 pts/3       0:00 grep login


hugh? where does it got that from ?

   zone2     root  3823  3822   0 07:59:39 ??          0:00 /usr/bin/login -z 
global -f root

this only happens when I use pfexec zlogin zone2, it does not
happen when logging in on the console ie. pfexec zlogin -C zone2

thanks
frankB




_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to