Re: [zones-discuss] ps -Z is broken

2007-09-26 Thread Peter Tribble
On 9/26/07, Nicolas Williams <[EMAIL PROTECTED]> wrote: > On Wed, Sep 26, 2007 at 10:19:07PM +0100, Peter Tribble wrote: > > > I've just noticed something else. If you have an 8-character username > > it runs into the zone name in the output on S10. On nevada 69, there's > > a space but the headers

Re: [zones-discuss] ps -Z is broken

2007-09-26 Thread Nicolas Williams
On Wed, Sep 26, 2007 at 08:35:24PM -0700, Hugh McIntyre wrote: > >How about a variant of: > > > >ps -o zone,user,pid,args -u fred > > Indeed my copy of the man page says to use "ps -o" if you want longer > zone names. Oh goody. ___ zones-discuss mailin

Re: [zones-discuss] S10 U3 Live Upgrade with zones

2007-09-26 Thread Sergiy Kolodka
OK, few more details, just in case someone steps in with useful advice. Here's actual command and error: #lucreate -c update3 -C /dev/dsk/c0t0d0s0 -m /:/dev/md/dsk/d40:ufs -m /var:/dev/md/dsk/d50:ufs -n update4 Discovering physical storage devices Discovering logical storage devices Cross referen

Re: [zones-discuss] ps -Z is broken

2007-09-26 Thread Hugh McIntyre
Mike Gerdts wrote: > On 9/26/07, Peter Tribble <[EMAIL PROTECTED]> wrote: >> On 9/26/07, Nicolas Williams <[EMAIL PROTECTED]> wrote: >>> On Wed, Sep 26, 2007 at 09:52:29PM +0100, Peter Tribble wrote: Isn't this as easy as changing the format specifier from %8.8s to %8s? OK, so then t

Re: [zones-discuss] unable to rsh into zone2

2007-09-26 Thread Mike Gerdts
On 9/26/07, James Carlson <[EMAIL PROTECTED]> wrote: > Russ Petruzzelli writes: > > > > run "inetadm", see if rlogin is enabled... > > Note that rlogin and rsh (shell) are two completely separate and > unrelated protocols. And the situation is thoroughly confused by the fact that "rsh hostname" r

Re: [zones-discuss] ps -Z is broken

2007-09-26 Thread Mike Gerdts
On 9/26/07, Peter Tribble <[EMAIL PROTECTED]> wrote: > On 9/26/07, Nicolas Williams <[EMAIL PROTECTED]> wrote: > > On Wed, Sep 26, 2007 at 09:52:29PM +0100, Peter Tribble wrote: > > > Isn't this as easy as changing the format specifier from %8.8s to %8s? > > > > > > OK, so then the columns don't li

Re: [zones-discuss] unable to rsh into zone2

2007-09-26 Thread [EMAIL PROTECTED]
Anyone know how to start the restarter? xc12p11-b1-ce0-zone2# svcs -x svc:/system/sysidtool:system (sysidtool) State: offline since Wed Sep 26 14:40:18 2007 Reason: Start method is running. See: http://sun.com/msg/SMF-8000-C4 See: sysidtool(1M) See: /var/svc/log/system-sysidtool:system.l

Re: [zones-discuss] ps -Z is broken

2007-09-26 Thread Nicolas Williams
On Wed, Sep 26, 2007 at 10:19:07PM +0100, Peter Tribble wrote: > On 9/26/07, Nicolas Williams <[EMAIL PROTECTED]> wrote: > > On Wed, Sep 26, 2007 at 09:52:29PM +0100, Peter Tribble wrote: > > > Isn't this as easy as changing the format specifier from %8.8s to %8s? > > > > > > OK, so then the column

Re: [zones-discuss] ps -Z is broken

2007-09-26 Thread Peter Tribble
On 9/26/07, Nicolas Williams <[EMAIL PROTECTED]> wrote: > On Wed, Sep 26, 2007 at 09:52:29PM +0100, Peter Tribble wrote: > > Isn't this as easy as changing the format specifier from %8.8s to %8s? > > > > OK, so then the columns don't line up. How much is this a problem? > > It's a big problem. Big

Re: [zones-discuss] unable to rsh into zone2

2007-09-26 Thread James Carlson
[EMAIL PROTECTED] writes: > It is enabled but uninitialized. Aha. That almost certainly means that you need to log into the console of that zone and answer the questions that sysidtool is asking. You can look at "svcs -x" to find out more about the state of the zone services. -- James Carlson,

Re: [zones-discuss] ps -Z is broken

