[debian-mysql] Bug#932289: Please ship "mysql" Alias in the package

Michael Biebl biebl at debian.org
Wed Jul 17 12:23:46 BST 2019


Package: mariadb-server-10.3
Version: 1:10.3.16-1
Severity: normal

Hi,

mariadb-server ships a mariadb.service systemd unit file and a SysV init
script named /etc/init.d/mysql. To align the two names, it uses

[Install]
Alias=mysql.service

This is suboptimal, as only when the service is enabled, that symlink is
created. It would be better, if mariadb-server-10.3 ships a static symlink in package
/lib/systemd/system/mysql.service -> mariadb.service

Take network-manager as an example, where the upstream service file is
named NetworkManager.service and the init script
/etc/init.d/network-manager. It ships the following symlink:

/lib/systemd/system/network-manager.service -> NetworkManager.service

https://salsa.debian.org/utopia-team/network-manager/blob/master/debian/network-manager.links

Thanks for considering

Michael


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mariadb-server-10.3 depends on:
ii  adduser                   3.118
ii  debconf [debconf-2.0]     1.5.72
ii  galera-3                  25.3.26-1
ii  gawk                      1:4.2.1+dfsg-1.1
ii  iproute2                  5.2.0-1
ii  libc6                     2.28-10
ii  libdbi-perl               1.642-1+b1
ii  libgnutls30               3.6.8-2
ii  libpam0g                  1.3.1-5
ii  libstdc++6                9.1.0-8
ii  lsb-base                  10.2019051400
ii  lsof                      4.91+dfsg-1
ii  mariadb-client-10.3       1:10.3.16-1
ii  mariadb-common            1:10.3.16-1
ii  mariadb-server-core-10.3  1:10.3.16-1
ii  passwd                    1:4.7-2
ii  perl                      5.28.1-6
ii  psmisc                    23.2-1
ii  rsync                     3.1.3-6
ii  socat                     1.7.3.2-2
ii  zlib1g                    1:1.2.11.dfsg-1

Versions of packages mariadb-server-10.3 recommends:
ii  libhtml-template-perl  2.97-1

Versions of packages mariadb-server-10.3 suggests:
ii  bsd-mailx [mailx]  8.1.2-0.20180807cvs-1
pn  mariadb-test       <none>
ii  netcat-openbsd     1.195-2
ii  tinyca             0.7.5-6

-- Configuration Files:
/etc/logcheck/ignore.d.paranoid/mariadb-server-10_3 [Errno 13] Keine Berechtigung: '/etc/logcheck/ignore.d.paranoid/mariadb-server-10_3'
/etc/logcheck/ignore.d.server/mariadb-server-10_3 [Errno 13] Keine Berechtigung: '/etc/logcheck/ignore.d.server/mariadb-server-10_3'

-- debconf information excluded



More information about the pkg-mysql-maint mailing list