Package: vzctl
Version: 3.0.10-2
I'd like report at least two errors which are both in the script
/etc/init.d/vz. There might be more similar errors in the script - I
did not take a closer look.
== error 1
script /etc/init.d/vz start doesn't run correctly if dash is default
shell (/bin/sh):
The following NEW packages will be installed:
vzctl
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/157kB of archives. After unpacking 856kB will be used.
Writing extended state information...
Selecting previously deselected package vzctl.
(Reading database ... 24192 files and directories currently installed.)
Unpacking vzctl (from .../vzctl_3.0.10-2_i386.deb) ...
Setting up vzctl (3.0.10-2) ...
/etc/init.d/vz: 146: Syntax error: "(" unexpected
invoke-rc.d: initscript vz, action "start" failed.
dpkg: error processing vzctl (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
vzctl
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up vzctl (3.0.10-2) ...
/etc/init.d/vz: 146: Syntax error: "(" unexpected
invoke-rc.d: initscript vz, action "start" failed.
dpkg: error processing vzctl (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
vzctl
== error 2
directory /var/lock/subsys does not exist:
Setting up vzctl (3.0.10-2) ...
/etc/init.d/vz: line 328: /var/lock/subsys/vz_lock.7098: No such file
or directory
Can't write to /var/lock/subsys/vz_lock.7098
cat: /var/lock/subsys/vz_lock: No such file or directory
/etc/init.d/vz: line 343: /var/lock/subsys/vz_lock: No such file or directory
Starting OpenVZ: ..done
Bringing up interface venet0: ..done
Configuring interface venet0: net.ipv4.conf.venet0.send_redirects = 0
..done
touch: cannot touch `/var/lock/subsys/vz': No such file or directory
I am running Debian testing with up to date upgrades and, due to the
openvz kernel patch problem, a vanilla + openvz-patch kernel.
Thanks
Sebastian