Bug#364179: util-vserver: all vservers starts at boot time

2006-04-21 Thread Grzegorz Kolorz
Package: util-vserver
Version: 0.30.210-8
Severity: normal

At boot time starts always all vservers, not only marked to start.
Variable $MARK in /etc/vservers//apps/init/mark has not any
impact on it .
Attached patch for start-vservers script fix that problem.
 
-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.alien
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages util-vserver depends on:
ii  debconf   1.4.72 Debian configuration management sy
ii  iproute   20051007-4 Professional tools to control the 
ii  libbeecrypt6  4.1.2-4open source C library of cryptogra
ii  libc6 2.3.6-7GNU C Library: Shared libraries
ii  make  3.81-1 The GNU version of the "make" util
ii  net-tools 1.60-17The NET-3 networking toolkit

Versions of packages util-vserver recommends:
ii  binutils 2.16.1cvs20060413-1 The GNU assembler, linker and bina

-- debconf information:
  util-vserver/postrm_remove_vserver_configs: false
* util-vserver/start_on_boot: true
  util-vserver/prerm_stop_running_vservers: true

*** start-vservers.diff
--- ./orig/start-vservers   2006-04-21 21:04:32.0 +0200
+++ ./start-vservers2006-04-21 21:02:07.0 +0200
@@ -105,7 +105,7 @@
(--help)showHelp$0 ;;
(--version) showVersion $0 ;;
(-c)CONFDIR=$2; shift;;
-   (-m)OPTION_MARK=$2; OPTION_MARK_ANY=1; shift;;
+   (-m)OPTION_MARK=$2; OPTION_MARK_ANY=; shift;;
(-j)OPTION_PARALLEL=$2; shift;;
(--start)   OPTION_FLAVOR=start;;
(--stop)OPTION_FLAVOR=stop;;


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



Bug#364179: util-vserver: all vservers starts at boot time

2006-04-22 Thread Ola Lundqvist
Hi

Micah Anderson have fixed this in the svn reposiroty and is preparing
an upload soon.

Regards,

// Ola

On Fri, Apr 21, 2006 at 09:27:22PM +0200, Grzegorz Kolorz wrote:
> Package: util-vserver
> Version: 0.30.210-8
> Severity: normal
> 
> At boot time starts always all vservers, not only marked to start.
> Variable $MARK in /etc/vservers//apps/init/mark has not any
> impact on it .
> Attached patch for start-vservers script fix that problem.
>  
> -- System Information:
> Debian Release: testing/unstable
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.16.alien
> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
> 
> Versions of packages util-vserver depends on:
> ii  debconf   1.4.72 Debian configuration management 
> sy
> ii  iproute   20051007-4 Professional tools to control 
> the 
> ii  libbeecrypt6  4.1.2-4open source C library of 
> cryptogra
> ii  libc6 2.3.6-7GNU C Library: Shared libraries
> ii  make  3.81-1 The GNU version of the "make" 
> util
> ii  net-tools 1.60-17The NET-3 networking toolkit
> 
> Versions of packages util-vserver recommends:
> ii  binutils 2.16.1cvs20060413-1 The GNU assembler, linker and 
> bina
> 
> -- debconf information:
>   util-vserver/postrm_remove_vserver_configs: false
> * util-vserver/start_on_boot: true
>   util-vserver/prerm_stop_running_vservers: true
> 
> *** start-vservers.diff
> --- ./orig/start-vservers 2006-04-21 21:04:32.0 +0200
> +++ ./start-vservers  2006-04-21 21:02:07.0 +0200
> @@ -105,7 +105,7 @@
>   (--help)showHelp$0 ;;
>   (--version) showVersion $0 ;;
>   (-c)CONFDIR=$2; shift;;
> - (-m)OPTION_MARK=$2; OPTION_MARK_ANY=1; shift;;
> + (-m)OPTION_MARK=$2; OPTION_MARK_ANY=; shift;;
>   (-j)OPTION_PARALLEL=$2; shift;;
>   (--start)   OPTION_FLAVOR=start;;
>   (--stop)OPTION_FLAVOR=stop;;
> 
> 

-- 
 - Ola Lundqvist ---
/  [EMAIL PROTECTED] Annebergsslingan 37  \
|  [EMAIL PROTECTED] 654 65 KARLSTAD  |
|  +46 (0)54-10 14 30  +46 (0)70-332 1551   |
|  http://www.opal.dhs.org UIN/icq: 4912500 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---


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