Re: [zones-discuss] ps -ef as non-root in global zone shows *all* processes

2006-09-07 Thread Casper . Dik

>On 9/7/06, Dick Davies <[EMAIL PROTECTED]> wrote:
>> I could have sworn a 'ps -ef' (as a non-privileged user)
>> in the global zone only showed processes in the global zone.
>>
>> As of b46, that's no longer the case.
>> Is the change intentional?
>
>I'm quite sure I've never seen that but I'm still at b38.  Which build
>was it that you saw that?


I'm not sure this was ever the case.

Casper

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


Re: [zones-discuss] ps -ef as non-root in global zone shows *all* processes

2006-09-07 Thread Dick Davies

On 07/09/06, Wee Yeh Tan <[EMAIL PROTECTED]> wrote:

On 9/7/06, Dick Davies <[EMAIL PROTECTED]> wrote:
> I could have sworn a 'ps -ef' (as a non-privileged user)
> in the global zone only showed processes in the global zone.
>
> As of b46, that's no longer the case.
> Is the change intentional?

I'm quite sure I've never seen that but I'm still at b38.  Which build
was it that you saw that?


I could've sworn straight Sol10 hid zones processes by default
(I asked a friend before posting, and he thought so too).
Obviously we dreamt it :)

What threw me in the first place was the fact that I only have one user
in the global zone (for sshing in), and another in a zone (for running
postgres).

I installed the SMF bits for postgres in the non-global zone, but this needed
xml manifests in /lib (in the _global_ zone).

Since I've only been using Solaris for about a month,
I logged into the top zone to check that was ok and ran 'ps -ef'

a) I thought postgres was running in the global zone
b) I thought it was running as *me*!

Of course, that's because both I and 'postgres' are uid=100. But since
I wasn't expecting to see zoned processes, I freaked out :)

the '-z' flag cleared it up.

--
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] ps -ef as non-root in global zone shows *all* processes

2006-09-07 Thread Wee Yeh Tan

On 9/7/06, Dick Davies <[EMAIL PROTECTED]> wrote:

I could have sworn a 'ps -ef' (as a non-privileged user)
in the global zone only showed processes in the global zone.

As of b46, that's no longer the case.
Is the change intentional?


I'm quite sure I've never seen that but I'm still at b38.  Which build
was it that you saw that?


--
Just me,
Wire ...
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] ps -ef as non-root in global zone shows *all* processes

2006-09-06 Thread Jeff Victor

Dick Davies wrote:

I could have sworn a 'ps -ef' (as a non-privileged user)
in the global zone only showed processes in the global zone.


I have never seen that, starting with pre-release builds of S10.  But I have only 
seen 5 or 6 builds (including production builds) of S10.



As of b46, that's no longer the case.
Is the change intentional?


It is possible that you used a build that had a bug reducing the visibility of 
processes.



--
--
Jeff VICTOR  Sun Microsystemsjeff.victor @ sun.com
OS AmbassadorSr. Technical Specialist
Solaris 10 Zones FAQ:http://www.opensolaris.org/os/community/zones/faq
--
___
zones-discuss mailing list
zones-discuss@opensolaris.org