Editing
Msg09336.html
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
----- [<nowiki/>[[msg09335.html|Date Prev]]][<nowiki/>[[msg09337.html|Date Next]]][<nowiki/>[[msg09335.html|Thread Prev]]][<nowiki/>[[msg09345.html|Thread Next]]][<nowiki/>[[index.html#09336|Date Index]]][<nowiki/>[[threads.html#09336|Thread Index]]] <span id="re-vserver-32bit-vserver-on-amd64"></span> = Re: [Vserver] 32bit vserver on amd64 = ----- * '''From:''' Herbert Poetzl * '''Date:''' Wed, 6 Apr 2005 08:17:10 +0200 (CEST) ----- <pre>On Wed, Apr 06, 2005 at 05:00:47PM +1200, Michal Ludvig wrote: > Hi all, > > I'm running a 32bit vserver on AMD64 host, both are SuSE 9.2 > Professional (which is obviously irrelevant here ;-) > > Started with the default config a logged in with SSH I run 'uname -m' > which gives me 'x86_64' which is wrong. I want the vserver to believe it > is actually running on x86 hardware. The chroot command must be run from > 'linux32' wrapper, something like: > > # linux32 chroot /vserver/whatever /etc/rc.d/rc 3 yes, we had the 'personality' question some time ago and I think enrico will add it to the tools sooner or later as a special config option (maybe ..../personality) > So I changed: > declare -a VSERVER_EXTRA_CMDS=() > to > declare -a VSERVER_EXTRA_CMDS=(linux32) > in vserver.functions and restarted the vserver. Now it's much better - > in SSH session to vserver 'uname -m' says 'i686' which is correct. btw, if you just want to get i686, you can also modify the utsname entry for that ... but it will mean different things (i.e. use a 64bit personality but report i686 ;) > I'd like to have this as a per-vserver config option. Can I do it somehow? > > The second "problem" (though nothing critical) is that it still reports > 'x86_64' when I run 'vserver whatever exec /bin/uname -m' instead of > logging there over SSH. Can this be fixed somehow? once this is an option, the vserver enter will honor it ... HTH, Herbert > Thanks! > > Michal Ludvig > -- > * Personal homepage: http://www.logix.cz/michal > _______________________________________________ > Vserver mailing list > Vserver@xxxxxxxxxxxxxxxxxxxxxx > http://list.linux-vserver.org/mailman/listinfo/vserver </pre> ----- * '''References''': ** '''[[msg09335.html|[Vserver] 32bit vserver on amd64]]''' *** ''From:'' Michal Ludvig * Prev by Date: '''[[msg09335.html|[Vserver] 32bit vserver on amd64]]''' * Next by Date: '''[[msg09337.html|Re: [Vserver] CentOs distribution]]''' * Previous by thread: '''[[msg09335.html|[Vserver] 32bit vserver on amd64]]''' * Next by thread: '''[[msg09345.html|[Vserver] Slight issue with Debian and vservers]]''' * Index(es): ** [[index.html#09336|'''Date''']] ** [[threads.html#09336|'''Thread''']]
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information