Subject: Re: [vserver] Access denied
From: Gustavo <lungpu@gmail.com>
Date: Wed, 10 Oct 2007 22:11:29 -0300
Wed, 10 Oct 2007 22:11:29 -0300
I already made the trivial checks, rlimits doesn't exist, so I suppose the
denial is about the directory or a link to it, or something like that, but
cannot find where exactly fails. That vserver installation, (host and gests)
used to work, but in some point or change it stop working. Now I cannot
start any guest, even if I recreate it, deleting first, so It appears to be
something not related to the guest itself. The point is I made some tests
with limits some weeks ago, but I deleted all the limits, and now I'm trying
to use it as plain and standard as possible. The permissions of files and
so, comparing with another installation I have working, appears to be the
same. Diff between some scripts is equel too.

I'll check dmesg and come again.

Really thanks
Gustavo


On 10/10/07, Herbert Poetzl <herbert@13thfloor.at> wrote:
>
> On Wed, Oct 10, 2007 at 01:28:29PM -0300, Gustavo wrote:
> > Hi, I'm having an issue I cannot find where us comes from, maybe
> > someone have an idea...
> >
> > When I try to start a vserver guest system (In that host I have two
> > guest created, I they were working fine until probably a test change
> > I made I don't remember... or maybe something else) it tells cannot
> > start with the following error:
> >
> > ----------
> > vlimit: fstat("/etc/vservers/planck/rlimits"): Permission denied
>
> this just states that access to /etc/vservers/planck/rlimits
> was denied, so we have to figure the reason for this denial
> first ..
>
> besides providing version numbers for the kernel, the Linux-
> VServer patch and util-vserver, I would suggest to look into
> 'dmesg' and see if some warning gets reported ... also do
> the trivial checks if that file is accessible or not from
> the host and the guest context of this guest
>
> if that fails for you, I'd suggest to pay a visit to the
> IRC channel (#vserver @ irc.oftc.net) and have a chat with
> daniel hozac or myself ...
>
> HTH,
> Herbert
>
> > An error occured while executing the vserver startup sequence; when
> > there are no other messages, it is very likely that the init-script
> > (/etc/init.d/rc 3) failed.
> >
> > Common causes are:
> > * /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm'
> >   build method knows how to deal with this, but on existing
> >   installations, appending 'true' to this file will help.
> >
> >
> > Failed to start vserver 'planck'
> > ----------
> >
> > planck is the guest's name.
> >
> > I've been looking on google and someone had this problem apparently
> > because of the barrier (in a drbd with vserver howto, I think), but I
> > was looking for changes in permissions on the filesystem, comparing
> > with another more recent installation I have made (with ok working
> > status), and the files, scripts and even file permissions appear to be
> > the same.
> >
> > Some ideas? I'm already empty of them to try :(
> >
> > Thanks a lot
> > Gustavo
>



-- 
--------------------------------------------------------------
Promové la cultura, compartí tus libros


I already made the trivial checks, rlimits doesn't exist, so I suppose the denial is about the directory or a link to it, or something like that, but cannot find where exactly fails. That vserver installation, (host and gests) used to work, but in some point or change it stop working. Now I cannot start any guest, even if I recreate it, deleting first, so It appears to be something not related to the guest itself. The point is I made some tests with limits some weeks ago, but I deleted all the limits, and now I'm trying to use it as plain and standard as possible. The permissions of files and so, comparing with another installation I have working, appears to be the same. Diff between some scripts is equel too.

I'll check dmesg and come again.

Really thanks
Gustavo


On 10/10/07, Herbert Poetzl < herbert@13thfloor.at> wrote:
On Wed, Oct 10, 2007 at 01:28:29PM -0300, Gustavo wrote:
> Hi, I'm having an issue I cannot find where us comes from, maybe
> someone have an idea...
>
> When I try to start a vserver guest system (In that host I have two
> guest created, I they were working fine until probably a test change
> I made I don't remember... or maybe something else) it tells cannot
> start with the following error:
>
> ----------
> vlimit: fstat("/etc/vservers/planck/rlimits"): Permission denied

this just states that access to /etc/vservers/planck/rlimits
was denied, so we have to figure the reason for this denial
first ..

besides providing version numbers for the kernel, the Linux-
VServer patch and util-vserver, I would suggest to look into
'dmesg' and see if some warning gets reported ... also do
the trivial checks if that file is accessible or not from
the host and the guest context of this guest

if that fails for you, I'd suggest to pay a visit to the
IRC channel (#vserver @ irc.oftc.net) and have a chat with
daniel hozac or myself ...

HTH,
Herbert

> An error occured while executing the vserver startup sequence; when
> there are no other messages, it is very likely that the init-script
> (/etc/init.d/rc 3) failed.
>
> Common causes are:
> * /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm'
>   build method knows how to deal with this, but on existing
>   installations, appending 'true' to this file will help.
>
>
> Failed to start vserver 'planck'
> ----------
>
> planck is the guest's name.
>
> I've been looking on google and someone had this problem apparently
> because of the barrier (in a drbd with vserver howto, I think), but I
> was looking for changes in permissions on the filesystem, comparing
> with another more recent installation I have made (with ok working
> status), and the files, scripts and even file permissions appear to be
> the same.
>
> Some ideas? I'm already empty of them to try :(
>
> Thanks a lot
> Gustavo



--
--------------------------------------------------------------
Promové la cultura, compartí tus libros