[MDEV-22212] Validate systemd service file is correct with 'systemd-analyze verify' Created: 2020-04-10 Updated: 2023-09-19 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.4 |
| Fix Version/s: | 10.6 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Otto Kekäläinen | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Ensure our systemd service files pass validation with https://www.freedesktop.org/software/systemd/man/systemd-analyze.html
I already tested but failed to get it even running: system 1, virtual machine:
system 2, docker container:
|
| Comments |
| Comment by Otto Kekäläinen [ 2021-04-04 ] | ||||||||||
|
Maybe faust or danblack would like to take over this issue too? | ||||||||||
| Comment by Faustin Lammler [ 2021-04-30 ] | ||||||||||
|
Hi otto! Here is a snippet for docker:
The only tricky part is that you need the man page as it is referenced in the systemd unit. Warning, from `man systemd-analyze` :
You may have hit another unit file in your tests? | ||||||||||
| Comment by Daniel Black [ 2022-07-05 ] | ||||||||||
| Comment by Faustin Lammler [ 2022-07-06 ] | ||||||||||
|
danblack can you double check now that the check is activated on Buildbot? | ||||||||||
| Comment by Faustin Lammler [ 2022-07-06 ] | ||||||||||
|
I have just reverted the change since it probably needs a bit more testing. |