Package: vzctl
Version: 3.0.22-14
Severity: critical
Justification: breaks unrelated software


OpenVZ generates /etc/init.d/vzquota on every reboot of a container. Since 
Debian/Squeeze
makes use of insserv, it's required that all startup scripts include LSB tags. 
If you
don't this results in the following errors when trying to install software:

insserv: warning: script 'S06vzquota' missing LSB tags and overrides
insserv: warning: script is corrupt or invalid: /etc/init.d/../rc6.d/S00vzreboot
insserv: warning: script 'vzquota' missing LSB tags and overrides
insserv: There is a loop at service vzquota if started
insserv: There is a loop between service vzquota and checkroot if started
insserv:  loop involving service checkroot at depth 3
insserv:  loop involving service mountdevsubfs at depth 2
insserv: There is a loop between service single and mountnfs if started
insserv:  loop involving service mountnfs at depth 3
insserv:  loop involving service networking at depth 2
insserv:  loop involving service screen-cleanup at depth 6
insserv: There is a loop at service single if started
insserv:  loop involving service single at depth 2
insserv:  loop involving service vzquota at depth 1
insserv:  loop involving service rsyslog at depth 1
insserv:  loop involving service ifupdown-clean at depth 4
insserv:  loop involving service mountnfs-bootclean at depth 8
 is including insserv and requires all rc scripts to have LSB Tags.
insserv: Starting vzquota depends on single and therefore on system facility 
`$all' which can not be true!
insserv: Starting vzquota depends on single and therefore on system facility 
`$all' which can not be true!
insserv: Starting vzquota depends on single and therefore on system facility 
`$all' which can not be true!
insserv: Starting vzquota depends on single and therefore on system facility 
`$all' which can not be true!


I updated the script which generates vzquota to include LSB tags with it.
Please fix that in the package or report it to upstream.

------------------------- /etc/vz/dists/scripts/set_ugid_quota.sh

--- set_ugid_quota.sh 2010-08-29 12:44:39.000000000 +0000
+++ set_ugid_quota.sh.works 2010-08-29 12:44:58.000000000 +0000
@@ -32,6 +32,16 @@ if [ -z "$MAJOR" ]; then
    exit 0
 fi
 echo -e '#!/bin/sh
+### BEGIN INIT INFO
+# Provides: vzquota
+# Required-Start: $all
+# Required-Stop: $all
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Start vzquota at the end of boot
+# Description: This command is used to configure and see disk quota statistics 
for Containers.
+### END INIT INFO
+
 start() {
    [ -e "/dev/'${DEVFS}'" ] || mknod /dev/'${DEVFS}' b '$MAJOR' '$MINOR'
    rm -f /etc/mtab >/dev/null 2>&1

-------------------------

Regards,
  Stefan.

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-openvz-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages vzctl depends on:
ii  iproute                     20080725-2   networking and traffic control too
ii  libc6                       2.7-18lenny4 GNU C Library: Shared libraries
ii  vzquota                     3.0.11-1     server virtualization solution - q

Versions of packages vzctl recommends:
ii  rsync                         3.0.3-2    fast remote file copy program (lik

Versions of packages vzctl suggests:
pn  linux-patch-openvz            <none>     (no description available)

-- no debconf information





--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to