[MDEV-28259] aarch64 DEB packages do not have systemd file Created: 2022-04-07  Updated: 2022-04-08  Resolved: 2022-04-08

Status: Closed
Project: MariaDB Server
Component/s: Debug, Packaging
Affects Version/s: 10.3.34
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Timofey Turenko Assignee: Vicențiu Ciorbaru
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by MDEV-28260 Missing systemd service unit file on ... Closed
Relates
relates to MDBF-354 buildbot: builder aarch64-{debian-10,... Closed

 Description   

ubuntu@ip-10-1-0-100:~$ ls -la  /lib/systemd/system/mariadb.service
ls: cannot access '/lib/systemd/system/mariadb.service': No such file or directory
ubuntu@ip-10-1-0-100:~$ sudo systemctl status mariadb
Unit mariadb.service could not be found.

Tested only with 10.3, because testing with other versions is blocked by MDEV-28249 and MDEV-28258

mariadb-plugin-s3 : Depends: libcurl3 but it is not going to be installed



 Comments   
Comment by Daniel Black [ 2022-04-07 ]

Debian 10 and Ubuntu 18.04/20.04 are currently including the systemd service file.

Debian 9 - install problem (same as MDEV-28249) (could check by extracting dpkg contents directly)

Other Debian/Ubuntu version don't appear to be built on 10.3 (https://buildbot.mariadb.org/#/grid?branch=10.3)

test

for v in 1804 2004 2110 ; do echo testing Ubuntu $v; echo; podman run --arch arm64 --rm --env DEBIAN_FRONTEND=noninteractive ubuntu:"${v:0:2}.${v:2:4}" sh -c "apt-get update && apt-get install -y ca-certificates; echo 'deb [trusted=yes] https://ci.mariadb.org/23999/aarch64-ubuntu-${v/.}-deb-autobake/debs ./' > /etc/apt/sources.list.d/mariadb.list; apt-get update && apt-get install -y mariadb-server;  ls -la  /lib/systemd/system/mariadb.service" ; done
 
$ for v in 9 10 11 sid; do echo testing Debian $v; echo; podman run --arch arm64 --rm --env DEBIAN_FRONTEND=noninteractive debian:$v sh -c "apt-get update && apt-get install -y ca-certificates;  echo 'deb [trusted=yes] https://ci.mariadb.org/23999/aarch64-debian-${v}-deb-autobake/debs ./' > /etc/apt/sources.list.d/mariadb.list; apt-get update && apt-get install -y mariadb-server; ls -la  /lib/systemd/system/mariadb.service" ; done

Comment by Daniel Black [ 2022-04-08 ]

ubuntu18.04 tested and the service file is there.

The apt-cache failure in MDBF-347, meant that the autobake-deb.sh removed the systemd.

This autoremoval was manually (and aggressively - heavy key strokes where used by me) removed in MDEV-28011

Without the autobake-deb.sh to break systemd out of the package build again, this is resolved in coming releases.

Generated at Thu Feb 08 09:59:20 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.