List Info

Thread: Experimental Linux 2.6 support




Experimental Linux 2.6 support
user name
2007-09-11 21:07:30
Hey all,

I'm happy to announce that with OpenSolaris build 72 and
later
we now have experimental Linux 2.6 kernel emulation support
in
the lx brand.  The work needed for this was done by Evan
Hoke
from CMU.  With his changes you can now install and run
Centos
4.x and 5.x in lx branded zones.

For more complete information about what Linux 2.6
distributions
have been tested, how to install them, what applications
have been
tested, etc, goto:

http://www.opensolaris.org/os/community/brandz/tod
o/linux_2_6/

Please note that while this support is not complete, it is
hugely
functional and should allow people to run many Linux 2.6
based
applications.  It should also make it much easier for
community
members to install Linux 2.6 based distributions, test
applications,
potentially fix problems, and contribute those fixes back to
the lx
brand.

happy hacking,
ed

ps - Thank again Evan, you rock.
_______________________________________________
brandz-discuss mailing list
brandz-discussopensolaris.org


Re: Experimental Linux 2.6 support
country flaguser name
United States
2007-09-13 04:16:29
Hi!

I have installed a ubuntu BrandZ zone! I have zlogined into it!

I have network running (i.e. the zone is configured for DHCP and actually gets the static address from the /etc/zones/ubuntu.xml configuration file)... I manually configure resolv.conf and I even get DIA from inside SWAN!

>From the zone, I can telnet, ping, SSH to anywhere outside.

But if I try to ssh to the zone, either from within the zone (ssh localhost) or from outside (ssh 10.10.10.10) I get the password prompt... I enter the password. I get logged in (I can see the user with the "who" command, and ps -u user gives me sshd and bash running)... but I don't get the prompt... can't type anything. From another session, I can kill -9 bash or sshd and that effectively kills that ssh session... but I would like to know if anybody has managed to go beyond that?

I have a 900 MB ubuntu image preconfigured with user "ubuntu" and password "ubuntu" and with Skype 1.4 and Google Earth pre installed.... if anybody has space to drop it to, I'm happy to do so. Since it contains Google Earth and Skype, it can't be published outside of SWAN, of course... only for internal use.

Gilles.

Edward Pilatowicz wrote:
eng.sun.com" type="cite">
Hey all,

I'm happy to announce that with OpenSolaris build 72 and later
we now have experimental Linux 2.6 kernel emulation support in
the lx brand.  The work needed for this was done by Evan Hoke
from CMU.  With his changes you can now install and run Centos
4.x and 5.x in lx branded zones.

For more complete information about what Linux 2.6 distributions
have been tested, how to install them, what applications have been
tested, etc, goto:

http://www.opensolaris.org/os/community/brandz/todo/linux_2_6/

Please note that while this support is not complete, it is hugely
functional and should allow people to run many Linux 2.6 based
applications.  It should also make it much easier for community

members to install Linux 2.6 based distributions, test applications,
potentially fix problems, and contribute those fixes back to the lx
brand.

happy hacking,
ed

ps - Thank again Evan, you rock.
_______________________________________________
brandz-discuss mailing list
opensolaris.org">brandz-discussopensolaris.org

  

--
E-mail<wbr> Signature Sun 2006
Sun.com" border="0">   Gilles Gravier, CISSP
Chief Technology Strategist for Security
Open Source and Standards Evangelist
Gilles.GravierSun.com">
Voice :
+41 (22) 707 7856
Mobile :
+41 (79) 472 8437
Fax :
+41 (860) 79 472 8437
E-mail :
Sun.com">Gilles.GravierSun.com
  Sun Microsystems
2 rue de Jargonnant
CH-1207 Geneva
Switzerland

http://www.sun.com/security/

SunIM : ggraviersun.com
ICQ :
77488526
AIM :
gillesgravier
Y! :
ggravier
Jabber :
ggravierjabber.org/Gaim
Skype :
ggravier
MSN :
Gravier.org">GillesGravier.org
Google :
gmail.com">gilles.graviergmail.com