2007-09-26 Thread Nicolas Williams
On Wed, Sep 26, 2007 at 09:52:29PM +0100, Peter Tribble wrote: > Isn't this as easy as changing the format specifier from %8.8s to %8s? > > OK, so then the columns don't line up. How much is this a problem? It's a big problem. Personally, I think ps needs an option to output non-column oriented

[zones-discuss] ps -Z is broken

2007-09-26 Thread Peter Tribble
But how best to fix it? The actual problem is in the following bug: http://bugs.opensolaris.org/view_bug.do?bug_id=6275455 See 6400962 for more text. (Even though that seems to have resulted in a manpage entry that says, effectively, that you shouldn't use the -Z flag.) Essentially, ps -Z only

Re: [zones-discuss] unable to rsh into zone2

2007-09-26 Thread [EMAIL PROTECTED]
It is enabled but uninitialized. Russ Petruzzelli wrote: > run "inetadm", see if rlogin is enabled... > > James Carlson wrote: > >>[EMAIL PROTECTED] writes: >> >> >>>Does anyone know how to get rsh working on zone2? I can zlogin to both zone1 >>>and zone2 ok. >>> >>> >>>xc12p11-b1# zoneadm li

Re: [zones-discuss] unable to rsh into zone2

2007-09-26 Thread James Carlson
Russ Petruzzelli writes: > I also notice in your command you are attempting rsh by root. > It is a big security risk, but you must comment out the CONSOLE line in > /etc/default/login to allow root logins via rsh. True. It's worse than that -- rsh and rlogin are completely insecure. It's 2007.

Re: [zones-discuss] unable to rsh into zone2

2007-09-26 Thread Russ Petruzzelli
Hi Lana, I also notice in your command you are attempting rsh by root. It is a big security risk, but you must comment out the CONSOLE line in /etc/default/login to allow root logins via rsh. Russ Russ Petruzzelli wrote: run "inetadm", see if rlogin is enabled... James Carlson wrote

Re: [zones-discuss] unable to rsh into zone2

2007-09-26 Thread Michael Barto
Brendan Gregg, who contributes to this mailing list wrote a Perl program which he calls zcp. # USAGE: zcp file1 zonename:file2 #    eg, #    zcp /etc/syslog.conf workzone1:/tmp If you would like a copy, please let me know. [EMAIL PROTECTED] wrote: Does anyone know how to get rsh work

Re: [zones-discuss] unable to rsh into zone2

2007-09-26 Thread James Carlson
Russ Petruzzelli writes: > > run "inetadm", see if rlogin is enabled... Note that rlogin and rsh (shell) are two completely separate and unrelated protocols. -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442

Re: [zones-discuss] unable to rsh into zone2

2007-09-26 Thread Russ Petruzzelli
run "inetadm", see if rlogin is enabled... James Carlson wrote: [EMAIL PROTECTED] writes: Does anyone know how to get rsh working on zone2? I can zlogin to both zone1 and zone2 ok. xc12p11-b1# zoneadm list -cv ID NAME STATUS PATH BRAND

Re: [zones-discuss] unable to rsh into zone2

2007-09-26 Thread James Carlson
[EMAIL PROTECTED] writes: > Does anyone know how to get rsh working on zone2? I can zlogin to both zone1 > and zone2 ok. > > > xc12p11-b1# zoneadm list -cv > ID NAME STATUS PATH BRANDIP >0 global running/

[zones-discuss] unable to rsh into zone2

2007-09-26 Thread [EMAIL PROTECTED]
Does anyone know how to get rsh working on zone2? I can zlogin to both zone1 and zone2 ok. xc12p11-b1# zoneadm list -cv ID NAME STATUS PATH BRANDIP 0 global running/ native shared 6 xc12p11-b1-ce0-

[zones-discuss] Liveupgrade, md devices and zones roots need to be bootable ?

2007-09-26 Thread Gael
Hello, We are building zones over veritas volumes, I have been able to liveupgrade systems with zones, but I'm now trying to reduce the downtime, liveupgrade doesn't seem to like using /dev/vx devices, therefore I tried various ways, the working one was to create a new /zones filesystem using a s

Re: [zones-discuss] list of default /dev nodes in non-global zones

2007-09-26 Thread Sebastien Roy
Edward Pilatowicz wrote: > well, there used to be in s10. they have been removed in snv. Thanks for the reply. Was the general approach then to have a process in the non-global zone grab a door descriptor from the kernel somehow? How did the daemon in the global zone know where a particular d