On Tue, Apr 15, 2008 at 10:41 AM, Marcin Owsiany <marcin@owsiany.pl> wrote:
> On Tue, Apr 15, 2008 at 08:59:00AM -0600, Roberto Mello wrote:
> > I created a Debian Unstable (sid) VE through debootstratp, and I'm
> > thinking I forgot something because I get some weird behavior out of
> > that VE when I first start it:
> >
> > 1) I get a message "Mount failed for selinuxfs on /selinux".
> >
> > I've grepped everything I could and can't find references to selinux
>
> I think openvz and selinux are mutually exclusive.
I am aware of that. The Hardware Node has no SELinux enabled. It has
been running openvz for quite some time now, but this was my first
time creating a VE with Debian Sid from scratch, i.e. using
debootstrap.
>
> > 2) When I `vzctl enter <vpsid>` the root user comes out as "I have no name!"
>
> Can you paste what exactly happens?
foo-HN# vzctl start 115
<openVZ startup messages>
Mount failed for selinuxfs on /selinux
foo-HN# vzctl enter 115
I Have no name!@ve115#
> > 3) I get a SIGSEV if I try to run aptitude
>
> Perhaps it's just bad OOM handling. Try stracing it?
No. It's definitely related to the problem that happens with this VE
with Debian Sid in the first few minutes after starting it. After a
few minutes aptitude is able to start up and run just fine.
It's as if the users in /etc/passwd are not recognized by the system
for a bit. I can't "su - someotheruser" for example. After a few
minutes, everything works, but I have to figure this out because
Apache, for example, refuses to start because its www-data user just
doesn't work as soon as the VE starts up.
Anyone have a clue what's going on here?
Roberto