-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patching the appliance overwrites updated configuration files #105
Comments
@Fryguy @bdunne What would be the appropriate setting to use for this? We can set either:
The latter will keep the user's edits in place, so users won't lose any custom settings by default. But, if we have some critical updates, that will be missed. Either way, users will need to compare the config files and make edits as needed. But I'm not sure which should be the default behavior for httpd config files. |
I thought we went with an approach where our config is in a dedicated file, but the user can create their own separate file for overrides? |
I'm not sure if Either I'm not setting things correctly, or you can't override it... Regardless, I think it's wrong to delete the edited file on update, and I think it makes sense to use |
@bdunne Thoughts here? |
I'd be interested to know what people are changing in that file. Maybe https://github.com/ManageIQ/manageiq-appliance/blob/945e128e7ac95a1767549edb24705866237dfd5b/COPY/etc/httpd/conf.d/manageiq-https-application.conf#L22 ? I know different organizations allow different SSL protocols, maybe we can be more restrictive and change our default to eliminate this issue. If not, I think |
I think SSL protocol was the reason for editing the file. Maybe we should do both (make the default conf to be more restrictive as well as setting the file attr properly in rpm)?
That was the reason I thought |
Original BZ: 1886422
Description of problem:
Properly configured configuration files should be created as .rpmnew files when the live file has been altered. Specifically, /etc/httpd/manageiq-https-appliance.conf gets replaced every time CFME is updated.
Version-Release number of selected component (if applicable):
5.11.x
How reproducible:
Always
Steps to Reproduce:
Actual results:
File is overwritten
Expected results:
modified file should remain intact
This issue was moved to this repository from ManageIQ/manageiq#20673, originally opened by @dmetzger57
The text was updated successfully, but these errors were encountered: