[Pkg-samba-maint] Bug#535864: Bug#535864: ctdb: bashism in /bin/sh script

Mathieu Parent math.parent at gmail.com
Thu Jul 9 11:41:40 UTC 2009


Hi,

On Sun, Jul 5, 2009 at 8:00 PM, Raphael Geissert<atomo64 at gmail.com> wrote:
> Package: ctdb
> Severity: important
> Version: 1.0.85-1
> User: debian-release at lists.debian.org
> Usertags: goal-dash
>
> Hello maintainer,
>
> While performing an archive wide checkbashisms (from the 'devscripts' package)
> check I've found your package containing a /bin/sh script making use
> of a bashism.
>
> checkbashisms' output:
>> possible bashism in ./etc/ctdb/events.d/00.ctdb line 31 (time):
>>         ( time ctdb vacuum 200000 -T 30; time ctdb repack -T 30 ) >
>> $CTDB_BASE/state/vacuum.log 2>&1 &
>
>
> (...)

Thanks for reporting this bug. This one follows the previous
"bashisms" bug: #530064. I have corrected the various errors (see
[diff])

For the "time" command, as this is not a mandatory command, I have put
it in a "if". So, the checkbashism script still complains.

What should I do about this bug report ?
Also, what is the recommended action about the "time" command?

Regards

Mathieu Parent

[diff]: http://svn.debian.org/wsvn/pkg-samba/trunk/ctdb/debian/patches/50-fix-bashism.diff





More information about the Pkg-samba-maint mailing list