[SERVER-55460] Fix RPM packaging and testing for SLES 12 Created: 23/Mar/21 Updated: 29/Oct/23 Resolved: 05/Apr/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Packaging |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.25, 4.2.15, 4.4.7, 5.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Brian McCarthy | Assignee: | Ryan Egesdahl (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v4.4, v4.2, v4.0
|
||||||||||||
| Sprint: | Dev Platform 2021-04-05, Dev Platform 2021-04-19 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 56 | ||||||||||||
| Description |
|
Changes to SLES 12 (and apparently SLES 15) have moved some important files around and have broken our efforts to make relocatable RPMs. Specifically, the ${_sharedstatedir RPM macro appears to be defined incorrectly on the platforms, and the systemd unit files have been moved to /usr/lib/systemd for some reason. These problems were breaking both the RPM installation and the package tests. Additionally, the install_compass script now checks the distro it's running on and reports and error if it's not compatible. Before that change, we simply checked on SLES that the error code from attempting to run the script was non-zero - and it was, since we were not even installing the tool. The tests now verify the presence of the message, so we need to install the tools-extra package during package testing from now on. |
| Comments |
| Comment by Githook User [ 07/Jul/21 ] |
|
Author: {'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}Message:
(cherry picked from commit 9719315b5a0eb5a954bc3b68e0ea7cad65b63ee2) |
| Comment by Githook User [ 07/Jul/21 ] |
|
Author: {'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}Message:
|
| Comment by Githook User [ 10/May/21 ] |
|
Author: {'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}Message: Some versions of SLES apparently don't define the _sharedstatedir RPM Also fixed were paths to systemd unit files in package testing and the (cherry picked from commit 649dc04027667b30155be39be39a880cb0b8743a) |
| Comment by Githook User [ 10/May/21 ] |
|
Author: {'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}Message: Some versions of SLES apparently don't define the _sharedstatedir RPM Also fixed were paths to systemd unit files in package testing and the (cherry picked from commit 649dc04027667b30155be39be39a880cb0b8743a) |
| Comment by Githook User [ 10/May/21 ] |
|
Author: {'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}Message: Some versions of SLES apparently don't define the _sharedstatedir RPM Also fixed were paths to systemd unit files in package testing and the (cherry picked from commit 649dc04027667b30155be39be39a880cb0b8743a) |
| Comment by Githook User [ 05/Apr/21 ] |
|
Author: {'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}Message: Some versions of SLES apparently don't define the _sharedstatedir RPM Also fixed were paths to systemd unit files in package testing and the |