[MXS-2933] installing Maxscale RPM makes home directory belong to root Created: 2020-03-16 Updated: 2020-04-01 Resolved: 2020-04-01 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Packaging |
| Affects Version/s: | 2.5 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Timofey Turenko | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Centos 8 |
||
| Sprint: | MXS-SPRINT-103 |
| Description |
|
1. build RPM drwx------. 8 vagrant vagrant 192 Mar 16 22:35 vagrant 3. install rpm: 4. check home directory |
| Comments |
| Comment by Timofey Turenko [ 2020-03-16 ] |
|
it breaks 'develop' build - after building and installing package, create_repo script fails due to permission denied error: + ssh -i /home/vagrant/vms/centos_8_libvirt-build-106/.vagrant/machines/build/libvirt/private_key -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ConnectTimeout=120 vagrant@192.168.121.133 'rm -rf dest; rm -rf src;' |
| Comment by markus makela [ 2020-03-30 ] |
|
Looks like the problem is the INSTALL_COMMAND line in the BuildHiredis.cmake file. Changing it so that the install step is skipped and the build step results are used as-is solves it but understanding why this happens would still be good. |