Comment 3 for bug 941955

Revision history for this message
Scott Moser (smoser) wrote : Re: [Bug 941955] Re: util.islxc() method is broken without is-lxc-container

On Mon, 27 Feb 2012, Serge Hallyn wrote:

> (I suspect you know this, but it's kind of hard to find because it's
> been renamed and switched packages: you should now use /bin/running-in-
> container which ships with upstart)

I did not know this. you probably should lay down a symlink or some other
way handle backward compatibility.

However, the actually "i don't have lxc-is-container" code is busted also.

It was expecting to find only a "/" in the cgroup file that it opened.