OpenSolaris

Discussions Communities Projects Download Source Browser

Home » OpenSolaris Forums » zones » discuss

Thread: Experimental Linux 2.6 support

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 5 - Last Post: Sep 13, 2007 3:00 PM by: edp
edp

Posts: 599
From: US

Registered: 3/9/05
Experimental Linux 2.6 support
Posted: Sep 11, 2007 7:07 PM

  Click to reply to this thread Reply

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
brandz-discuss at opensolaris dot org



ggravier

Posts: 182
From: FR

Registered: 9/26/05
Re: Experimental Linux 2.6 support
Posted: Sep 13, 2007 2:16 AM   in response to: edp

  Click to reply to this thread Reply

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:
> 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
> brandz-discuss at opensolaris dot org
>
>

--
*Gilles Gravier, CISSP
*Chief Technology Strategist for Security
Open Source and Standards Evangelist

<mailto:Gilles dot Gravier at Sun dot com>
Voice :
+41 (22) 707 7856
Mobile :
+41 (79) 472 8437
Fax :
+41 (860) 79 472 8437
E-mail :
Gilles dot Gravier at Sun dot com <mailto:Gilles dot Gravier at Sun dot com>

*Sun Microsystems*
2 rue de Jargonnant
CH-1207 Geneva
Switzerland

http://www.sun.com/security/ SunIM : ggravier at sun dot com <http:// ICQ : 77488526 <http:// AIM : gillesgravier <aim:goim?screenname= Y! : ggravier <http:// Jabber : ggravier at jabber dot org/Gaim <http:// Skype : ggravier <callto:// MSN : Gilles at Gravier dot org <http:// Google : gilles dot gravier at gmail dot com <mailto:// Sent from an x64 laptop <http:// running Solaris Express Developer Edition <http:// (Nevada build 72) with GNOME 2.19 <http:// (Vermillion build 73) using Mozilla Thunderbird <http:// (v2.0.0.6)
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:
<pre wrap="">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 brandz-discuss at opensolaris dot org </pre>

--
<meta http-equiv="Content-Type" content="text/html; "> <style type="text/css"> <!-- body,td,th { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; } --> </style> <title>E-mail Signature Sun 2006</title> <meta content="Gilles Gravier" name="author"> <table style="text-align: left; width: 850px; height: 41px; color: rgb(0, 0, 0);" border="1" cellpadding="1" cellspacing="1"> <tbody> <tr> <td style="text-align: center; vertical-align: top;"> <table style="text-align: left; margin-left: auto; margin-right: auto;" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top;"></td> <td style="width: 15px;"> </td> <td nowrap="nowrap" valign="top">Gilles Gravier, CISSP
Chief Technology Strategist for Security
Open Source and Standards Evangelist

<table border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td>Voice :
</td> <td>+41 (22) 707 7856
</td> </tr> <tr> <td>Mobile :
</td> <td nowrap="nowrap">+41 (79) 472 8437
</td> </tr> <tr> <td>Fax :
</td> <td nowrap="nowrap">+41 (860) 79 472 8437
</td> </tr> <tr> <td style="vertical-align: top;">E-mail :
</td> <td style="vertical-align: top;">Gilles dot Gravier at Sun dot com
</td> </tr> </tbody> </table> </td> <td style="width: 15px;"> </td> <td style="vertical-align: top; white-space: nowrap;">Sun Microsystems
2 rue de Jargonnant
CH-1207 Geneva
Switzerland

