[SERVER-70426] Mock systemd package for Docker package tests Created: 10/Oct/22 Updated: 27/Oct/23 Resolved: 27/Oct/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Ryan Egesdahl (Inactive) | Assignee: | [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive) |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Server Development Platform
|
||||||||||||
| Participants: | |||||||||||||
| Description |
|
We are using Docker for our package tests, and most current distros depend on systemd being present. Depending on the distro, we might end up pulling in systemd as a hard requirement. This causes problems for package testing because systemd inside a Docker container requires specific host configuration and running docker as a privileged user. We need a way to mock the systemd package inside a Docker container (maybe create our own?) to avoid these issues. |