Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[OpenVZ] detecting VZ in the VE
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
neerd
n00b
n00b


Joined: 15 Jul 2003
Posts: 14
Location: Nantes, France

PostPosted: Wed Jul 16, 2008 3:07 pm    Post subject: [OpenVZ] detecting VZ in the VE Reply with quote

I encounter a small (which may not be one ...), I'm using OpenVZ.

On my Hardware Node /proc/self/status contains:

Code:
envID:  0


which is fine, but in my Virtual Environments I found no trace of envID in /proc/self/status. Is it a normal behavior ?

This may be a problem as one of my init script rely on this value to detect if it is inside a VE.

My kernel (compiled by myself based on the gentoo openvz kernel)
Code:

GoBox ji # uname -a
Linux GoBox 2.6.24-ovz005 #5 SMP Wed Jul 2 15:24:03 CEST 2008 i686 Intel(R) Pentium(R) Dual CPU E2180 @ 2.00GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum