-
Type: Task
-
Resolution: Works as Designed
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
This change makes it possible now to relocate the installation paths of the installed RPMs using the --relocate argument. For example, to relocate the installation to opt, you would use the following arguments:
rpm --relocate /usr=/opt --relocate /var=/opt/var --relocate /etc=/opt/etc --noscripts mongodb-enterprise-server.rpm
This is true for all of the RPMs produced by the main mongodb repository, but it does not yet affect the mongodb-tools RPM, nor does it affect Compass installation paths. This change is intended to make it possible for an experienced administrator to either install a second server or install into a container root directory. The --noscripts argument is required for installation to complete, and the administrator will need to do extra work to configure and start the server.
This is not a recommended procedure unless you really know what you're doing and why you're doing it. It's also completely untested (and essentially untestable given our current setup), so this is definitely "do at your own risk" territory.
Description of Linked Ticket
Currently, users installing multiple versions of MongDB via RPM package on the same server using "--prefix <p>" still results in files being deployed to common locations.
Adding the installation prefix to the right parts of the RPM should be a fairly mechanical fix to address this.
Scope of changes
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- documents
-
SERVER-52610 Verify installation prefix is added to correct location in the RPM
- Closed