[MXS-2578] Maxscale RPM issue PCI Compliancy Created: 2019-06-26 Updated: 2020-08-25 Resolved: 2019-07-02 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Packaging |
| Affects Version/s: | 2.3.8 |
| Fix Version/s: | 2.3.9, 2.4.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Hartmut Holzgraefe | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
RPM Linux |
||
| Description |
|
We use maxscale in our environment and run into some issues about compliance. Our organization has security implemented based on the PCI-DSS security guidelines. This check verifies if the files that are in the RPM have the same permissions/ownership as when they are installed on the filesystem. You can verify this yourself by installing macxscale and running this command: When I look at the scripting the RPM does, I can see it creates the directory and then changes ownership to it, see below output from maxscale post-install-script:
When looking at the filelist from the rpm I the list end with these three directories: /var In other words, the directory itself is specified in the spec file, but not with file attributes set to 0775 and not as ownership set to maxscale. There are two ways to solve this issue: 1) Remove the directory itself from the specfile. The directory will be created in the post-install script, so no need to specify it in the spec file. If it's not mentioned in the spec file, the RPM check has nothing to match against, and thus my PCI-DSS check will proceed successfully. Will it be possible for you to apply one of these changes in upcoming maxscale releases so we can be PCI compliant the correct way. If I reset the ownership back to root maxscale won't run, so I have to leave it at maxscale ownership, on which my compliancy check fails. |