http://www.sun.com/security/</td> <td style="width: 15px; vertical-align: top;">
</td> <td style="vertical-align: top;"> <table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td>SunIM :</td> <td>ggravier at sun dot com</td> </tr> <tr> <td style="vertical-align: top;">ICQ :
</td> <td style="vertical-align: top;">77488526
</td> </tr> <tr> <td style="vertical-align: top;">AIM :
</td> <td style="vertical-align: top;">gillesgravier
</td> </tr> <tr> <td style="vertical-align: top;">Y! :
</td> <td style="vertical-align: top;">ggravier
</td> </tr> <tr> <td style="vertical-align: top;">Jabber :
</td> <td style="vertical-align: top;">ggravier at jabber dot org/Gaim
</td> </tr> <tr> <td style="vertical-align: top;">Skype :
</td> <td style="vertical-align: top;">ggravier
</td> </tr> <tr> <td style="vertical-align: top;">MSN :
</td> <td style="vertical-align: top;">Gilles at Gravier dot org
</td> </tr> <tr> <td style="vertical-align: top;">Google :
</td> <td style="vertical-align: top;">gilles dot gravier at gmail dot com
</td> </tr> </tbody> </table>
</td> </tr> </tbody> </table> </td> </tr> <tr> <td style="text-align: center; vertical-align: top;"> <table style="margin-left: auto; margin-right: auto; text-align: left; height: 18px; width: 815px;" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; text-align: center;">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)
</td> </tr> </tbody> </table> </td> </tr> </tbody> </table>
_______________________________________________ brandz-discuss mailing list brandz-discuss at opensolaris dot org

ggravier

Posts: 182
From: FR

Registered: 9/26/05
Re: Experimental Linux 2.6 support
Posted: Sep 13, 2007 2:50 AM   in response to: ggravier

  Click to reply to this thread Reply

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:
> 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:
>> 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
>> brandz-discuss at opensolaris dot org
>>
>>
>
> --
> *Gilles Gravier, CISSP
> *Chief Technology Strategist for Security
> Open Source and Standards Evangelist
>
> <mailto:Gilles dot Gravier at Sun dot com>
> Voice :
> +41 (22) 707 7856
> Mobile :
> +41 (79) 472 8437
> Fax :
> +41 (860) 79 472 8437
> E-mail :
> Gilles dot Gravier at Sun dot com <mailto:Gilles dot Gravier at Sun dot com>
>
> *Sun Microsystems*
> 2 rue de Jargonnant
> CH-1207 Geneva
> Switzerland
>
> http://www.sun.com/security/
>
> SunIM : ggravier at sun dot com <http://
> ICQ :
> 77488526 <http://
> AIM :
> gillesgravier <aim:goim?screenname=
> Y! :
> ggravier <http://
> Jabber :
> ggravier at jabber dot org/Gaim <http://
> Skype :
> ggravier <callto://
> MSN :
> Gilles at Gravier dot org <http://
> Google :
> gilles dot gravier at gmail dot com <mailto://
>
>
> Sent from an x64 laptop
> <http:// running Solaris
> Express Developer Edition
> <http:// (Nevada
> build 72) with GNOME 2.19
> <http:// (Vermillion build 73)
> using Mozilla Thunderbird <http:// (v2.0.0.6)
>
>

--
*Gilles Gravier, CISSP
*Chief Technology Strategist for Security
Open Source and Standards Evangelist

<mailto:Gilles dot Gravier at Sun dot com>
Voice :
+41 (22) 707 7856
Mobile :
+41 (79) 472 8437
Fax :
+41 (860) 79 472 8437
E-mail :
Gilles dot Gravier at Sun dot com <mailto:Gilles dot Gravier at Sun dot com>

*Sun Microsystems*
2 rue de Jargonnant
CH-1207 Geneva
Switzerland

http://www.sun.com/security/ SunIM : ggravier at sun dot com <http:// ICQ : 77488526 <http:// AIM : gillesgravier <aim:goim?screenname= Y! : ggravier <http:// Jabber : ggravier at jabber dot org/Gaim <http:// Skype : ggravier <callto:// MSN : Gilles at Gravier dot org <http:// Google : gilles dot gravier at gmail dot com <mailto:// Sent from an x64 laptop <http:// running Solaris Express Developer Edition <http:// (Nevada build 72) with GNOME 2.19 <http:// (Vermillion build 73) using Mozilla Thunderbird <http:// (v2.0.0.6)
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:
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> 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:
<pre wrap="">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 brandz-discuss at opensolaris dot org </pre>

