OpenVZ Forum


Home » General » Support » faking arch
Re: faking arch [message #3955 is a reply to message #3937] Mon, 26 June 2006 02:27 Go to previous messageGo to previous message
dlzinc
Messages: 34
Registered: March 2006
Member
The uname script only works for things that actually call /bin/uname. At the moment, I've replaced /bin/bash with a slightly modified setarch that setarch's then runs the real bash. Is there a bug open or version-eta for the vzctl setarch feature?

Something interesting...
If I do:
setarch i686 vzctl start 200
then SSH into the VPS and do uname -ar, it will say i686. If I do vzctl enter 200, it'll say x86_64.

So for now, a "cleaner" solution seems to be doing setarch to vzctl.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: HN Dropping Packets
Next Topic: OpenVZ
Goto Forum:
  


Current Time: Wed Aug 21 07:25:45 GMT 2024

Total time taken to generate the page: 0.03166 seconds