[MXS-4890] Directories should be in package file list, not created by post-install hook Created: 2023-12-11 Updated: 2024-01-02 Resolved: 2024-01-02 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Packaging |
| Affects Version/s: | None |
| Fix Version/s: | 24.02.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Hartmut Holzgraefe | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux - RPMs (probably .deb packages, too) |
||
| Sprint: | MXS-SPRINT-198, MXS-SPRINT-199 |
| Description |
|
Directories like /etc/maxscale.cnf.d are not seen in RPM file lists, they are not created via the RPM package itself (via CMake / CPack INSTALL(DIRECTORY ...) but generated by explicit mkdir instructions in the post-install hook script. That way they don't show up in rpm -ql list output, and it is not possible to find out what package they actually belong to via e.g. rpm -qf /etc/maxscale.cnf.d. Also it's not possible to have rpm --setguids maxscale fix any permission issues on them, etc ... Fix: use INSTALL(DIRECTORY ...) to create directories like the MariaDB-server RPM does. |
| Comments |
| Comment by markus makela [ 2023-12-11 ] |
|
Is the Fix Version supposed to be the Affected Version? |