[MDEV-12806] Hard link /sbin/mysqld - CentOS 7 RPM Created: 2017-05-15  Updated: 2017-05-25  Resolved: 2017-05-25

Status: Closed
Project: MariaDB Server
Component/s: Packaging
Affects Version/s: 10.1.23
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: Francisco Biete Assignee: Sergei Golubchik
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

CentOS 7
MariaDB-server



 Description   

MariaDB-server RPM creates a hard link in /sbin/mysqld to /usr/sbin/mysqld.

Since the rest of the files are created with the install prefix /usr and systemd script are invoking /usr/sbin/mysqld, we don't need that hard link.



 Comments   
Comment by Francisco Biete [ 2017-05-25 ]

Close this, as is not a MariaDB packaging bug/problem.

RHEL7 - MIgration Planning Guide - File System Layout

Red Hat Enterprise Linux 7 moves the /bin, /sbin, /lib and /lib64 directories into /usr
...
To lessen the impact of this change, the previous /bin directory is now a symbolic link to /usr/bin, /sbin to /usr/sbin, and so on.

So, I cannot calculate the mysql basedir, in ansible playbooks, as the parent folder of mysqld binary anymore...

Generated at Thu Feb 08 08:00:37 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.