summaryrefslogtreecommitdiff
path: root/sql/ha_isammrg.h
diff options
context:
space:
mode:
authorArnaud Rebillout <arnaudr@kali.org>2021-03-19 17:11:04 +0700
committerAnel Husakovic <anel@mariadb.org>2021-04-06 17:20:43 +0200
commit82a2ea64b47ba7d4f10019418f84a0f3131d1c11 (patch)
tree5ff49df05385f06a5df615a737a41c13fa414665 /sql/ha_isammrg.h
parentc32edd75155129fbfe353aed6402374d40e63b65 (diff)
downloadmariadb-git-bb-10.2-anel-systemdpatch.tar.gz
Fix postinst trigger when systemd is not running (Closes: #983563)bb-10.2-anel-systemdpatch
Checking for the existence of the systemctl command only tells us that systemd is installed, however it does not tell us if systemd is running. What we really want to do here is reload systemd if it's installed AND if it's running. The usual way to check if systemd is running is to check for the existence of '/run/systemd/system'. Why would systemd be installed but not running? This is something that happens when one sets up or upgrade a system in a chroot or container. For more details refer to the bug report: <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983563> Closes PR #1787
Diffstat (limited to 'sql/ha_isammrg.h')
0 files changed, 0 insertions, 0 deletions