Skip to content

Commit 8ea190f

Browse files
adivinhoVarunNagaraju
authored andcommitted
PS-9129 Deb12 service is not running after non-pro to pro update
1 parent 590e6cf commit 8ea190f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

build-ps/debian/percona-server-server.postinst

+1
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ EOF
175175
set +e
176176

177177
else
178+
chmod +x /etc/init.d/mysql || true
178179
# If the existing config file is a proper file, we back it up
179180
if [ -f "/etc/mysql/my.cnf" ] && [ ! -L "/etc/mysql/my.cnf" ]; then
180181
cp /etc/mysql/my.cnf /etc/mysql/my.cnf.bak

build-ps/debian/rules

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ ifeq ($(FIPSMODE),1)
1515
COMPILATION_COMMENT_RELEASE = "Percona Server Pro (GPL), Release $(PS_VERSION_EXTRA), Revision $(REVISION)"
1616
COMPILATION_COMMENT_DEBUG = "Percona Server Pro - Debug (GPL), Release $(PS_VERSION_EXTRA), Revision $(REVISION)"
1717
else
18-
COMPILATION_COMMENT_RELEASE = "Percona Server (GPL), Release $(PS_VERSION_EXTRA), Revision $(REVISION)"$
19-
COMPILATION_COMMENT_DEBUG = "Percona Server - Debug (GPL), Release $(PS_VERSION_EXTRA), Revision $(REVISION)"$
18+
COMPILATION_COMMENT_RELEASE = "Percona Server (GPL), Release $(PS_VERSION_EXTRA), Revision $(REVISION)"
19+
COMPILATION_COMMENT_DEBUG = "Percona Server - Debug (GPL), Release $(PS_VERSION_EXTRA), Revision $(REVISION)"
2020
endif
2121
TOKUDB_BACKUP_VERSION = "@@TOKUDB_BACKUP_VERSION@@"
2222

@@ -228,6 +228,7 @@ override_dh_installinit:
228228
# dh_apparmor -ppercona-mysql-router --profile-name=usr.bin.mysqlrouter
229229
dh_systemd_enable --name=mysql; dh_systemd_enable --no-enable --name=mysql@
230230
dh_installinit --name=mysql -- defaults 19 21
231+
chmod +x debian/percona-server-server/etc/init.d/mysql || true
231232
dh_installinit --name=mysqlrouter -- defaults 19 21
232233
dh_systemd_start --restart-after-upgrade
233234
touch $@

0 commit comments

Comments
 (0)