[Debian] Re: Bug#420879: vzctl: bashisms in init script
Kir Kolyshkin
kir at openvz.org
Wed Apr 25 05:19:11 EDT 2007
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
>>
>>
>>
>
>
More information about the Debian
mailing list