--
<meta http-equiv="Content-Type" content="text/html; "> <style type="text/css"> <!-- body,td,th { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; } --> </style> <title>E-mail Signature Sun 2006</title> <meta content="Gilles Gravier" name="author"> <table style="text-align: left; width: 850px; height: 41px; color: rgb(0, 0, 0);" border="1" cellpadding="1" cellspacing="1"> <tbody> <tr> <td style="text-align: center; vertical-align: top;"> <table style="text-align: left; margin-left: auto; margin-right: auto;" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top;"></td> <td style="width: 15px;"> </td> <td nowrap="nowrap" valign="top">Gilles Gravier, CISSP
Chief Technology Strategist for Security
Open Source and Standards Evangelist

<table border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td>Voice :
</td> <td>+41 (22) 707 7856
</td> </tr> <tr> <td>Mobile :
</td> <td nowrap="nowrap">+41 (79) 472 8437
</td> </tr> <tr> <td>Fax :
</td> <td nowrap="nowrap">+41 (860) 79 472 8437
</td> </tr> <tr> <td style="vertical-align: top;">E-mail :
</td> <td style="vertical-align: top;">Gilles dot Gravier at Sun dot com
</td> </tr> </tbody> </table> </td> <td style="width: 15px;"> </td> <td style="vertical-align: top; white-space: nowrap;">Sun Microsystems
2 rue de Jargonnant
CH-1207 Geneva
Switzerland

http://www.sun.com/security/</td> <td style="width: 15px; vertical-align: top;">
</td> <td style="vertical-align: top;"> <table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td>SunIM :</td> <td>ggravier at sun dot com</td> </tr> <tr> <td style="vertical-align: top;">ICQ :
</td> <td style="vertical-align: top;">77488526
</td> </tr> <tr> <td style="vertical-align: top;">AIM :
</td> <td style="vertical-align: top;">gillesgravier
</td> </tr> <tr> <td style="vertical-align: top;">Y! :
</td> <td style="vertical-align: top;">ggravier
</td> </tr> <tr> <td style="vertical-align: top;">Jabber :
</td> <td style="vertical-align: top;">ggravier at jabber dot org/Gaim
</td> </tr> <tr> <td style="vertical-align: top;">Skype :
</td> <td style="vertical-align: top;">ggravier
</td> </tr> <tr> <td style="vertical-align: top;">MSN :
</td> <td style="vertical-align: top;">Gilles at Gravier dot org
</td> </tr> <tr> <td style="vertical-align: top;">Google :
</td> <td style="vertical-align: top;">gilles dot gravier at gmail dot com
</td> </tr> </tbody> </table>
</td> </tr> </tbody> </table> </td> </tr> <tr> <td style="text-align: center; vertical-align: top;"> <table style="margin-left: auto; margin-right: auto; text-align: left; height: 18px; width: 815px;" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; text-align: center;">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)
</td> </tr> </tbody> </table> </td> </tr> </tbody> </table>

--
<meta http-equiv="Content-Type" content="text/html; "> <style type="text/css"> <!-- body,td,th { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; } --> </style> <title>E-mail Signature Sun 2006</title> <meta content="Gilles Gravier" name="author"> <table style="text-align: left; width: 850px; height: 41px; color: rgb(0, 0, 0);" border="1" cellpadding="1" cellspacing="1"> <tbody> <tr> <td style="text-align: center; vertical-align: top;"> <table style="text-align: left; margin-left: auto; margin-right: auto;" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top;"></td> <td style="width: 15px;"> </td> <td nowrap="nowrap" valign="top">Gilles Gravier, CISSP
Chief Technology Strategist for Security
Open Source and Standards Evangelist

<table border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td>Voice :
</td> <td>+41 (22) 707 7856
</td> </tr> <tr> <td>Mobile :
</td> <td nowrap="nowrap">+41 (79) 472 8437
</td> </tr> <tr> <td>Fax :
</td> <td nowrap="nowrap">+41 (860) 79 472 8437
</td> </tr> <tr> <td style="vertical-align: top;">E-mail :
</td> <td style="vertical-align: top;">Gilles dot Gravier at Sun dot com
</td> </tr> </tbody> </table> </td> <td style="width: 15px;"> </td> <td style="vertical-align: top; white-space: nowrap;">Sun Microsystems
2 rue de Jargonnant
CH-1207 Geneva
Switzerland