Sent from an x64 laptop running Solaris Express Developer Edition (Nevada build 72) with GNOME 2.19 (Vermillion build 73) using Mozilla Thunderbird (v2.0.0.6)

View Original Image
Re: Experimental Linux 2.6 support
country flaguser name
United States
2007-09-13 04:50:58
OK... one more step for mankind... I have now managed to circumvent this...

While ssh launching the normal bash doens't seem to work, if I do launch a command it works...

So ssh -X -l ubuntu MyZone /usr/bin/xterm works fine! That's all I needed!

So I now can ssh -X -l ubuntu MyZone /usr/bin/skype and I have Skype 1.4 working.

Unfortunately, I hit a wall now... NO AUDIO. :(

Chat works, though... Cool step!

Gilles.

Gilles Gravier wrote:
Sun.com" type="cite"> Hi!

I have installed a ubuntu BrandZ zone! I have zlogined into it!

I have network running (i.e. the zone is configured for DHCP and actually gets the static address from the /etc/zones/ubuntu.xml configuration file)... I manually configure resolv.conf and I even get DIA from inside SWAN!

>From the zone, I can telnet, ping, SSH to anywhere outside.

But if I try to ssh to the zone, either from within the zone (ssh localhost) or from outside (ssh 10.10.10.10) I get the password prompt... I enter the password. I get logged in (I can see the user with the "who" command, and ps -u user gives me sshd and bash running)... but I don't get the prompt... can't type anything. From another session, I can kill -9 bash or sshd and that effectively kills that ssh session... but I would like to know if anybody has managed to go beyond that?

I have a 900 MB ubuntu image preconfigured with user "ubuntu" and password "ubuntu" and with Skype 1.4 and Google Earth pre installed.... if anybody has space to drop it to, I'm happy to do so. Since it contains Google Earth and Skype, it can't be published outside of SWAN, of course... only for internal use.

Gilles.

Edward Pilatowicz wrote:
eng.sun.com" type="cite">
Hey all,

I'm happy to announce that with OpenSolaris build 72 and later
we now have experimental Linux 2.6 kernel emulation support in
the lx brand.  The work needed for this was done by Evan Hoke
from CMU.  With his changes you can now install and run Centos
4.x and 5.x in lx branded zones.

For more complete information about what Linux 2.6 distributions
have been tested, how to install them, what applications have been
tested, etc, goto:

http://www.opensolaris.org/os/community/brandz/todo/linux_2_6/

Please note that while this support is not complete, it is hugely
functional and should allow people to run many Linux 2.6 based
applications.  It should also make it much easier for community

members to install Linux 2.6 based distributions, test applications,
potentially fix problems, and contribute those fixes back to the lx
brand.

happy hacking,
ed

ps - Thank again Evan, you rock.
_______________________________________________
brandz-discuss mailing list
opensolaris.org">brandz-discussopensolaris.org

  

--
E-mail Signature Sun 2006
Sun.com" border="0">   Gilles Gravier, CISSP
Chief Technology Strategist for Security
Open Source and Standards Evangelist
Sun.com">
Voice :
+41 (22) 707 7856
Mobile :
+41 (79) 472 8437
Fax :
+41 (860) 79 472 8437
E-mail :
Sun.com">Gilles.GravierSun.com
  Sun Microsystems
2 rue de Jargonnant
CH-1207 Geneva
Switzerland

http://www.sun.com/security/

SunIM : ggraviersun.com
ICQ :
77488526
AIM :
gillesgravier
Y! :
ggravier
Jabber :
ggravierjabber.org/Gaim
Skype :
ggravier
MSN :
Gravier.org">GillesGravier.org
Google :
gmail.com">gilles.graviergmail.com

Sent from an x64 laptop running Solaris Express Developer Edition (Nevada build 72) with GNOME 2.19 (Vermillion build 73) using Mozilla Thunderbird (v2.0.0.6)


--
E-mail<wbr> Signature Sun 2006
Sun.com" border="0">   Gilles Gravier, CISSP
Chief Technology Strategist for Security
Open Source and Standards Evangelist
Gilles.GravierSun.com">
Voice :
+41 (22) 707 7856
Mobile :
+41 (79) 472 8437
Fax :
+41 (860) 79 472 8437
E-mail :
Sun.com">Gilles.GravierSun.com
  Sun Microsystems
2 rue de Jargonnant
CH-1207 Geneva
Switzerland

http://www.sun.com/security/

SunIM : ggraviersun.com
ICQ :
77488526
AIM :
gillesgravier
Y! :
ggravier
Jabber :
ggravierjabber.org/Gaim
Skype :
ggravier
MSN :
Gravier.org">GillesGravier.org
Google :
gmail.com">gilles.graviergmail.com

Sent from an x64 laptop running Solaris Express Developer Edition (Nevada build 72) with GNOME 2.19 (Vermillion build 73) using Mozilla Thunderbird (v2.0.0.6)

View Original Image
  
Re: Experimental Linux 2.6 support
user name
2007-09-13 07:08:00
On Thu 09/13/07 at 11:16 AM, Gilles.GravierSun.COM
wrote:
> Hi!
> 
> I have installed a ubuntu BrandZ zone! I have zlogined
into it!
> 
> I have network running (i.e. the zone is configured for
DHCP and 
> actually gets the static address from the
/etc/zones/ubuntu.xml 
> configuration file)... I manually configure resolv.conf
and I even get 
> DIA from inside SWAN!

Very cool.  I'm not aware that anyone has tried dhcp inside
a Linux zone,
as it requires stack instances which weren't available when
we integrated.

> From the zone, I can telnet, ping, SSH to anywhere
outside.
> 
> But if I try to ssh to the zone, either from within the
zone (ssh 
> localhost) or from outside (ssh 10.10.10.10) I get the
password 
> prompt... I enter the password. I get logged in (I can
see the user with 
> the "who" command, and ps -u user gives me
sshd and bash running)... but 
> I don't get the prompt... can't type anything. From
another session, I 
> can kill -9 bash or sshd and that effectively kills
that ssh session... 
> but I would like to know if anybody has managed to go
beyond that? 

When you zlogin you are root, but presumably you are ssh'ing
in as a real
user?  Is that user's home directory available inside the
zone?  It sounds
like you might be waiting for the automounter to mount your
home directory.
Or, if your home directory is mounted, it might be waiting
for some other
directory in your PATH to be mounted.

I would use DTrace to stop bash as soon as it's exec()ed,
and then truss it
to see what it's trying to do when it hangs.

When you are zlogin'ed in as root, you could also try
"su - <user>" to see
if that causes the same hang. 

> I have a 900 MB ubuntu image preconfigured with user
"ubuntu" and 
> password "ubuntu" and with Skype 1.4 and
Google Earth pre installed.... 
> if anybody has space to drop it to, I'm happy to do so.
Since it 
> contains Google Earth and Skype, it can't be published
outside of SWAN, 
> of course... only for internal use.

I just made a directory for it: /ws/brandz/public/ubuntu/
(AKA: /net/tread.sfbay/export/gates/brandx/public/ubuntu/). 
The
permissions are currently set to world-writable.

Thanks,
  Nils
_______________________________________________
brandz-discuss mailing list
brandz-discussopensolaris.org


Re: Experimental Linux 2.6 support
user name
2007-09-13 17:00:11
the ssh login hang might also be an issue with pseudo
terminals,
since by default when you specify a command on the ssh
command
line a pseudo terminal is not allocated.  (you can tell ssh
to
always allocate one with the -t option.)

ed

On Thu, Sep 13, 2007 at 09:09:27PM +0200, Gilles Gravier
wrote:
> Ah but it's not getting a real DHCP address from a DHCP
server. It's
> just getting the static address defined in the zone
configuration...
>
> So basically, the zone thinks it's getting DHCP
addresses, but Solaris
> is allocating it statically... as far as I know.
>
> About the home directory... no, it's purely static.
It's actually one
> single filesystem. Nothing mounted remote. But I think
the problem is
> more around the fact that the zone maybe doesn't
completely boot...
> since it's waiting on one of the /etc/rcS.d files...
and is stuck at run
> level S... not 3 or 5...
>
> Gilles.
>
> Nils Nieuwejaar wrote:
> >On Thu 09/13/07 at 11:16 AM, Gilles.GravierSun.COM
wrote:
> >
> >>Hi!
> >>
> >>I have installed a ubuntu BrandZ zone! I have
zlogined into it!
> >>
> >>I have network running (i.e. the zone is
configured for DHCP and
> >>actually gets the static address from the
/etc/zones/ubuntu.xml
> >>configuration file)... I manually configure
resolv.conf and I even get
> >>DIA from inside SWAN!
> >>
> >
> >Very cool.  I'm not aware that anyone has tried
dhcp inside a Linux zone,
> >as it requires stack instances which weren't
available when we integrated.
> >
> >
> >>From the zone, I can telnet, ping, SSH to
anywhere outside.
> >>
> >>But if I try to ssh to the zone, either from
within the zone (ssh
> >>localhost) or from outside (ssh 10.10.10.10) I
get the password
> >>prompt... I enter the password. I get logged in
(I can see the user with
> >>the "who" command, and ps -u user
gives me sshd and bash running)... but
> >>I don't get the prompt... can't type anything.
From another session, I
> >>can kill -9 bash or sshd and that effectively
kills that ssh session...
> >>but I would like to know if anybody has managed
to go beyond that? 
> >>
> >
> >When you zlogin you are root, but presumably you
are ssh'ing in as a real
> >user?  Is that user's home directory available
inside the zone?  It sounds
> >like you might be waiting for the automounter to
mount your home directory.
> >Or, if your home directory is mounted, it might be
waiting for some other
> >directory in your PATH to be mounted.
> >
> >I would use DTrace to stop bash as soon as it's
exec()ed, and then truss it
> >to see what it's trying to do when it hangs.
> >
> >When you are zlogin'ed in as root, you could also
try "su - <user>" to see
> >if that causes the same hang.
> >
> >
> >>I have a 900 MB ubuntu image preconfigured with
user "ubuntu" and
> >>password "ubuntu" and with Skype 1.4
and Google Earth pre installed....
> >>if anybody has space to drop it to, I'm happy
to do so. Since it
> >>contains Google Earth and Skype, it can't be
published outside of SWAN,
> >>of course... only for internal use.
> >>
> >
> >I just made a directory for it:
/ws/brandz/public/ubuntu/
> >(AKA:
/net/tread.sfbay/export/gates/brandx/public/ubuntu/).  The
> >permissions are currently set to world-writable.
> >
> >Thanks,
> >  Nils
> >
>
> --
> 	  	*Gilles Gravier, CISSP
> *Chief Technology Strategist for Security
>
> <mailto:Gilles.GravierSun.com>
> Voice :
> 	+41 (22) 707 7856
> Mobile :
> 	+41 (79) 472 8437
> Fax :
> 	+41 (860) 79 472 8437
> E-mail :
> 	Gilles.GravierSun.com <mailto:Gilles.GravierSun.com>
>
> 	  	*Sun Microsystems*
> Strategic Insight Office
> 2 rue de Jargonnant
> CH-1207 Geneva
> Switzerland
>
> http://www.sun.com/secur
ity/
>
> SunIM : 	ggraviersun.com <http://im-amer.sun.com/&g
t;
> ICQ :
> 	77488526 <http://www.icq.com/whitepages/about_me.php?Uin=774885
26>
> AIM :
> 	gillesgravier
<aim:goim?screenname=gillesgravier>
> Y! :
> 	ggravier <http://profile
s.yahoo.com/ggravier>
> Jabber :
> 	ggravierjabber.org/Gaim <http://www.jabber.org/>

> Skype :
> 	ggravier <callto://ggravier>
> MSN :
> 	GillesGravier.org <http://members.msn.com/
GillesGravier.org>
> Google :
> 	gilles.graviergmail.com <mailto://gilles.graviergmail.com>
>
>
> This mail was sent through Sun EdgeMail using Mozilla
Thunderbird
> <http://www.mo
zilla.com/thunderbird/>
>
>
_______________________________________________
brandz-discuss mailing list
brandz-discussopensolaris.org


[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )