On Thu, Jul 14, 2011 at 12:15:40PM +0100, Roger Leigh wrote:
> On Thu, Jul 14, 2011 at 01:01:20PM +0200, Adam Borowski wrote:
> > On Thu, Jul 14, 2011 at 11:57:29AM +0100, Roger Leigh wrote:
> > > What is the return value of ischroot in the vserver (when run as
> > > root)?
> > 
> > 2 (failure to detect)
> 
> Does /proc (/proc/1/root) exist inside the vserver?  Is /proc
> available during normal vserver operation?

It exists, but is unreadable, even to root:

[~]# ls -al /proc/1/root 
ls: cannot read symbolic link /proc/1/root: Permission denied
lrwxrwxrwx 1 root root 0 Jul 14 10:57 /proc/1/root

-- 
1KB             // Yo momma uses IPv4!



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to