http://www.sun.com/security/</td> <td style="width: 15px; vertical-align: top;">
</td> <td style="vertical-align: top;"> <table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td>SunIM :</td> <td>ggravier at sun dot com</td> </tr> <tr> <td style="vertical-align: top;">ICQ :
</td> <td style="vertical-align: top;">77488526
</td> </tr> <tr> <td style="vertical-align: top;">AIM :
</td> <td style="vertical-align: top;">gillesgravier
</td> </tr> <tr> <td style="vertical-align: top;">Y! :
</td> <td style="vertical-align: top;">ggravier
</td> </tr> <tr> <td style="vertical-align: top;">Jabber :
</td> <td style="vertical-align: top;">ggravier at jabber dot org/Gaim
</td> </tr> <tr> <td style="vertical-align: top;">Skype :
</td> <td style="vertical-align: top;">ggravier
</td> </tr> <tr> <td style="vertical-align: top;">MSN :
</td> <td style="vertical-align: top;">Gilles at Gravier dot org
</td> </tr> <tr> <td style="vertical-align: top;">Google :
</td> <td style="vertical-align: top;">gilles dot gravier at gmail dot com
</td> </tr> </tbody> </table>
</td> </tr> </tbody> </table> </td> </tr> <tr> <td style="text-align: center; vertical-align: top;"> <table style="margin-left: auto; margin-right: auto; text-align: left; height: 18px; width: 815px;" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; text-align: center;">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)
</td> </tr> </tbody> </table> </td> </tr> </tbody> </table>
_______________________________________________ brandz-discuss mailing list brandz-discuss at opensolaris dot org

nilsn

Posts: 312
From: Burlington, MA

Registered: 6/13/05
Re: Experimental Linux 2.6 support
Posted: Sep 13, 2007 5:08 AM   in response to: ggravier

  Click to reply to this thread Reply

On Thu 09/13/07 at 11:16 AM, Gilles dot Gravier at Sun dot 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-discuss at opensolaris dot org



ggravier

Posts: 182
From: FR

Registered: 9/26/05
Re: Experimental Linux 2.6 support
Posted: Sep 13, 2007 12:09 PM   in response to: nilsn

  Click to reply to this thread Reply

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 dot Gravier at Sun dot 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 dot Gravier at Sun dot com>
Voice :
+41 (22) 707 7856
Mobile :
+41 (79) 472 8437
Fax :
+41 (860) 79 472 8437
E-mail :
Gilles dot Gravier at Sun dot com <mailto:Gilles dot Gravier at Sun dot com>

*Sun Microsystems*
Strategic Insight Office
2 rue de Jargonnant
CH-1207 Geneva
Switzerland

http://www.sun.com/security/ SunIM : ggravier at sun dot com <http:// ICQ : 77488526 <http:// AIM : gillesgravier <aim:goim?screenname= Y! : ggravier <http:// Jabber : ggravier at jabber dot org/Gaim <http:// Skype : ggravier <callto:// MSN : Gilles at Gravier dot org <http:// Google : gilles dot gravier at gmail dot com <mailto:// This mail was sent through Sun EdgeMail using Mozilla Thunderbird <http://
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:
<pre wrap="">On Thu 09/13/07 at 11:16 AM, Gilles dot Gravier at Sun dot COM wrote: </pre>
<pre wrap="">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! </pre>
<pre wrap=""><!----> 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. </pre> <blockquote type="cite"> <pre wrap="">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? :) </pre> </blockquote> <pre wrap=""><!----> 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. </pre>
<pre wrap="">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. </pre>
<pre wrap=""><!----> 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 </pre> </blockquote> <br> <div class="moz-signature">-- <br> <meta http-equiv="Content-Type" content="text/html; "> <style type="text/css"> <!-- body,td,th { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; } --> </style> <title>E-mail Signature Sun 2006</title> <meta content="Gilles Gravier" name="author"> <table style="text-align: left; width: 850px; height: 41px; color: rgb(0, 0, 0);" border="1" cellpadding="1" cellspacing="1"> <tbody> <tr> <td style="text-align: center; vertical-align: top;"> <table style="text-align: left; margin-left: auto; margin-right: auto;" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top;"></td> <td style="width: 15px;"> </td> <td nowrap="nowrap" valign="top">Gilles Gravier, CISSP
Chief Technology Strategist for Security

<table border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td>Voice :
</td> <td>+41 (22) 707 7856
</td> </tr> <tr> <td>Mobile :
</td> <td nowrap="nowrap">+41 (79) 472 8437
</td> </tr> <tr> <td>Fax :
</td> <td nowrap="nowrap">+41 (860) 79 472 8437
</td> </tr> <tr> <td style="vertical-align: top;">E-mail :
</td> <td style="vertical-align: top;">Gilles dot Gravier at Sun dot com
</td> </tr> </tbody> </table> </td> <td style="width: 15px;"> </td> <td style="vertical-align: top; white-space: nowrap;">Sun Microsystems
Strategic Insight Office
2 rue de Jargonnant
CH-1207 Geneva
Switzerland

http://www.sun.com/security/</td> <td style="width: 15px; vertical-align: top;">
</td> <td style="vertical-align: top;"> <table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td>SunIM :</td> <td>ggravier at sun dot com</td> </tr> <tr> <td style="vertical-align: top;">ICQ :
</td> <td style="vertical-align: top;">77488526
</td> </tr> <tr> <td style="vertical-align: top;">AIM :
</td> <td style="vertical-align: top;">gillesgravier
</td> </tr> <tr> <td style="vertical-align: top;">Y! :
</td> <td style="vertical-align: top;">ggravier
</td> </tr> <tr> <td style="vertical-align: top;">Jabber :
</td> <td style="vertical-align: top;">ggravier at jabber dot org/Gaim
</td> </tr> <tr> <td style="vertical-align: top;">Skype :
</td> <td style="vertical-align: top;">ggravier
</td> </tr> <tr> <td style="vertical-align: top;">MSN :
</td> <td style="vertical-align: top;">Gilles at Gravier dot org
</td> </tr> <tr> <td style="vertical-align: top;">Google :
</td> <td style="vertical-align: top;">gilles dot gravier at gmail dot com
</td> </tr> </tbody> </table>
</td> </tr> </tbody> </table> </td> </tr> <tr> <td style="text-align: center; vertical-align: top;"> <table style="margin-left: auto; margin-right: auto; text-align: left; height: 18px; width: 815px;" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td style="vertical-align: top; text-align: center;">This mail was sent through Sun EdgeMail using Mozilla Thunderbird 
</td> </tr> </tbody> </table> </td> </tr> </tbody> </table>
_______________________________________________ brandz-discuss mailing list brandz-discuss at opensolaris dot org

edp

Posts: 599
From: US

Registered: 3/9/05
Re: Experimental Linux 2.6 support
Posted: Sep 13, 2007 3:00 PM   in response to: ggravier

  Click to reply to this thread Reply

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 dot Gravier at Sun dot 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 dot Gravier at Sun dot com>
> Voice :
> +41 (22) 707 7856
> Mobile :
> +41 (79) 472 8437
> Fax :
> +41 (860) 79 472 8437
> E-mail :
> Gilles dot Gravier at Sun dot com <mailto:Gilles dot Gravier at Sun dot com>
>
> *Sun Microsystems*
> Strategic Insight Office
> 2 rue de Jargonnant
> CH-1207 Geneva
> Switzerland
>
> http://www.sun.com/security/
>
> SunIM : ggravier at sun dot com <http://
> ICQ :
> 77488526 <http://
> AIM :
> gillesgravier <aim:goim?screenname=
> Y! :
> ggravier <http://
> Jabber :
> ggravier at jabber dot org/Gaim <http://
> Skype :
> ggravier <callto://
> MSN :
> Gilles at Gravier dot org <http://
> Google :
> gilles dot gravier at gmail dot com <mailto://
>
>
> This mail was sent through Sun EdgeMail using Mozilla Thunderbird
> <http://
>
>
_______________________________________________
brandz-discuss mailing list
brandz-discuss at opensolaris dot org






Terms of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
Copyright © 1995-2005 Sun Microsystems, Inc.