#778678 mysql-server: still some bashism

Package:
mysql-server
Source:
mysql-8.0
Description:
MySQL database server and system database setup
Submitter:
Bjoern Boschman
Date:
2021-01-15 15:15:02 UTC
Severity:
important
#778678#5
Date:
2015-02-18 11:29:21 UTC
From:
To:
Hi guys,

unfortunatelly i found some bashism still used.

additions/echo_stderr:#!/bin/bash
additions/mysql-systemd-start:#!/bin/bash
additions/debian-start:#!/bin/bash
additions/debian-start.inc.sh:#!/bin/bash
mysql-common.postrm:#!/bin/bash
mysql-server-5.6.config:#!/bin/bash
mysql-server-5.6.mysql.init:#!/bin/bash
mysql-server-5.6.postinst:#!/bin/bash
mysql-server-5.6.postrm:#!/bin/bash
mysql-server-5.6.preinst:#!/bin/bash
mysql-server-5.6.prerm:#!/bin/bash

this also applies to mysql-5.5 and mariadb-10

#778678#10
Date:
2015-02-18 12:18:30 UTC
From:
To:
That shouldn't be a problem as long as they use /bin/bash. But I won't
mind if you get rid of the bashisms and convert them to /bin/sh.

Regards,

Norvald H. Ryeng

#778678#15
Date:
2015-02-18 12:42:49 UTC
From:
To:
now I'm confused - I thought it should b a noGo to use /bin/bash
within maintainer scripts - but it seems to apply more to init scripts
rather then additional scripts.
can anybody enlighten me?

2015-02-18 13:18 GMT+01:00 Norvald H. Ryeng <norvald.ryeng@oracle.com>:

#778678#20
Date:
2015-02-18 12:51:07 UTC
From:
To:
AFAIK the rule is to not use bash specific syntax (bashisms) in scripts
run with /bin/sh. If you use /bin/bash, you can use all the bashisms you
want.

Of course, sticking to strict POSIX sh is generally a good thing, but I
think we have more important things to work on just now.

Regards,

Norvald H. Ryeng

#778678#25
Date:
2015-02-18 12:57:59 UTC
From:
To:
Right and I am using bash specific stuff quite frequently so this won't
be a quick fix.

#778678#30
Date:
2021-01-15 15:07:32 UTC
From:
To:
Hello,

you have reported a bug against Linhone 3.12 or earlier. This version
has been deprecated upstream for a couple of years and the old Gtk+
client has has been replaced with a new Qt-based client called
linphone-desktop. This will (hopefully) be released with Debian 11 aka
Bullseye.

We are sorry we could not deal with your bug report in time. However,
keeping your bug report open while we can neither check nor fix the
outdated client is not helpful in trying to iron out the remaining bugs
in the new client, so I have decided to close this bugreport.

Unfortunately, due to depending on Qt 5.12+ linphone-desktop cannot be
provided in buster-backports. If you can, please try the new client on
testing and report bugs. If the issue is still present please feel free
to reopen your bug.

Bernhard