[MCOL-3830] systemctl cat mariadb.service does not work on all systems Created: 2020-02-23  Updated: 2020-11-12  Resolved: 2020-06-10

Status: Closed
Project: MariaDB ColumnStore
Component/s: None
Affects Version/s: 1.4.3
Fix Version/s: 1.5.1

Type: Bug Priority: Critical
Reporter: Todd Stoffel (Inactive) Assignee: Daniel Lee (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Issue split
split to MCOL-4051 Clone for MCOL-3830 systemctl cat mar... Closed
Sprint: 2020-4, 2020-5, 2020-6, 2020-7

 Description   

The new version of post-mysql-install, etc rely on systemctl, but systemd will not be running inside of a Docker container for instance.

If the systemctl binary and the mariadb.service script are present BUT systemd is not running, this will still give us a false positive. I suggest we expand the conditional check to verify if systemd is actually running.



 Comments   
Comment by Jose Rojas (Inactive) [ 2020-04-06 ]

Tested shutdown, postConfigure, start, restart, stop on both my develop branch and in Todd's docker container https://github.com/mariadb-corporation/mariadb-enterprise-columnstore-docker to make sure it's working on systems with and without systemd

Comment by Daniel Lee (Inactive) [ 2020-06-10 ]

Build verified: 1.5.0-1 (drone 20200610, build 65, commit eeb3c842)

Verified lentos 9 and 10, ubuntu 18 and 20

Comment by Daniel Lee (Inactive) [ 2020-06-10 ]

Testing for 1.4.5-1 is being tracked on MCOL-4051. Closing this one for 1.5.0-1.

Generated at Thu Feb 08 02:45:46 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.