Re: Problem with root permissions

Sam Przyswa <[email protected]> Wed, 26 May 2021 13:07:11 +0200
Newsgroups gmane.linux.vserver
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------99CE23262C41F7450E85926C
Content-Type: text/plain; charset=iso-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

I have the firewall actived and fail2ban to secure SSH and FTP ports, my 
main problem right now is being able to reload my vserver kernel !

Sam.


Le 26/05/2021 à 12:34, Herbert Poetzl a écrit :
> On Wed, May 26, 2021 at 12:31:15PM +0200, Sam Przyswa wrote:
>> Hi,
> Hello Sam,
>
>> I use the same util-vserver version "0.30.216-pre3120-1.4" the
>> same distrib Debian 9.13 and the same custom vserver kernel,
>> but now I have an other problem, I had changed kernel to test
>> something and when I wanted to reload my vserver kernel it
>> doesn't want to install anymore I get this error:
>> -----------------
>> Hmm. There is a symbolic link /lib/modules/4.9.159-vs2.3.9.8-perso-v3/build
>>   However, I can not read it: No such file or directory
>>   Therefore, I am deleting /lib/modules/4.9.159-vs2.3.9.8-perso-v3/build
>
>> Hmm. The package shipped with a symbolic link
>> /lib/modules/4.9.159-vs2.3.9.8-perso-v3/source
>>   However, I can not read the target: No such file or directory
>>   Therefore, I am deleting /lib/modules/4.9.159-vs2.3.9.8-perso-v3/source
> That doesn't sound like the normal Unix/Linux error
> messages I'd expect to see ...
>
> You sure your server has not been taken over by some
> hostile AI?
>
>> -----------------
>> I am going crazy
> Double check the symlink, where it points to, what
> permissions it has and what state the filesystem is
> in.
>
> Best,
> Herbert
>
>> Sam.
>
>> Le 24/05/2021 à 15:07, Herbert Poetzl a écrit :
>>> On Mon, May 24, 2021 at 03:04:59AM +0200, Sam Przyswa wrote:
>>>> Hi,
>>> Hello Sam,
>>>> I have problems on Debian 9.13 with root permissions when
>>>> starting the guest I have this error message:
>>>> Fixing visibility of /proc entries for Linux-VServer
>>>> guests.../proc/net/: Operation not permitted
>>>> I have the same guest running on another machine with the same
>>>> Debian version and the same kernel, but I have to migrate it to
>>>> another machine ...
>>> Do you also use the same util-vserver and the same
>>> guest configuration or is there a difference?
>>> Also could you upload the entire startup with
>>> --debug so that we can see what is going on?
>>> Thanks,
>>> Herbert
>>>> Help.
>>>> Thanks in advance.
>>>> Sam.

--------------99CE23262C41F7450E85926C
Content-Type: text/html; charset=iso-8859-15
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=ISO-8859-15">
  </head>
  <body>
    <p>I have the firewall actived and fail2ban to secure SSH and FTP
      ports, my main problem right now is being able to reload my
      vserver kernel !</p>
    <p>Sam.</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 26/05/2021 à 12:34, Herbert Poetzl a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:[email protected]">
      <pre class="moz-quote-pre" wrap="">On Wed, May 26, 2021 at 12:31:15PM +0200, Sam Przyswa wrote:
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">Hi,
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
Hello Sam,

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">I use the same util-vserver version "0.30.216-pre3120-1.4" the
same distrib Debian 9.13 and the same custom vserver kernel,
but now I have an other problem, I had changed kernel to test
something and when I wanted to reload my vserver kernel it
doesn't want to install anymore I get this error:
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">-----------------
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">Hmm. There is a symbolic link /lib/modules/4.9.159-vs2.3.9.8-perso-v3/build
 However, I can not read it: No such file or directory
 Therefore, I am deleting /lib/modules/4.9.159-vs2.3.9.8-perso-v3/build
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">Hmm. The package shipped with a symbolic link 
/lib/modules/4.9.159-vs2.3.9.8-perso-v3/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/4.9.159-vs2.3.9.8-perso-v3/source
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
That doesn't sound like the normal Unix/Linux error
messages I'd expect to see ...

You sure your server has not been taken over by some
hostile AI?

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">-----------------
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">I am going crazy
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
Double check the symlink, where it points to, what
permissions it has and what state the filesystem is
in.

Best,
Herbert

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">Sam.
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">Le 24/05/2021 à 15:07, Herbert Poetzl a écrit :
</pre>
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">On Mon, May 24, 2021 at 03:04:59AM +0200, Sam Przyswa wrote:
</pre>
          <blockquote type="cite">
            <pre class="moz-quote-pre" wrap="">Hi,
</pre>
          </blockquote>
          <pre class="moz-quote-pre" wrap="">Hello Sam,
</pre>
        </blockquote>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre class="moz-quote-pre" wrap="">I have problems on Debian 9.13 with root permissions when
starting the guest I have this error message:
Fixing visibility of /proc entries for Linux-VServer
guests.../proc/net/: Operation not permitted
I have the same guest running on another machine with the same
Debian version and the same kernel, but I have to migrate it to
another machine ...
</pre>
          </blockquote>
          <pre class="moz-quote-pre" wrap="">Do you also use the same util-vserver and the same
guest configuration or is there a difference?
</pre>
        </blockquote>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">Also could you upload the entire startup with
--debug so that we can see what is going on?
</pre>
        </blockquote>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">Thanks,
Herbert
</pre>
        </blockquote>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre class="moz-quote-pre" wrap="">Help.
Thanks in advance.
Sam.
</pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
  </body>
</html>

--------------99CE23262C41F7450E85926C--