[Debian] Re: Bug#420879: vzctl: bashisms in init script
Ola Lundqvist
ola at opalsys.net
Wed Apr 25 06:47:12 EDT 2007
Nice, thanks.
// Ola
On Wed, Apr 25, 2007 at 01:19:11PM +0400, Kir Kolyshkin wrote:
> This is already fixed in vzctl git, see this commit:
> http://git.openvz.org/?p=vzctl;a=commitdiff;h=7870499cbc38d8fcc12be95cd3187b963a158545
> Will appear in vzctl-3.0.17
>
> Ola Lundqvist wrote:
> >Hi
> >
> >Thanks, I'll change that on next upload.
> >The interpreter will either be bash (hard) or the function removed.
> >
> >Regards,
> >
> >// Ola
> >
> >On Wed, Apr 25, 2007 at 10:14:07AM +0200, Georg Lehner wrote:
> >
> >>Package: vzctl
> >>Version: 3.0.16-2
> >>Severity: normal
> >>
> >>
> >>the initscript /etc/init.d/vz uses the syntax:
> >>
> >> function name ()
> >>
> >>for defining shell functions. When diverting bash to a posix compliant
> >>shell this does not work any more, it must be
> >>
> >> name ()
> >>
> >>Regards,
> >>
> >> Jorge-Le??n
> >>
> >>-- System Information:
> >>Debian Release: 4.0
> >> APT prefers oldstable
> >> APT policy: (500, 'oldstable'), (500, 'stable')
> >>Architecture: i386 (i686)
> >>Shell: /bin/sh linked to /bin/dash
> >>Kernel: Linux 2.6.18-ovz028stab023.1-enterprise
> >>Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
> >>
> >>Versions of packages vzctl depends on:
> >>ii libc6 2.3.6.ds1-13 GNU C Library: Shared
> >>libraries
> >>
> >>vzctl recommends no packages.
> >>
> >>-- no debconf information
> >>
> >>
> >>
> >
> >
>
>
--
--- Ola Lundqvist systemkonsult --- M Sc in IT Engineering ----
/ ola at opalsys.net Annebergsslingan 37 \
| opal at debian.org 654 65 KARLSTAD |
| http://opalsys.net/ Mobile: +46 (0)70-332 1551 |
\ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 /
---------------------------------------------------------------
More information about the Debian
mailing list