[MDEV-21653] test binaries my_safe_process and wsrep_check_version installed in library directory Created: 2020-02-04 Updated: 2024-02-07 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Packaging, Tests |
| Affects Version/s: | 10.4.12 |
| Fix Version/s: | 10.5 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Otto Kekäläinen | Assignee: | Tuukka Pasanen |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
While updating MariaDB 10.4.12 to Debian (after doing 10.4.6 in the summer) I came across this Lintian error (which did not yet exist in 10.4.6):
Why is this program installed in a library directory? Why not install it in /usr/bin/ as all the other MariaDB test binaries? |
| Comments |
| Comment by Otto Kekäläinen [ 2020-02-27 ] |
|
Another identical case is `arch-dependent-file-in-usr-share usr/share/mysql/mysql-test/lib/My/SafeProcess/my_safe_process` These should go to some other path, which can be multi-archified and included in the mariadb-test package (not mariadb-test-data). |
| Comment by Otto Kekäläinen [ 2020-03-03 ] |
|
I think this task is pretty small and serg already had a clear idea what to do? Just decide on the path name and make sure this file is in mariadb-test package, not mariadb-test-data which should stay data-only. |
| Comment by Otto Kekäläinen [ 2020-03-03 ] |
|
Also MDEV-21654 and placement of usr/share/mysql/mysql-test/suite/plugins/pam/pam_mariadb_mtr.so is related to the same issue. |
| Comment by Otto Kekäläinen [ 2020-03-14 ] |
|
What about installing this at /usr/lib/<ARCH>/mariadb-test/My/SafeProcess/wsrep_check_version ? |
| Comment by Otto Kekäläinen [ 2024-01-28 ] |
|
This still applies for MariaDB 10.11.6. |
| Comment by Tuukka Pasanen [ 2024-02-07 ] |
|
Is there some document what is correct location of libexec in Debian as should helper apps and scripts be in /usr/lib/<ARCH>/mariadb-test/My/SafeProcess/wsrep_check_version? But correct is that /usr/share is not the place for them. |