-
Notifications
You must be signed in to change notification settings - Fork 12
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
Mark /etc/ccm.conf as noreplace #69
Conversation
Existing configurations may be lost. According to http://www.mojohaus.org/rpm-maven-plugin/map-params.html this value should mark noreplace explicitly.
Given that the docs say the old value should work, and it worked correctly in previous releases, do we understand the root cause here? |
@Piojo and how many other repos need this fix? |
I agree with @ned21 : the |
15.8_rc3 rpms overwrite the |
If your change fixes the problem, I am fine. But the description at the URL you mentioned suggests that this should be what happens with the |
@guillaume-philippon mentioned 15.8_rc3 overwrites this file. I haven't validated the change - I don't have a host with Maven and RPM at this moment. I'd appreciate if somebody could build it, and then validate that the old file is kept. |
@Piojo we can probably do it at LAL as we reported the problem! But the question remains why the problem appeared as the pom file should be ok with the current value... |
@stdweird , I'd review rpm -qc --qf '%{filenames}: %{fileflags}\n' cdp-listend ncm-ncd ncm-cdispd And then, those files should show |
@Piojo aii also has config files i think |
Before modifying things, I insist that we need to understand the problem. Based on the first investigation, this is a bug in the Maven plugin that doesn't set properly the |
I rebuild the CCM RPM on one of our machine and reproduced the problem. Thus the Maven plugin seems the culprit: I'll try to report it to RPM plugin module. In the meantime, I confirm that the change proposed by Stijn works around the problem (at the expense of properly handling config files only with RPM conversely to the |
Issue opened against Maven RPM plugin: mojohaus/rpm-maven-plugin#19. |
In fact, looking in more details at the Mojo RPM plugin site, it seems the last release is 2.1.4 (less than one month ago) when we are using 2.1-alpha1 according to Maven output which is pretty old... The problem may be on our side then... I'm trying to investigate. |
After more investigation, we found that the value used to be |
@jouvin thanks for figuring this out and my apologies for making the mistake |
Just for the record, RPM maven plugin maintainer answered that |
Existing configurations may be lost. According to http://www.mojohaus.org/rpm-maven-plugin/map-params.html this value should mark noreplace explicitly.