Hi
Thanks for reporting. I assume that the same problem do not occur when
bash is used as default shell, right?
Regards,
// Ola
On Sat, Aug 12, 2006 at 05:15:46PM +0200, [EMAIL PROTECTED] wrote:
>
> 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
>
>
>
--
--------------------- 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]