Ola Lundqvist wrote:
> Micah do you have an opinion about this?
> 
> Regards,
> 

I do -- its complicated because the initscript takes care of various
corner cases, but I've worked something out with vagrant on IRC and have
committed a fix to SVN.

Micah

> On Thu, Nov 23, 2006 at 04:43:59PM -0800, Vagrant Cascadian wrote:
>> Package: util-vserver
>> Version: 0.30.211-2
>> Severity: wishlist
>>
>> when starting a vserver instance manually (i.e. not MARKed to be started
>> at boot) and then shutting down the host server without manually
>> shutting down the vserver instance, the vserver instance gets shut down
>> uncleanly, and leaves filesystems uncleanly un-mounted.
>>
>> in /etc/init.d/util-vserver, there is a "forcestop" method which could
>> handle this situation more appropriately.
>>
>> would it be bad to always behave like the "forcestop" mode?
>>
>> alternately, would it be possible to add a configuration option to
>> behave like "forcestop" even when called with "stop"? patch attached.
>>
>> thanks for maintaining util-vserver, it's great! :)
>>
>> live well,
>>   vagrant
>>
>> -- System Information:
>> Debian Release: 4.0
>>   APT prefers testing
>>   APT policy: (500, 'testing')
>> Architecture: i386 (i686)
>> Shell:  /bin/sh linked to /bin/bash
>> Kernel: Linux 2.6.18-2-vserver-686
>> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
>>
>> Versions of packages util-vserver depends on:
>> ii  debconf                      1.5.8       Debian configuration management 
>> sy
>> ii  iproute                      20061002-2  Professional tools to control 
>> the 
>> ii  libbeecrypt6                 4.1.2-6     open source C library of 
>> cryptogra
>> ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
>> ii  make                         3.81-2      The GNU version of the "make" 
>> util
>> ii  net-tools                    1.60-17     The NET-3 networking toolkit
>>
>> Versions of packages util-vserver recommends:
>> ii  binutils                      2.17-3     The GNU assembler, linker and 
>> bina
>> ii  debootstrap                   0.3.3      Bootstrap a basic Debian system
>>
>> -- debconf information excluded
> 
>> --- /etc/init.d/util-vserver 2006-10-07 13:56:50.000000000 -0600
>> +++ util-vserver     2006-11-23 17:13:35.000000000 -0700
>> @@ -191,6 +191,9 @@
>>       fi
>>       # Then stop the modern vservers
>>       stop
>> +     if [ "$FORCESTOP" = "true" ]; then
>> +            forcestop
>> +     fi
>>       ;;
>>      forcestop)
>>      stop
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to