[Debian] Re: Bug#438798: Deinstalling vzctl in VE crashes VE

Kir Kolyshkin kir at openvz.org
Mon Aug 20 15:28:34 EDT 2007


Joachim,

I see two problems here -- first is vzctl not detecting it is running
inside a VE, and second is "crash". First problem is clear, we will fix
it in vzctl.

As for the second one -- can you please be more specific and describe
what does "crash" means? Is that the deinstallation process that fails
to deinstal vzctl? Or is that your VE that was like shot down? Or
something else?

Ola Lundqvist wrote:
> Hi
>
> Thanks for the report. I'll check with upstream about this.
>
> I think the problem is in the kernel, not in vzctl.
>
> Maybe a check would be nice to have though.
>
> Best regards,
>
> // Ola
>
> On Sun, Aug 19, 2007 at 09:09:51PM +0200, Joachim Reichel wrote:
>   
>> Package: vzctl
>> Version: 3.0.11-13
>>
>> Hi,
>>
>> I have a virtual server from a commercial provider. The VEs are managed via
>> Virtuozzo. When I deinstall vzctl my VE, the VE crashes:
>>
>> $ apt-get install vzctl
>> Reading package lists... Done
>> Building dependency tree... Done
>> The following extra packages will be installed:
>>   vzquota
>> Suggested packages:
>>   kernel-patch-openvz
>> The following NEW packages will be installed:
>>   vzctl vzquota
>> 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
>> Need to get 0B/231kB of archives.
>> After unpacking 1020kB of additional disk space will be used.
>> Do you want to continue [Y/n]?
>> Selecting previously deselected package vzquota.
>> (Reading database ... 22591 files and directories currently installed.)
>> Unpacking vzquota (from .../vzquota_3.0.8-2_i386.deb) ...
>> Selecting previously deselected package vzctl.
>> Unpacking vzctl (from .../vzctl_3.0.11-13_i386.deb) ...
>> Setting up vzquota (3.0.8-2) ...
>> Setting up vzctl (3.0.11-13) ...
>>
>> $ apt-get remove --purge vzquota vzctl
>> Reading package lists... Done
>> Building dependency tree... Done
>> The following packages will be REMOVED:
>>   vzctl* vzquota*
>> 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
>> Need to get 0B of archives.
>> After unpacking 1020kB disk space will be freed.
>> Do you want to continue [Y/n]?
>> (Reading database ... 22735 files and directories currently installed.)
>> Removing vzctl ...
>> Shutting down VPS 1144987
>> Shutting down VPS 1144987
>> Shutting down VPS 1144987
>> Stopping OpenVZ: 
>> [crash]
>>
>> Note that 1144987 is the ID of my VE, that is, vzctl tries to shut down the
>> VE from *inside* the VE. Then it tries to stop OpenVZ and crashes.
>>
>> Can please someone more familiar with OpenVZ check whether this problem also
>> occurs if the host node does not run Virtuozzo, but OpenVZ?
>>
>> Shouldn't there be some kind of check whether vzctl runs on the host node
>> or in the VE?
>>
>> Regards,
>>   Joachim
>>
>>
>>     
>
>   



More information about the Debian mailing list